Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

AMQP 0-xAMQP 1.0comments
content typebody sectionbody data typeannotation x-opt-jms-msg-typecontent-type
content types listed as "common textual media types" in section 3.3.7 (Body Sections) of AMQP JMS Mapping specification (WD9)amqp-valuestring5 (TextMessage)copied verbatimif body is empty the amqp-value will contain the encoded empty string
jms/map-messageamqp-valuemap2 (MapMessage)nullMaps whose values fall outside the JMS restrictions must go without the annotation
amqp/mapamqp-valuemap2 (MapMessage)null 
jms/stream-messageamqp-sequencevalues4 (StreamMessage)nullMaps with members that fall outside the JMS restrictions must go without the annotation
amqp/listamqp-sequencevalues4 (StreamMessage)null 
application/java-object-streamdata-sectionbinary1 (ObjectMessage)application/x-java-serialized-object 
application/x-java-serialized-objectdata-sectionbinary1 (ObjectMessage)application/x-java-serialized-object 
application/octet-streamdata-sectionbinary3 (BytesMessage)application/octet-stream 
other with bodydata-sectionbinarynullcopied verbatim 
none with bodydata-sectionbinarynullnull 
other without bodydata-sectionempty binarynullcopied verbatim 
none without bodyamqp-valuenull0 (Message)null 

 

Internal to AMQP 1.0

InternalAMQP 1.0comments
content typebodybody sectionbody data typeannotation x-opt-jms-msg-typecontent-type
anyStringamqp-valuestring5 (TextMessage)copied verbatim if not null, otherwise text/plainif body is empty the amqp-value will contain the encoded empty string
anyListamqp-sequencevalues4 (StreamMessage)nullLists with members that fall outside the JMS restrictions must go without the annotation
anybyte[]data-sectionbinary3 (BytesMessage)copied verbatim if not null, otherwise application/octet-stream 
anyMapamqp-valuemap2 (MapMessage)nullMaps whose values fall outside the JMS restrictions must go without the annotation
anySee commentamqp-valuevaluenullcopied verbatimFor all Java types that are expressible with AMQP 1.0 primitive types (eg. Java Date as AMQP 1.0 Timestamp).
anySerializabledata-sectionbinary1 (ObjectMessage)application/x-java-serialized-objectIn the implementation, Serializable needs to be considered after the other non-null bodies.
othernullamqp-valuenull copied verbatim 

Conversion issues

This section summarises existing conversion issues

...

The approaches above can be configured on broker or virtual host using context variables.
Closing the connections should be a default behaviour.

 

 

 

nonenullamqp-valuenull0 (Message)copied verbatim