Improve logging for camel-mina
------------------------------

                 Key: CAMEL-394
                 URL: https://issues.apache.org/activemq/browse/CAMEL-394
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-mina
    Affects Versions: 1.3.0
            Reporter: Claus Ibsen
            Priority: Minor
             Fix For: 1.3.0


Currently camel-mina does not log using similar log classnames for a 
MinaProducer and MinaConsumer. This can be a bit misleading in the log files.

MinaConsumer uses an anonymous inner class to do the IoHandler where as 
MinaProducer does not. This renders the loglines such as
{code}
MinaConsumer$1 - XXX
MinaProducer$RecieveHandler - XXX
{code}

MinaConsumer should use a non anonymous inner classes so logging is the same:
{code}
MinaConsumer$RecieveHandler - XXX
MinaProducer$ResponseHandler - XXX
{code}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to