Description of problem: There was a recent change in the JMS client. The link must now be named when creating a subscription queue. This means that following the command reports an exception (newly on 0.22 packages): # java -cp ${CLASSPATH} org.apache.qpid.example.Drain "amq.topic/some_subject;{ link: { durable: true } }" javax.jms.JMSException: Error registering consumer: org.apache.qpid.AMQException: You cannot mark a subscription queue as durable without providing a name for the link. To avoid the client exception, it is necessary to name the link, ie # java -cp ${CLASSPATH} org.apache.qpid.example.Drain "amq.topic/some_subject;{ link: { name: some_name, durable: true } }" It may be possible that customer is using the syntax above (w/o the link name), so the customer shall be aware of this change. "19.1. The AMQP 0-10 mapping" may probably be a good place where to put this note. I'm not sure if this shall be mentioned in the Messaging_Programming_Reference or in the Release notes, feel free to change the component if you find it more appropriate. NOTE: this change is currently related only to JMS clients. Version-Release number of selected component (if applicable): Messaging Programming Reference - Revision 2.0.0-32 How reproducible: 100% Steps to Reproduce: 1. # java -cp ${CLASSPATH} org.apache.qpid.example.Drain "amq.topic/some_subject;{ link: { name: some_name, durable: true } }" 2. exception from the client Actual results: Undocumented JMS client behavior change. Expected results: The JMS client behavior change described in the doc. Additional info:
Correction: the 'name' must be omitted in the link to get that exception Steps to Reproduce: - 1. # java -cp ${CLASSPATH} org.apache.qpid.example.Drain "amq.topic/some_subject;{ link: { name: some_name, durable: true } }" + 1. # java -cp ${CLASSPATH} org.apache.qpid.example.Drain "amq.topic/some_subject;{ link: { durable: true } }"
Documented here: http://documentation-devel.engineering.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_MRG/3/html-single/Messaging_Programming_Reference/index.html#Durable_Queue_Subsciptions_in_MRG_3
Content approved. -> VERIFIED