You must set up connectivity to and from a third-party
JMS provider to use the Generic JMS binding.
Before you begin
You must have permission to make and save changes to the profile
on the administrative console. You must have the appropriate permissions
to make and save changes in IBM® Integration
Designer and
in IBM Workflow
Server.
About this task
This task provides a procedural outline only; providing specific
instructions for individual third-party JMS providers is beyond the
scope of this topic. The application in this scenario contains
a mediation component connection to other applications at both ends
by means of the Generic JMS binding; the application contains
an interface with a single two-way operation.
Procedure
- Configure your third-party JMS provider to create a queue
manager, queues, and JMS connection factories and destinations using
the provider-specific tools.
- In Workflow Server,
you must define a generic messaging provider.
- In Integration Designer,
you must perform the following tasks:
- Add an import and export to the application and connect
them to a previously-implemented mediation component.
- Add a Generic JMS binding to both the export
and the import: .
- Set the genericMessagingProviderName property on both
the import and export to match the properties previously defined to Workflow Server.
- Set the ExternalJNDIName for the
connections and send/receive destinations to match those defined in
your third-party JMS provider tools.
- Deploy the application to a single server.
Make
sure that the third-party JMS provider queue manager is running and
available for connection and that the context to which the generic
messaging provider definition points in Workflow Server is available.
You
can build and deploy your application using Integration Designer. Another
way to deploy applications is to export the modules as .zip files
and then use the serviceDeploy command of Workflow Server to build
and deploy them as EAR files.
- Start the application.
- Run the application.
Results
The application can be run by placing messages on the third-party
JMS provider queue defined in the Generic JMS export receive
destination. Responses will be returned to the Generic JMS
export send destination. Similarly, the application will issue
requests to the Generic JMS import send destination and expect
responses on the Generic JMS import receive destination.