Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
proton-0.3
-
None
-
None
-
None
Description
Operations such as SessionImpl#receiver(receiverName) and LinkImpl#delivery do not check the state of the endpoint. I believe they should throw an exception.
Moreover, I notice that the following sequence of calls cause the transport to produce no output:
---------------
sender.close;
// deliberately use a closed sender.
// The presence of this line causes the subsequent transport.output to produce zero bytes.
sender.delivery(deliveryTag);
transport.output(....);
---------------
Attachments
Issue Links
- relates to
-
PROTON-153 [proton-j] Sender should throw an exception if send is called after the endpoint is locally closed.
- Closed