Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Just add the following to your Spring configuration file

...

 

Which will create the JCA container. Notice that there is a work manager you can configure to set the thread pooling limits. Also you can associate whichever JCA Resource Adapter you wish, such as to use another JMS provider.

...

We have a JmsInUsingJCABinding which works nicely with our JCA container to provide a JBI component for consuming inbound JMS messages using JCA for all the session, connection and thread pooling as well as handling parallel processing of inbound messages and transaction handling.

...

...

 

You will notice that its not very different from the regular JMS component; the main difference is the use of the J2EE activation spec object to register with the JCA container.

...

To use XA for an inbound connection in the JCA container you'll need to specify a transaction manager to the connector. Here's an example

...

...

 

You also need to provide a transaction manager implementation to use. Here this exampe uses Geronimo's Transaction Manager.

...

...