THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
AMQP 0-x | AMQP 1.0 | comments | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
content type | body section | body data type | annotation x-opt-jms-msg-type | content-type | ||||||
content types listed as "common textual media types" in section 3.3.7 (Body Sections) of AMQP JMS Mapping specification (WD9) | amqp-value | string | 5 (TextMessage) | copied verbatim | if body is empty the amqp-value will contain the encoded an empty string | |||||
jms/map-message or amqp/map | amqp-value | map | 2 (MapMessage) | null | if body is empty the amqp-value will contain an empty map. Maps whose values fall outside the JMS restrictions must go without the annotation | |||||
amqp/map | amqp-value | map | 2 (MapMessage) | null | ||||||
jms/stream-message or amqp/list | amqp-sequence | values | 4 (StreamMessage) | null | if body is empty the amqp-sequence will be empty. List with items Maps with membersthat fall outside the JMS restrictions must go without the annotation | |||||
amqp/list | amqp-sequence | values | 4 (StreamMessage) | null | ||||||
application/java-object-stream | data-section | binary | 1 (ObjectMessage) | or application/x-java-serialized-object | application/x-java-serialized-object | data-section | binary | 1 (ObjectMessage) | application/x-java-serialized-object | |
application/octet-stream | data-section | binary | 3 (BytesMessage) | application/octet-stream | ||||||
other with body | data-section | binary | null | copied verbatim | ||||||
none with body | data-section | binary | null | null | ||||||
other without body | data-section | empty binary | null | copied verbatim | ||||||
none without body | amqp-value | null | 0 (Message) | null |
...
Internal | AMQP 1.0 | comments | ||||
---|---|---|---|---|---|---|
content type | body | body section | body data type | annotation x-opt-jms-msg-type | content-type | |
any | String | amqp-value | string | 5 (TextMessage) | copied verbatim if not null, otherwise text/plain | if body is empty the amqp-value will contain the encoded an empty string |
any | List | amqp-sequence | values | 4 (StreamMessage) | null | Lists with members that fall outside the JMS restrictions must go without the annotation |
any | byte[] | data-section | binary | 3 (BytesMessage) | copied verbatim if not null, otherwise application/octet-stream | |
any | Map | amqp-value | map | 2 (MapMessage) | null | Maps whose values fall outside the JMS restrictions must go without the annotation |
any | See comment | amqp-value | value | null | copied verbatim | For all Java types that are expressible with AMQP 1.0 primitive types (eg. Java Date as AMQP 1.0 Timestamp). |
any | Serializable | data-section | binary | 1 (ObjectMessage) | application/x-java-serialized-object | In the implementation, Serializable needs to be considered after the other non-null bodies. |
other | null | amqp-value | null | copied verbatim |
...
AMQP 0-x | Internal Message | comments | |
---|---|---|---|
content type | body object | content-type | |
content types listed as "common textual media types" in section 3.3.7 (Body Sections) of AMQP JMS Mapping specification (WD9) | String | copied verbatim | if body is empty the body object is null.will contain an empty String |
jms/map-message | Map | null | if body is empty, the body object will contain an empty mapMap |
amqp/map | Map | null | if body is empty, the body object will contain an empty mapMap |
jms/stream-message | List | null | if body is empty, the body object will contain an empty listList |
amqp/list | List | null | if body is empty, the body object will contain an empty listList |
application/java-object-stream | byte[] | application/x-java-serialized-object | if body is empty, the body object will contain an empty byte array |
application/x-java-serialized-object | byte[] | application/x-java-serialized-object | if body is empty, the body object will contain an empty byte array |
application/octet-stream | byte[] | application/octet-stream | if body is empty, the body object will contain an empty byte array |
other with body | byte[] or null | copied verbatim | if body is empty, the body object will be set to null |
none with body | byte[] or null | null | |
other without body | null | copied verbatim | |
none without body | null | null | if body is empty, the body object will be set to null |
Conversion issues
This section summarises existing conversion issues
...