Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
8.0.0 - Beta3
-
-
Description
Consider a SY application which has 2 Camel XML components, in two different route.xml files. The application works as expected.
Now open both route.xml files with the Fuse Tooling Route Editor -> this will assign ids to all elements. The assigned ids are identical in both files, eg:
<route id="_route1"> <from id="_from1" uri="switchyard://MyCamelRoute"/> <log id="_log1" message="MyCamelRoute - message received: ${body}"/> </route>
The application still deploys successfully, but invoking any of the services fails with:
Caught exception of type org.switchyard.HandlerException with message: java.util.concurrent.RejectedExecutionException Caused by exception of type java.util.concurrent.RejectedExecutionException, message: null: org.switchyard.HandlerException: java.util.concurrent.RejectedExecutionException at org.switchyard.component.camel.switchyard.SwitchYardConsumer.handleMessage(SwitchYardConsumer.java:118) [switchyard-component-camel-switchyard-2.0.1.redhat-621107.jar:2.0.1.redhat-621107] ... Caused by: java.util.concurrent.RejectedExecutionException at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:349) [camel-core-2.15.1.redhat-621107.jar:2.15.1.redhat-621107] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.15.1.redhat-621107.jar:2.15.1.redhat-621107] at org.apache.camel.processor.Pipeline.process(Pipeline.java:121) [camel-core-2.15.1.redhat-621107.jar:2.15.1.redhat-621107] at org.apache.camel.processor.Pipeline.process(Pipeline.java:83) [camel-core-2.15.1.redhat-621107.jar:2.15.1.redhat-621107] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.15.1.redhat-621107.jar:2.15.1.redhat-621107] at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109) [camel-core-2.15.1.redhat-621107.jar:2.15.1.redhat-621107] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:87) [camel-core-2.15.1.redhat-621107.jar:2.15.1.redhat-621107] at org.switchyard.component.camel.switchyard.SwitchYardConsumer.invokeCamelProcessor(SwitchYardConsumer.java:185) [switchyard-component-camel-switchyard-2.0.1.redhat-621107.jar:2.0.1.redhat-621107] at org.switchyard.component.camel.switchyard.SwitchYardConsumer.handleMessage(SwitchYardConsumer.java:96) [switchyard-component-camel-switchyard-2.0.1.redhat-621107.jar:2.0.1.redhat-621107] ... 118 more
Attachments
Issue Links
- is duplicated by
-
FUSETOOLS-1949 Generating unique route IDs should be project-wide, not just config-wide
- Closed