[ 
https://issues.apache.org/jira/browse/QPID-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670546#action_12670546
 ] 

Rajith Attapattu commented on QPID-1644:
----------------------------------------

Yes it does send an exchange declare all the time.  But the broker should 
ignore if it is already declared.
However if we are using the standard exchanges like amq.direct, amq.topic..etc 
then it's a waste to send that extra command for no reason (besides as per the 
spec it is not even permitted).
I have a simple patch that will prevent this.

> The client should not declare any exchanges starting with "amq."
> ----------------------------------------------------------------
>
>                 Key: QPID-1644
>                 URL: https://issues.apache.org/jira/browse/QPID-1644
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M4
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>             Fix For: M5
>
>
> Currently the JMS client will send a exchange.declare command even if the 
> exchange name starts with "amq."
> As per the spec "The client MUST NOT attempt to create an exchange starting 
> with "amq."
> Therefore the client needs to do a simple check before sending  any 
> exchange.declare

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to