diff options
author | Martin Ritchie <ritchiem@apache.org> | 2007-02-19 11:55:47 +0000 |
---|---|---|
committer | Martin Ritchie <ritchiem@apache.org> | 2007-02-19 11:55:47 +0000 |
commit | e3ff96a57778ea2325551dff110e4bedf7e1d4d5 (patch) | |
tree | e77ab4b679d132a86bb206df8f730658a7c74b87 /java/tasks/src | |
parent | 81fa6193269cf9f6cacd03966d21d7448126653a (diff) | |
download | qpid-python-e3ff96a57778ea2325551dff110e4bedf7e1d4d5.tar.gz |
QPID-372, QPID-376 Broker now ignores all frames for closing channels.
When a close-ok is received the channel can be reopened and used
All uses of getChannel check the return type is not null and throw a NOT_FOUND AMQException. If the channel is not found during a method handler then the Channel will be closed.
ChannelCloseHandler - Now throws a connection exception if trying to close a a non exisitant channel.
AMQMinaProtocolSession - Added pre-check for closing channels to ignore all but Close-OK methods
- Updated ChannelException method to close connection if the CE was a result of not having a valid channel.
- Changed state to CLOSING when writing out a connection close frame.
AMQConnection - Wrapped all _logging calls , Updated comment formatting
AMQSession - called startDispatcherIfRequired when receiving a message as without it a producer will not get a returned message. This is because there is no consumer setup to consume.
ConnectionCloseMethodHandler - Wrapped code in try finally so that the protocol session would always be closed correctly.
AMQStateManager - Added state to the logging values
Modified AMQTimeoutException to include a new constant value to identify the failure reason.
AMQConstant - Added 408 REQUEST_TIMEOUT fixed error with NOT_ALLOWED value was 530 should be 507.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@509172 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/tasks/src')
0 files changed, 0 insertions, 0 deletions