camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: java.util.concurrent.RejectedExecutionException: null during route shutdown
Date Thu, 13 Jun 2013 23:12:52 GMT
Which version do you use?
Can you share the complete stack trace?

You should stop the route in a different thread. Can you try this?

Best,
Christian

Sent from a mobile device
Am 13.06.2013 03:17 schrieb "Richa" <rsinha2889@gmail.com>:

> Hi ,
> I have a camel route which I am trying to shutdown in case I encounter a
> java.net.ConnectException.
> In my shutdown strategy, I am removing the keys that I had added in the
> context properties during the route execution and then shutting down the
> route as follows:
>
> exchange.getContext().stopRoute(routeid,10000,TimeUnit.MILLISECONDS);
>
> But, everytime this line is encountered, I get
> java.util.concurrent.RejectedExecutionException: null exception. I tried
> increasing the timeout interval but the problem still persists. Please help
> me solve this issue.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/java-util-concurrent-RejectedExecutionException-null-during-route-shutdown-tp5734160.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message