...
Flows are configured on the JBI container by usually using the flowNames attribute on the main container element.
Code Block |
---|
|
<sm:container flowNames="seda">
...
</sm:container>
|
JMS and JCA flows should be configured with an ActiveMQ url to the broker.
Code Block |
---|
|
<sm:container flowNames="jms?jmsURL=tcp://localhost:61616/">
...
</sm:container>
|
You can defined several flows by using a comma separated list.
Code Block |
---|
|
<sm:container flowNames="seda,jms?jmsURL=tcp://localhost:61616/">
...
</sm:container>
|
For more complex configurations, you can define the flow explicitely.
Code Block |
---|
|
<sm:container>
<sm:flows>
<sm:sedaFlow />
<sm:jcaFlow bootstrapContext="#bootstrapContext"
connectionManager="#connectionManager"
jmsURL="vm://localhost" />
</sm:flows>
</sm:container>
|