Philip Harvey created PROTON-259:
------------------------------------
Summary: proton-j engine operations do not check if the endpoint
is already closed
Key: PROTON-259
URL: https://issues.apache.org/jira/browse/PROTON-259
Project: Qpid Proton
Issue Type: Bug
Components: proton-j
Affects Versions: 0.3
Reporter: Philip Harvey
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(....);
---------------
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira