Jakarta Messaging Header Fields
EMS supports the predefined Jakarta Messaging header fields. For more information, see Jakarta Messaging Message Header Fields.
Import
When translating an incoming Pulsar message into an EMS message, the EMS server searches the Pulsar message’s properties for any keys matching Jakarta Messaging header field names. Each matching property’s key/value is used to set the corresponding Jakarta Messaging header field in the translated EMS message.
If the incoming Pulsar message does not contain a property with key
JMSTimestamp
, the EMS server will set the translated EMS message’sJMSTimestamp
to the current time.The
JMSReplyTo
Jakarta Messaging header is never set in the translated EMS message.
Export
The EMS server converts each Jakarta Messaging header field and its value into a key/value pair (all header field values are converted to strings) and sets them as properties in the outgoing Pulsar message.