Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4599

Add default for transactionName in camel-jms

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.2
    • 2.8.3, 2.9.0
    • None
    • None
    • Unknown

    Description

      Say you have a simple transacted route like:

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

      on new messages you get logs like:

      DEBUG JmsTransactionManager          - Creating new transaction with name [null]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT
      

      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:

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

      Attachments

        Activity

          People

            janstey Jonathan Anstey
            janstey Jonathan Anstey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: