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


   The following exception occurs if the camelroute with a hazel cast topic is 
restarted  
   
   ```
   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)```
   
   Solution
   Register listeners in doStart and remove them in doStop
   
   As requested:
   > acosentino Andrea Cosentino added a comment - 25 minutes ago
   > We'll release 3.7.0 as second LTS, the other LTS is 3.4.x, so we'll need a 
PR on 3.4.x branch only


----------------------------------------------------------------
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