You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/11/27 10:57:18 UTC

[GitHub] [camel] scriptease opened a new pull request #4696: [CAMEL-15899] Hazelcast consumer listeners not removed after use

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:
users@infra.apache.org



[GitHub] [camel] oscerd closed pull request #4696: [CAMEL-15899] Hazelcast consumer listeners not removed after use

Posted by GitBox <gi...@apache.org>.
oscerd closed pull request #4696:
URL: https://github.com/apache/camel/pull/4696


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [camel] scriptease commented on pull request #4696: [CAMEL-15899] Hazelcast consumer listeners not removed after use

Posted by GitBox <gi...@apache.org>.
scriptease commented on pull request #4696:
URL: https://github.com/apache/camel/pull/4696#issuecomment-734778414


   Ok 👍 


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [camel] oscerd commented on pull request #4696: [CAMEL-15899] Hazelcast consumer listeners not removed after use

Posted by GitBox <gi...@apache.org>.
oscerd commented on pull request #4696:
URL: https://github.com/apache/camel/pull/4696#issuecomment-734778223


   We won't release 3.5.1 and 3.6.1, so no need for this PR. Thanks anyway


----------------------------------------------------------------
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:
users@infra.apache.org