Daniil Kirilyuk created QPID-8640:
-------------------------------------
Summary: [Broker-J] Remove producer on link destruction
Key: QPID-8640
URL: https://issues.apache.org/jira/browse/QPID-8640
Project: Qpid
Issue Type: Bug
Components: Broker-J
Affects Versions: qpid-java-broker-9.0.0
Reporter: Daniil Kirilyuk
Fix For: qpid-java-broker-9.0.1
In some test scenarios following error is thrown on the client side:
{code:java}
proton._utils.LinkDetached: sender
c83ab7c1-a1f4-4d3d-b7f9-527fabf9e9dd-broadcast to broadcast closed due to:
Condition('amqp:internal-error', 'Child of type ProducerImpl already exists
with name of c83ab7c1-a1f4-4d3d-b7f9-527fabf9e9dd-broadcast'){code}
It seems, that producer is closed after calling sender.close() on the client
side, but still remains to be a child of an appropriate AMQP session in closed
state, preventing producer with the same name to be created.
StandardReceivingLinkEndpoint#destroy() should be extended with the producer
removal.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]