Martin Ritchie wrote:
In the Java broker Mina hides the Socket layer and it is the AMQMinaProtocolSession that has all the Connection logic in it which would lend itself ideally to the logging. The AMQMPS is created to handle the new incomming socket so handles things such as version negotiation. This is then used as the proper connection object, perhaps this will change with the Network IO layer changes.
This certainly isn't a safe assumption on the client side where we have transports other than MINA. I'm assuming that it makes sense to do the same system level logging for the client where the same entities exist, e.g. connection, session, channel.
--Rafael --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
