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

camel-jms - JmsConsumer make it less verbose logging in case of an exception or TX rollback

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.9.1, 2.10.0
    • camel-jms
    • None
    • Unknown

    Description

      When using a JMS route, and an exception occurs, then you get a WARN logging from Spring JMS that there is no error handler configured.
      And you get the stacktrace etc.

      2012-01-31 07:27:51,628 [sConsumer[okay]] WARN  ultJmsMessageListenerContainer - Execution of JMS message listener failed, and no ErrorHandler has been set.
      org.apache.camel.RuntimeCamelException: ...
      

      However Camel itself will also by default log the stacktrace, so we have it logged twice. We should make this less verbose.
      And allow end users to more easily customize the logging level and/or whether stracktraces should be included.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: