Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The AMQP 1.0 protocol layer implementation must ensure that the AMQP Open performative container-id is unique amongst existing established connections.
As the JMS client id maps to the container-id, so this will fulfil the JMS requirement.
https://docs.oracle.com/javaee/7/api/javax/jms/Connection.html#setClientID-java.lang.String-
Note that the Qpid JMS Client requires the Close performative with an Error containing a hint to generate to correct JMS exception. How will the Qpid Broker know to do this?
org.apache.qpid.jms.integration.FailedConnectionsIntegrationTest#testConnectWithInvalidClientIdThrowsICIDEWhenInvalidContainerHintPresent