Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description
If you have a route which does the following:
<route id="SimpleTestRoute"> <from uri="jetty:http://0.0.0.0:9876/dummyTarget" /> <setHeader headerName="Content-Type"> <constant>text/plain</constant> </setHeader> <bean ref="testProcessor" method="process1('1')" /> <bean ref="testProcessor" method="process1('1')" /> <bean ref="testProcessor" method="process1('1')" /> <bean ref="testProcessor" method="process1('1')" /> <bean ref="testProcessor" method="process1('1')" /> <bean ref="testProcessor" method="process1('1')" /> <bean ref="testProcessor" method="process1('1')" /> <bean ref="testProcessor" method="process1('1')" /> <setBody> <constant>Working</constant> </setBody> </route>
The simple script needs to be resolved in the Camel Registry for each bean causing performance degradation.
If possible, can static resolution of languages be incorporated into Camel?