+

Search Tips   |   Advanced Search

JMS headers

Support is provided by the SIMessage interface and the mediation configuration selector for JMS headers properties. JMS headers properties match in the SIMessage interface in the same way as they do for the JMS API, but we can only modify properties that map to SIMessage metadata.

The method getMessageProperty() method supports all of these properties.

The methods setMessageProperty() and deleteMessageProperty() only support JMSType.

The method clearMessageProperties() only clears JMSType.

Property name Can be matched? Can be modified? Data type Comments
JMSDestination No Indirectly Byte array getMessageProperty() returns opaque byte array.
JMSDeliveryMode Yes Yes, using setReliability. String String value, as for JMS.
JMSMessageID Yes Yes, using setMessageID. String Equivalent to SI_MessageID.
JMSTimestamp Yes No Long
JMSExpiration Yes Indirectly, using setTimeToLive or setRemainingTimeToLive. Long
JMSRedelivered Yes No Boolean
JMSPriority Yes Yes, using setPriority. Integer Equivalent to SI_Priority.
JMSReplyTo No Indirectly Byte array getMessageProperty() returns opaque byte array.
JMSCorrelationID Yes Yes, using setCorrelationId. String Equivalent to SI_CorrelationID.
JMSType Yes Yes, using setMessageProperty(). String