scriptease opened a new pull request #4694:
URL: https://github.com/apache/camel/pull/4694


   The following exception occurs if the camelroute with a hazel cast topic is 
restarted  
   
   {code:java}
   WARNUNG: Error processing exchange for hazelcast consumer on object 'null' 
in cache 'server.trace.event'.. Exchange[ID-1605875260724-0-338]. Caused by: 
[java.util.concurrent.RejectedExecutionException - null]
   java.util.concurrent.RejectedExecutionException
   at 
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:435)
   at 
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
   at 
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
   at 
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97)
   at 
org.apache.camel.component.hazelcast.listener.CamelListener.sendExchange(CamelListener.java:48)
   at 
org.apache.camel.component.hazelcast.listener.CamelMessageListener.onMessage(CamelMessageListener.java:34)
   at com.hazelcast.topic.impl.TopicService.dispatchEvent(TopicService.java:138)
   at 
com.hazelcast.spi.impl.eventservice.impl.LocalEventDispatcher.run(LocalEventDispatcher.java:64)
   at 
com.hazelcast.util.executor.StripedExecutor$Worker.process(StripedExecutor.java:244)
   at 
com.hazelcast.util.executor.StripedExecutor$Worker.run(StripedExecutor.java:227)
   {code}
   
   Solution
   Register listeners in doStart and remove them in doStop


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to