-
Bug
-
Resolution: Done
-
Major
-
A-MQ 7.0.0.ER7
-
None
-
Broker downloaded from:
A-MQ7 - 7.0.0.ER7-redhat-1
Apache ActiveMQ Artemis 1.2.0.amq-700007-redhat-1Broker running in Fedora. > uname -a
Linux plicit 4.5.5-201.fc23.x86_64 #1 SMP Sat May 21 15:29:49 UTC 2016 x86_64 x86_64 x86_64 GNU/LinuxClient running in Windows Server 2012 R2.
amqpnetlite self test TestMethod_LinkReopen with extra sender=new SenderLink() lineBroker downloaded from: A-MQ7 - 7.0.0.ER7-redhat-1 Apache ActiveMQ Artemis 1.2.0.amq-700007-redhat-1 Broker running in Fedora. > uname -a Linux plicit 4.5.5-201.fc23.x86_64 #1 SMP Sat May 21 15:29:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Client running in Windows Server 2012 R2. amqpnetlite self test TestMethod_LinkReopen with extra sender=new SenderLink() line
Test code:
Connection connection = new Connection(address); Session session = new Session(connection); ReceiverLink receiver = new ReceiverLink(session, "receiver", "q1"); session.Close(0); connection.Close();
causes an error in the amqpnetlite client:
{error(condition:amqp:illegal-state,description:Operation 'Send' is not valid under state: CloseSent.)}
The error is caused by the broker sending a Detach. The client did not send a detach and was trying to reply to the broker's Detach.
◊ ◊◊ 5.721947 Frame 1644 10.18.96.1:15490 -> 10.10.61.131:5672 -> attach [0,0] receiver receiver (source: q1, target: null) ◊ ◊◊ 5.721998 Frame 1645 10.18.96.1:15490 -> 10.10.61.131:5672 -> end [0] ◊ ◊◊ 5.722025 Frame 1646 10.18.96.1:15490 -> 10.10.61.131:5672 -> close [0] ◊ ◊◊ 5.736676 Frame 1649 10.18.96.1:15490 <- 10.10.61.131:5672 <- attach [0,0] sender receiver (source: q1, target: null), detach [0,0], end [0], close [0]
Qpidd does not send the detach seen in Frame 1649.
Arguably the client would see this condition if the broker decided to detach the link by itself just as the client was closing the session and connection. But that's not really the case here.
- is blocked by
-
ENTMQBR-444 release 7.0.0.ER13 with Hand Off doc
-
- Closed
-
- is caused by
-
ARTEMIS-811 Loading...