Universal Messaging 10.5 | Concepts | AMQP | AMQP Guide | Appendix B: AMQP Messages to Universal Messaging message mappings
 
Appendix B: AMQP Messages to Universal Messaging message mappings
AMQP Transfer Header
UM Header
AMQP Type
Java Type
UM 9.9
UM 9.10
UM 9.12+
durable
nPublished.isPersistent
boolean
boolean
(tick)
(tick)
(tick)
priority
nHeader.Priority
ubyte (Default: 4)
byte
(tick)
(tick)
(tick)
ttl
nHeader.TTL
milliseconds (uint)
long
(tick)
(tick)
(tick)
first-acquirer
nEventProperties.JMS_AMQP_FirstAcquirer
boolean
boolean
(tick)
(tick)
(tick)
delivery-count
nHeader.RedeliveredCount
uint (Default: 0)
long
(tick)
(tick)
(tick)
AMQP Delivery Annotation
UM Header Key
AMQP Key/Value Type
Java Key/Value Type
UM 9.9
UM 9.10
UM 9.12+
SomeDeliveryAnnotation
JMS_AMQP_DA_<AMQP_SYMBOL_NAME(SomeDeliveryAnnotation)>
AMQP Symbol / AMQP Value
String / nEventProperties Value
(tick)
(tick)
(tick)
AMQP Message Annotation
UM Header Key
AMQP Key/Value Type
Java Key/Value Type
UM 9.9
UM 9.10
UM 9.12+
SomeMessageAnnotation
JMS_AMQP_MA_<AMQP SYMBOL_NAME(SomeMessageAnnotation)>
AMQP Symbol / AMQP Value
String / nEventProperties Value
x-opt-jms-msg-type
JMS_AMQP_MA_x-opt-jms-msg-type
x-opt-jms-msg-type / AMQP byte
String / byte (nHeader.MessageType)
(tick)
(tick)
(tick)
x-opt-jms-dest
JMS_AMQP_MA_x-opt-jms-dest
x-opt-jms-dest / AMQP String
String / byte[] (nHeader.Type)
(tick)
(tick)
(tick)
x-opt-reply-type
JMS_AMQP_MA_x-opt-reply-type
x-opt-reply-type / AMQP byte
String / byte (nHeader.ReplyType)
(tick)
(tick)
(tick)
AMQP Standard Property
UM Header Mapping
AMQP Type
AMQP Type
UM 9.9
UM 9.10
UM 9.12+
message-id
nHeader.MessageId
AMQP String
byte[]
(tick)
(tick)
(tick)
user-id
nHeader.UserId
AMQP Binary
byte[]
(tick)
(tick)
(tick)
to
nHeader.Destination
AMQP String
byte[]
(tick)
(tick)
(tick)
subject
nHeader.Type
AMQP String
String
(tick)
(tick)
(tick)
reply-to
nHeader.ReplyToName
AMQP String
byte[]
(tick)
(tick)
(tick)
correlation-id
nHeader.CorrelationId
AMQP Value
byte[]
(tick)
(tick)
(tick)
content-type
nEventProperties.JMS_AMQP_CONTENT_TYPE
AMQP Symbol
String
(tick)
(tick)
(tick)
content-encoding
nEventProperties.JMS_AMQP_CONTENT_ENCODING
AMQP Symbol
String
(tick)
(tick)
(tick)
absolute-expiry-time
N/A
AMQP Date
long
(error)
(error)
(error)
creation-time
nHeader.Timestamp
AMQP Date
long
(tick)
(tick)
(tick)
group-id
nEventProperties.JMSXGroupID
AMQP String
String
(tick)
(tick)
(tick)
group-sequence
nEventProperties.JMS_AMQP_GROUP_SEQUENCE
AMQP uint
int
(tick)
(tick)
(tick)
reply-to-group-id
nEventPropties.JMS_AMQP_ReplyToGroupID
AMQP String
String
(tick)
(tick)
(tick)
AMQP Application Properties
UM Dictionary Key
AMQP Key/Value Type
Java Key/Value Type
UM 9.9
UM 9.10
UM 9.12+
MAP < STRING, SIMPLE VALUE >
AMQP String / AMQP Value
String / nEventProperties Value
(tick)
(tick)
(tick)
example_application_key1
example_application_key1
AMQP String / AMQP Value
String / nEventProperties Value
(tick)
(tick)
(tick)
UM nHeader.MessageType
UM Dictionary Key (transformed)
AMQP Type
Java Value
UM 9.9
UM 9.10
UM 9.12+
JMS_BASE_MESSAGE_TYPE
AMQP_Type
ubyte
0
(tick)
(tick)
(tick)
JMS_MAP_MESSAGE_TYPE
AMQP_Type
ubyte
1
(tick)
(tick)
(tick)
JMS_BYTES_MESSAGE_TYPE
AMQP_Type
ubyte
2
(tick)
(tick)
(tick)
JMS_OBJECT_MESSAGE_TYPE
AMQP_Type
ubyte
3
(tick)
(tick)
(tick)
JMS_STREAM_MESSAGE_TYPE
AMQP_Type
ubyte
4
(tick)
(tick)
(tick)
JMS_TEXT_MESSAGE_TYPE
AMQP_Type
ubyte
5
(tick)
(tick)
(tick)
UM AMQP Transformation Constant
UM Dictionary Key (transformed)
AMQP Type
Java Value
UM 9.9
UM 9.10
UM 9.12+
sAMQPData
AMQP_Type
N/A
0
(tick)
(tick)
(tick)
sAMQPValue
AMQP_Type
N/A
1
(tick)
(tick)
(tick)
sAMQPList
AMQP_Type
N/A
2
(tick)
(tick)
(tick)
sAMQPEmpty
AMQP_Type
N/A
3
(tick)
(tick)
(tick)
sAMQPUnknown
AMQP_Type
N/A
-1
(tick)
(tick)
(tick)
x-opt-jms-msg-type Message Annotation
AMQP Body
UM Stamping
UM payload
UM 9.9
UM 9.10
UM 9.12+
JMS_BASE_MESSAGE_TYPE
Any
AMQP_Type=sAMQPEmpty
byte[0]
(tick)
(tick)
(tick)
JMS_BYTES_MESSAGE_TYPE
null
byte[0]
(tick)
(tick)
(tick)
JMS_BYTES_MESSAGE_TYPE
Data
AMQP_Type=sAMQPData
Binary.Array
(tick)
(tick)
(tick)
JMS_BYTES_MESSAGE_TYPE
AMQP Value <Binary>
AMQP_Type=sAMQPValue
Binary.Array
(tick)
(tick)
(tick)
JMS_TEXT_MESSAGE_TYPE
null
byte[0]
(tick)
(tick)
(tick)
JMS_TEXT_MESSAGE_TYPE
Data
AMQP_Type=sAMQPData
Binary.Array (UTF-8)
(tick)
(tick)
(tick)
JMS_TEXT_MESSAGE_TYPE
AMQP Value <Binary>
AMQP_Type=sAMQPValue
Binary.Array (UTF-8)
(tick)
(tick)
(tick)
JMS_OBJECT_MESSAGE_TYPE
null
AMQP_Type=sAMQPData
byte[0]
(tick)
(tick)
(tick)
JMS_OBJECT_MESSAGE_TYPE
Data
AMQP_Type=sAMQPData
Binary.Array
(tick)
(tick)
(tick)
JMS_STREAM_MESSAGE_TYPE
null
byte[0]
(tick)
(tick)
(tick)
JMS_STREAM_MESSAGE_TYPE
AMQP Value <List>
AMQP_Type=sAMQPValue
byte[](Serialized Vector<Binary>)
(tick)
(tick)
(tick)
JMS_STREAM_MESSAGE_TYPE
AMQP Sequence
AMQP_Type=sAMQPList
byte[](Serialized Vector<Binary>)
(tick)
(tick)
(tick)
JMS_MAP_MESSAGE_TYPE
null
byte[0]
(tick)
(tick)
(tick)
JMS_MAP_MESSAGE_TYPE
AMQP Value <Map>
AMQP_Type=sAMQPValue
byte[](Externalized fEventDictionary)
(tick)
(tick)
(tick)
AMQP Message Property
AMQP Body
UM nHeader.MessageType
UM payload
UM 9.9
UM 9.10
UM 9.12+
content-type
text/plain
null
JMS_TEXT_MESSAGE_TYPE
byte[0]
(tick)
(tick)
(tick)
application/x-java-serialized-object
null
JMS_OBJECT_MESSAGE_TYPE
byte[0]
(tick)
(tick)
(tick)
application/octet-stream
null
JMS_BYTES_MESSAGE_TYPE
byte[0]
(tick)
(tick)
(tick)
null or other
null
JMS_BASE_MESSAGE_TYPE
byte[0]
(tick)
(tick)
(tick)
text/plain
Data
JMS_TEXT_MESSAGE_TYPE
Binary.Array(UTF-8)
(tick)
(tick)
(tick)
application/x-java-serialized-object
Data
JMS_OBJECT_MESSAGE_TYPE
Binary.Array
(tick)
(tick)
(tick)
application/octet-stream or null
Data
JMS_BYTES_MESSAGE_TYPE
Binary.Array
(tick)
(tick)
(tick)
other
Data
JMS_BYTES_MESSAGE_TYPE
Binary.Array
(tick)
(tick)
(tick)
AMQP Value <Type> body
null
AMQP Value <null>
JMS_BASE_MESSAGE_TYPE
byte[0]
(tick)
(tick)
(tick)
String
AMQP Value <String>
JMS_TEXT_MESSAGE_TYPE
Binary.Array (UTF-8)
(tick)
(tick)
(tick)
Binary
AMQP Value <Binary>
JMS_BYTES_MESSAGE_TYPE
Binary.Array
(tick)
(tick)
(tick)
List
AMQP Value <List>
JMS_STREAM_MESSAGE_TYPE
byte[](Serialized Vector<Binary>)
(tick)
(tick)
(tick)
Map
AMQP Value <Map>
JMS_MAP_MESSAGE_TYPE
byte[](Externalized fEventDictionary)
(tick)
(tick)
(tick)
other
AMQP Value <Object>
JMS_OBJECT_MESSAGE_TYPE
Binary.Array
(tick)
(tick)
(tick)
AMQP Sequence <Object> body
Binary
AMQP Sequence<Binary>
JMS_OBJECT_MESSAGE_TYPE
Binary.Array
(tick)
(tick)
(tick)
JMS_BASE_MESSAGE_TYPE
sAMQPEmpty or sAMQPUnknown or sAMQPData
Data(byte[0])
(tick)
(tick)
(tick)
JMS_BASE_MESSAGE_TYPE
sAMQPValue
AMQPValue(null)
(tick)
(tick)
(tick)
JMS_BASE_MESSAGE_TYPE
sAMQPList
(error)
(error)
(error)
JMS_MAP_MESSAGE_TYPE
sAMQPEmpty
Data(byte[0])
(tick)
(tick)
(tick)
JMS_MAP_MESSAGE_TYPE
sAMQPValue or sAMQPUnknown
AMQPValue<Map> (from byte[](Externalized fEventDictionary)
(tick)
(tick)
(tick)
JMS_MAP_MESSAGE_TYPE
sAMQPList or sAMQPData
(error)
(error)
(error)
JMS_BYTES_MESSAGE_TYPE
sAMQPEmpty
Data(byte[0])
(tick)
(tick)
(tick)
JMS_BYTES_MESSAGE_TYPE
sAMQPData orsAMQPUnknown
Data(Binary(byte[])) (from UM native payload)
(tick)
(tick)
(tick)
JMS_BYTES_MESSAGE_TYPE
sAMQPValue
AMQPValue(Binary(byte[])) (from UM native payload)
(tick)
(tick)
(tick)
JMS_BYTES_MESSAGE_TYPE
sAMQPList
(error)
(error)
(error)
JMS_OBJECT_MESSAGE_TYPE
sAMQPEmpty
Data(byte[0])
(tick)
(tick)
(tick)
JMS_OBJECT_MESSAGE_TYPE
sAMQPData orsAMQPUnknown
Data(Binary(byte[])) (from UM native payload)
(tick)
(tick)
(tick)
JMS_OBJECT_MESSAGE_TYPE
sAMQPList or sAMQPValue
(error)
(error)
(error)
JMS_STREAM_MESSAGE_TYPE
sAMQPEmpty
Data(byte[0])
(tick)
(tick)
(tick)
JMS_STREAM_MESSAGE_TYPE
sAMQPList
AMQPSequence<Vector> (byte[](Serialized Vector<Binary>)
(tick)
(tick)
(tick)
JMS_STREAM_MESSAGE_TYPE
sAMQPValue or sAMQPUnknown
AMQPValue<Vector> (byte[](Serialized Vector<Binary>)
(tick)
(tick)
(tick)
JMS_STREAM_MESSAGE_TYPE
sAMQPData
(error)
(error)
(error)
JMS_TEXT_MESSAGE_TYPE
sAMQPEmpty
Data(byte[0])
(tick)
(tick)
(tick)
JMS_TEXT_MESSAGE_TYPE
sAMQPData
Data(Binary(byte[])) (from UM native payload)
(tick)
(tick)
(tick)
JMS_TEXT_MESSAGE_TYPE
sAMQPValue orsAMQPUnknown
AMQPValue<String> (from UM native payload)
(tick)
(tick)
(tick)
JMS_TEXT_MESSAGE_TYPE
sAMQPList
(error)
(error)
(error)
AMQP Message Footer
UM Sub Dictionary Key
AMQP Key/Value Type
Java Key/Value Type
UM 9.9
UM 9.10
UM 9.12+
MAP < SYMBOL, VALUE >
Footer
AMQP Symbol / AMQP Value
String / nEventProperties Value
(tick)
(tick)
(tick)
example_footer_key1
Footer.example_footer_key1
AMQP Symbol / AMQP Value
String / nEventProperties Value
(tick)
(tick)
(tick)