-
Bug
-
Resolution: Done
-
Major
-
A-MQ 7.0.0.ER7
-
None
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...