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