On 09/05/2011 10:27 AM, Jakub Scholz wrote:
I believe the message contains some property
describing the originating exchange. I assume the exchange query may
be sent when parsing this property, since that is the only one linking
to exchange X.

You are right. There is an exchange property in the headers and the library does use this to create a Destination object. To do that it needs to know the exchange type and issues a query if it does not. It does cache that information however, so should not query for every message (assuming the same exchange name).

That doesn't match what you are seeing? What version of the client are you using?

There was a similar sounding issue with reply-to, but that was based on a different cache from the one used here. I can't see anything in code at present that looks obviously wrong, and in my tests there is only one query even for several messages.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to