camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Anstey (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-4599) Add default for transactionName in camel-jms
Date Mon, 31 Oct 2011 18:37:32 GMT
Add default for transactionName in camel-jms
--------------------------------------------

                 Key: CAMEL-4599
                 URL: https://issues.apache.org/jira/browse/CAMEL-4599
             Project: Camel
          Issue Type: Improvement
    Affects Versions: 2.8.2
            Reporter: Jonathan Anstey
            Assignee: Jonathan Anstey
             Fix For: 2.8.3, 2.9.0


Say you have a simple transacted route like:

{code}
from("activemq:queue:foo")
  .transacted()
  .to(...);
{code}

on new messages you get logs like:
 
{code}
DEBUG JmsTransactionManager          - Creating new transaction with name [null]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT
{code}

which isn't very helpful. It would be good to actual give the TX a name with some context.
Thinking of something like the following would be better:

{code}
DEBUG JmsTransactionManager          - Creating new transaction with name [JmsConsumer[foo]]:
PROPAGATION_REQUIRED,ISOLATION_DEFAULT
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message