First you should know camel using a Pipeline[1] to connect all the endpoints and processors together. If the MEP is InOut, if Pipeline can't get the response from jms:compB endpoint, the Pipeline will not send the message to the next endpoint or processor.

For the "to endpoint", camel will create a producer(like a send processor) for the endpoint, for the "from endpoint", camel will create a consumer for the endpoint (creating a JMS listener for the JMS endpoint).

So the compBImple will not be invoked when the JMS message is sent to Queue compB.

[1]https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/Pipeline.java

Willem
yaog wrote:
well, If I have;

<route id="route1"> <from uri="direct:start" /> <to uri="bean:compAImpl" /> <to uri="jms:compB" /> <to uri="bean:compBImpl" /> </route>

and compBImpl returns a String, why isn't that equivalent to the transform
you mention?



Reply via email to