You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Pavel Moravec (JIRA)" <ji...@apache.org> on 2011/07/29 17:00:10 UTC
[jira] [Created] (QPID-3377) Sending message with a subject to a
queue fails
Sending message with a subject to a queue fails
-----------------------------------------------
Key: QPID-3377
URL: https://issues.apache.org/jira/browse/QPID-3377
Project: Qpid
Issue Type: Bug
Components: Java Client
Affects Versions: 0.10
Reporter: Pavel Moravec
Fix For: 0.12
Having a queue bound just to default exchange and sending a message with a subject to the queue results in dropping the message by the default queue.
Replication steps:
1) qpid-config add queue testQueue
2) cd /usr/share/doc/qpid-java-0.10/examples
3) ./run_example.sh org.apache.qpid.example.Spout testQueue
4) qpid-stat -e shows the default '' exchange dropped the message
Patch will be proposed by myself soon.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Updated] (QPID-3377) Sending message with a subject to a
queue fails
Posted by "Pavel Moravec (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Moravec updated QPID-3377:
--------------------------------
Description:
Having a queue bound just to default exchange and sending a message with a subject to the queue results in dropping the message by the default queue.
Replication steps:
1) qpid-config add queue testQueue
2) cd /usr/share/doc/qpid-java-0.10/examples
3) ./run_example.sh org.apache.qpid.example.Spout testQueue/someSubject
4) qpid-stat -e shows the default '' exchange dropped the message
Patch already proposed.
was:
Having a queue bound just to default exchange and sending a message with a subject to the queue results in dropping the message by the default queue.
Replication steps:
1) qpid-config add queue testQueue
2) cd /usr/share/doc/qpid-java-0.10/examples
3) ./run_example.sh org.apache.qpid.example.Spout testQueue
4) qpid-stat -e shows the default '' exchange dropped the message
Patch will be proposed by myself soon.
some crucial typos in bug description corrected.
> Sending message with a subject to a queue fails
> -----------------------------------------------
>
> Key: QPID-3377
> URL: https://issues.apache.org/jira/browse/QPID-3377
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: 0.10
> Reporter: Pavel Moravec
> Labels: patch
> Fix For: 0.12
>
> Attachments: qpid-java-0.10.JIRA3377.patch
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Having a queue bound just to default exchange and sending a message with a subject to the queue results in dropping the message by the default queue.
> Replication steps:
> 1) qpid-config add queue testQueue
> 2) cd /usr/share/doc/qpid-java-0.10/examples
> 3) ./run_example.sh org.apache.qpid.example.Spout testQueue/someSubject
> 4) qpid-stat -e shows the default '' exchange dropped the message
> Patch already proposed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Resolved] (QPID-3377) Sending message with a subject to a
queue fails
Posted by "Rajith Attapattu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajith Attapattu resolved QPID-3377.
------------------------------------
Resolution: Fixed
Assignee: Rajith Attapattu
Fixed with a test case.
> Sending message with a subject to a queue fails
> -----------------------------------------------
>
> Key: QPID-3377
> URL: https://issues.apache.org/jira/browse/QPID-3377
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: 0.10
> Reporter: Pavel Moravec
> Assignee: Rajith Attapattu
> Labels: patch
> Fix For: 0.12
>
> Attachments: qpid-java-0.10.JIRA3377.patch
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Having a queue bound just to default exchange and sending a message with a subject to the queue results in dropping the message by the default queue.
> Replication steps:
> 1) qpid-config add queue testQueue
> 2) cd /usr/share/doc/qpid-java-0.10/examples
> 3) ./run_example.sh org.apache.qpid.example.Spout testQueue/someSubject
> 4) qpid-stat -e shows the default '' exchange dropped the message
> Patch already proposed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Commented] (QPID-3377) Sending message with a subject to a
queue fails
Posted by "Robbie Gemmell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078918#comment-13078918 ]
Robbie Gemmell commented on QPID-3377:
--------------------------------------
r1153299 caused the java 0-9-1 test profiles to fail (the Jenkins failure email didnt go to the notifications list because I'm setting up a new matrix test project and its a semi broken just now due to issues with 2 of the 3 the ubuntu slaves, so I only have it emailing me right now.)
> Sending message with a subject to a queue fails
> -----------------------------------------------
>
> Key: QPID-3377
> URL: https://issues.apache.org/jira/browse/QPID-3377
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: 0.10
> Reporter: Pavel Moravec
> Assignee: Rajith Attapattu
> Labels: patch
> Fix For: 0.12
>
> Attachments: qpid-java-0.10.JIRA3377.patch
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Having a queue bound just to default exchange and sending a message with a subject to the queue results in dropping the message by the default queue.
> Replication steps:
> 1) qpid-config add queue testQueue
> 2) cd /usr/share/doc/qpid-java-0.10/examples
> 3) ./run_example.sh org.apache.qpid.example.Spout testQueue/someSubject
> 4) qpid-stat -e shows the default '' exchange dropped the message
> Patch already proposed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Updated] (QPID-3377) Sending message with a subject to a
queue fails
Posted by "Pavel Moravec (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Moravec updated QPID-3377:
--------------------------------
Attachment: qpid-java-0.10.JIRA3377.patch
Patch proposal. Reasoning of the change:
routing key was wrongly changed from (already properly set) message subject to queue name. That was due to wrong test:
if (destination.getTargetNode().getType() == AMQDestination.TOPIC_TYPE)
in method sendMessage in client/src/main/java/org/apache/qpid/client/BasicMessageProducer_0_10.java file. That condition is everytime evaluated as true, since target node is set to TOPIC type every time. Proper test is rather:
if (destination.getAddressType() == AMQDestination.TOPIC_TYPE)
> Sending message with a subject to a queue fails
> -----------------------------------------------
>
> Key: QPID-3377
> URL: https://issues.apache.org/jira/browse/QPID-3377
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: 0.10
> Reporter: Pavel Moravec
> Labels: patch
> Fix For: 0.12
>
> Attachments: qpid-java-0.10.JIRA3377.patch
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Having a queue bound just to default exchange and sending a message with a subject to the queue results in dropping the message by the default queue.
> Replication steps:
> 1) qpid-config add queue testQueue
> 2) cd /usr/share/doc/qpid-java-0.10/examples
> 3) ./run_example.sh org.apache.qpid.example.Spout testQueue
> 4) qpid-stat -e shows the default '' exchange dropped the message
> Patch will be proposed by myself soon.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org