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

Rob Godfrey commented on QPID-1644:
-----------------------------------

The spec *should* say that it is permitted if it is sent in passive mode (i.e. 
the "throw an error if the exchange isn't present" mode).

Sending it once per consumer creation isn't expensive and it does guard against 
attempting to send to non-existant destinations

if it is sending once per message (as it used to :-) ) that would be a problem

As it is I would just ensure that the passive flag is set to tru

-- Rob

> 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:[email protected]

Reply via email to