THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
From 2.0 onwards on Camel you can specify the Exchange Pattern using the dsl.
Using the Fluent Builders
Code Block |
---|
from("mq:someQueue"). inOnly(). bean(Foo.class); |
...
Code Block |
---|
from("mq:someQueue"). inOnly("mq:AnotherQueueanotherQueue"); |
Using the Spring XML Extensions
Code Block |
---|
<route>
<from uri="mq:someQueue"/>
<inOnly uri="bean:foo"/>
</route>
|
Code Block |
---|
<route>
<from uri="mq:someQueue"/>
<inOnly uri="mq:anotherQueue"/>
</route>
|
Include Page | ||||
---|---|---|---|---|
|