THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Of course there are also ESB products such as Apache ServiceMix which serve as full fledged message busses.
You can interact with Apache ServiceMix from Camel in many ways, but in particular you can use the NMR or JBI component to access the ServiceMix message bus directly.
...
Example
The following demonstrates how the Camel message bus can be used to communicate with consumers and producers
Using the Fluent Builders
Code Block | ||
---|---|---|
| ||
from("direct:start")
.pollEnrich("file:inbox?fileName=data.txt")
.to("jms:queue:foo"); |
Using the Spring XML Extensions
Code Block | ||
---|---|---|
| ||
<route>
<from uri="direct:start"/>
<pollEnrich uri="file:inbox?fileName=data.txt"/>
<to uri="jms:queue:foo"/>
</route> |
...
Include Page | |
---|---|
|
...
|