Interface OutboxMessage

All Superinterfaces:
com.sap.cds.CdsData, com.sap.cds.JSONizable, Map<String,Object>

public interface OutboxMessage extends com.sap.cds.CdsData
Represents the default structure of a message stored in the outbox and handled generically. Additional information can be freely added to the underlying Map structure.
  • Field Details

  • Method Details

    • create

      static OutboxMessage create()
      Creates a new OutboxMessage
      Returns:
      the OutboxMessage
    • getEvent

      String getEvent()
      Returns:
      the original event stored in the outbox
    • setEvent

      void setEvent(String event)
      Sets the original event, to be stored in the outbox
      Parameters:
      event - the event
    • getParams

      Map<String,Object> getParams()
      Returns:
      the event context parameters of the original event
    • setParams

      void setParams(Map<String,Object> data)
      Sets the event context parameters of the original event
      Parameters:
      data - the context parameters