On Tue, Mar 15, 2011 at 6:00 PM, Marco Crivellaro <mcr...@optasportsdata.com> wrote: > The following sample: > http://camel.465427.n5.nabble.com/file/n3710309/FirstTest.java > FirstTest.java > > shows the same issue with only 2 messages sent to 2 distinct endpoints. > if instead of using a single interceptor "(ftp|sftp|ftps|http):.*" > > 2 distinct interceptors are defined: > "(ftp|sftp|ftps):.*" and "(http):.*" the exception is not thrown. > > It is not a problem for me to use this workaround although I would like to > know the reason why this is happening and if I should expect the same issues > with other types of endpoints.
Can you create a small unit test which reproduces the issue? And create a JIRA ticket and attach the unit test. I am traveling at the moment but will look into when I get back. Bugs have high priority so we usually fix them in the next release. > > -- > View this message in context: > http://camel.465427.n5.nabble.com/java-util-concurrent-RejectedExecutionException-using-interceptSendToEndpoint-tp3425179p3710309.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/