Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Flows are configured on the JBI container by usually using the flowNames attribute on the main container element.

Code Block
langxml
  <sm:container flowNames="seda">
    ...
  </sm:container>

JMS and JCA flows should be configured with an ActiveMQ url to the broker.

Code Block
langxml
  <sm:container flowNames="jms?jmsURL=tcp://localhost:61616/">
    ...
  </sm:container>

You can defined several flows by using a comma separated list.

Code Block
langxml
  <sm:container flowNames="seda,jms?jmsURL=tcp://localhost:61616/">
    ...
  </sm:container>

For more complex configurations, you can define the flow explicitely.

Code Block
langxml
  <sm:container>
    <sm:flows>
      <sm:sedaFlow />
      <sm:jcaFlow bootstrapContext="#bootstrapContext"
                  connectionManager="#connectionManager"
                  jmsURL="vm://localhost" />
    </sm:flows>
  </sm:container>