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