Hi,

Thanks for your interest in camel.

1. Your syntax defines a chain. Your answer 1a is the correct one. If you need a splitter there is Splitter processor you could use: http://activemq.apache.org/camel/splitter.html.

2. Again your first answer is the correct one. The chain can be interrupted though if a Processor in the chain throws an exception. That is if your bean:example throws an exception jms:queueB won't be invoked anymore.

br,
Hadrian


2timon2 wrote:
Hi all,

I'm a bit confused with the very basic semantic of camel-router builder
language :).

1. from("jms:queueA").to("jms.queueB").to("jms:queueC")
a. it is a chain? : queueA -> queueB -> queueC b. is it a splitter? : queueA -> queueB queueA -> queueB
2. how I can describe such route: from queue "A" via the bean "example" to
queue "B" a. from("jms:queueA").to("bean:example").to("jms:queueB") ?
    b. from("jms:queueA").to("bean:example") and second rule
from("bean:example").to("jms:queueB") ?
Thanks in advance

Reply via email to