qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajith Attapattu (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Commented: (QPID-1644) The client should not declare any exchanges starting with "amq."
Date Wed, 04 Feb 2009 23:12:59 GMT

    [ 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-subscribe@qpid.apache.org

View raw message