[rabbitmq-discuss] Use of com.rabbitmq.client.AMQP.BasicProperties#Type

Matthias Radestock matthias at rabbitmq.com
Wed May 7 10:46:43 BST 2014


On 07/05/14 10:38, Gerald Preissler wrote:
> can anyone clarify the use of the attribute
> com.rabbitmq.client.AMQP.BasicProperties#Type ? Is an application free
> to use this attribute to define application-specific message types and
> will these types be propagated along with the message to the message
> consumer?

 From http://www.rabbitmq.com/resources/specs/amqp0-9-1.xml

     <!--  For application use, no formal behaviour -->
     <field name = "type"            domain = "shortstr"   label = 
"message type name" />

The RabbitMQ server passes along content properties unaltered.

Matthias.


More information about the rabbitmq-discuss mailing list