In this configuration, the number of concurrent consumers
are increased within a single WebSphere® Application
Server. Scaling the
number of consumers enables messages to be processed concurrently.
If messages are processed concurrently, then message order cannot
be preserved.
Complete the following steps to configure the Eclipse Amlen resource adapter
to support scaling within a single WebSphere Application
Server. This configuration
is useful if your MDB's onMessage()
call is slow.
- Download and install the Eclipse Amlen resource adapter.
The Eclipse Amlen resource adapter is available to
download as part of the JMS client. The JMS client can be obtained from the Downloads page in the IBM® Messaging
Community at developerWorks®. Click
Download IBM Watson IoT Platform - Message Gateway JMS Client Pack.
After the download
is complete, you can install the Eclipse Amlen resource adapter
on your WebSphere Application
Server.
For more information about installing, see Installing Eclipse Amlen resource adapter on WebSphere Application Server.
- Configure an endpoint and setup connection and messaging
policies.
You must configure an endpoint that supports
the JMS protocol for your WebSphere Application
Server to connect to.
For more information about configuring an endpoint, see Configuring
message hubs.
- Configure Eclipse Amlen resource
adapter properties for one or more of the following options:
- Deploy and start your MDB if applicable.