I'm having problems getting a clean shutdown of my jms routes. I am seeing
messages like:

Route: caef5400-393f-11e0-96f5-001bfc9b4a1b suspended and shutdown deferred,
was consuming from:
Endpoint[jms://topic:utilization.device.*.timeline.lifecycle]

And then later on getting:

:18:39,967 WARN  o.a.c.impl.DefaultShutdownStrategy - Error occurred while
shutting down route:
Consumer[jms://topic:device.4d5ade52c87fc0c0f9741781.utilization.cycleintervals.crud.*].
This exception will be ignored. [Camel Thread 0 - ShutdownTask] 
java.lang.NullPointerException: null
        at 
org.apache.camel.component.jms.JmsConsumer.doStop(JmsConsumer.java:130)
~[camel-jms-2.5.0.jar:2.5.0]

Looking at the JmsConsumer code this can only happen if doStop() is called
twice on the same instance. 

Is this an FAQ issue, or do I need to some debugging to figure out what is
going on?
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/NPE-on-JmsConsumer-shutdown-tp3386582p3386582.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to