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

Consumer - ErrorHandler should ignore rejected exception due to shutdown

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.18.5, 2.19.1, 2.20.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      We can get errors such as

      2017-05-28 20:47:31.913  WARN 85415 --- [- timer://hello] o.a.camel.component.timer.TimerConsumer  : Error processing exchange. Exchange[ID-davsclaus-pro-local-55009-1495997185618-0-124]. Caused by: [java.util.concurrent.RejectedExecutionException - null]
      
      java.util.concurrent.RejectedExecutionException: null
      	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:423) ~[camel-core-2.20.0-SNAPSHOT.jar:2.20.0-SNAPSHOT]
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:198) [camel-core-2.20.0-SNAPSHOT.jar:2.20.0-SNAPSHOT]
      	at org.apache.camel.processor.DelayProcessorSupport.processDelay(DelayProcessorSupport.java:100) ~[camel-core-2.20.0-SNAPSHOT.jar:2.20.0-SNAPSHOT]
      	at org.apache.camel.processor.DelayProcessorSupport.process(DelayProcessorSupport.java:168) ~[camel-core-2.20.0-SNAPSHOT.jar:2.20.0-SNAPSHOT]
      	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77) ~[camel-core-2.20.0-SNAPSHOT.jar:2.20.0-SNAPSHOT]
      	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:536) ~[camel-core-2.20.0-SNAPSHOT.jar:2.20.0-SNAPSHOT]
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:198) [camel-core-2.20.0-SNAPSHOT.jar:2.20.0-SNAPSHOT]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:120) ~[camel-core-2.20.0-SNAPSHOT.jar:2.20.0-SNAPSHOT]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:83) ~[camel-core-2.20.0-SNAPSHOT.jar:2.20.0-SNAPSHOT]
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:198) [camel-core-2.20.0-SNAPSHOT.jar:2.20.0-SNAPSHOT]
      	at org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:196) [camel-core-2.20.0-SNAPSHOT.jar:2.20.0-SNAPSHOT]
      	at org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:78) [camel-core-2.20.0-SNAPSHOT.jar:2.20.0-SNAPSHOT]
      	at java.util.TimerThread.mainLoop(Timer.java:555) [na:1.8.0_131]
      	at java.util.TimerThread.run(Timer.java:505) [na:1.8.0_131]
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davsclaus Claus Ibsen
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: