qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey_Zhemzhit...@troika.ru
Subject Re: Difference between subjects and routing keys
Date Wed, 26 Jan 2011 06:45:03 GMT
Ted thanks a lot.

As far as I understand 'subject' is more preferable to use, because there 
are no routing keys in the AMQP 1.0. There are filters instead. Am I 

Best Regards,
Sergey Zhemzhitsky

Ted Ross <tross@redhat.com> 
25.01.2011 22:20
Please respond to


Re: Difference between subjects and routing keys

On 01/25/2011 11:08 AM, Sergey_Zhemzhitsky@troika.ru wrote:
> Hi there,
> According to following link

> subjects can be used to direct messages to different destinations. 
> and binding keys can used for the same purpose. So what is the 
> between subjects and routing keys?
> Best Regards,
> Sergey

They are overlapping concepts, 'subject' being the more general of the 
two.  A subject is part of the address used in the new API and is also a 
header in the message envelope.  The routing-key is specific to the AMQP 
0-10 specification.

The new API is intended to support existing AMQP protocol versions as 
well as AMQP 1.0.  The mapping of the API to AMQP 0-10 sets the routing 
key of a message to the subject value.  If there is no subject, it uses 
the subject part of the Sender address.


Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message