Class ContentTypes

java.lang.Object
com.mayam.wf.mq.common.ContentTypes

public class ContentTypes extends Object
Well known content types used within Mayam Tasks and associated tools. The content type describes the format of the message body rather than the purpose of the message itself. A property-only message having an empty body does not get a declared content type.
Author:
Markus MÃ¥rtensson
  • Field Details

    • ATTRIBUTES

      public static final MqContentType ATTRIBUTES
      Describes a message body containing a single map of attributes representing a task or asset. In MqMessage form, the AttributeMap is reachable through the MqMessage.getSubject() method.
    • ATTRIBUTE_PAIRS

      public static final MqContentType ATTRIBUTE_PAIRS
      Describes a message body containing a two maps of attributes, a before and after representation of a task or asset. In MqMessage form, both AttributeMap objects are reachable through the MqMessage.getSubjectPair() method. The after representation is also available through the MqMessage.getSubject() method, allowing code to be support both ATTRIBUTES and ATTRIBUTE_PAIRS.
    • BULK_OPERATIONS

      public static final MqContentType BULK_OPERATIONS
      Operations having been performed in bulk.
    • SEGMENTS

      public static final MqContentType SEGMENTS
      Describes changes to the segmentation of an asset within the MAM. In MqMessage form, the SegmentList is reachable through the MqMessage.getSegmentList() method.
    • EMAIL

      public static final MqContentType EMAIL
      Describes an email being sent to MQ queue to be picked up by Mule and mailed
    • SYNC_VERSION

      public static final MqContentType SYNC_VERSION
    • SYNC_ALL_SCHEDULES

      public static final MqContentType SYNC_ALL_SCHEDULES