This section shows how you can
To run the sample, you have to create JMS resources on the WebSphere Process Server: destinations, queues, a connection factory and an activation spec for the message driven bean.
To create the destinations, follow theses steps:
JMSSample, then click Next.JMSSampleReply and JMSSampleCorrelation.The following image shows the Destinations page with the three new destinations:

To create the JMS queues, follow these steps:
JMSSample.jms/JMSSample.JMSSampleReply, JNDI name jms/JMSSampleReply, and Queue name JMSSampleReply.JMSSampleCorrelation, JNDI name jms/JMSSampleCorrelation, and Queue name JMSSampleCorrelation.The following image shows the new queue entries on the Queues page:

To create the queue connection factory, follow these steps:
JMSSampleReplyQCF.jms/JMSSampleReplyQCF.The following image shows the new queue connection factory entry on the JMS queue connection factory page:

To create the activation specification, follow these steps:
JMSSampleAS.jms/JMSSampleAS.jms/JMSSample as Destination JNDI name.The following image shows the new activation specification entry on the JMS activation specification page:

The resources listed in the following table have been created on your WebSphere Process Server:
| Resource type | Resource name | JNDI name |
|---|---|---|
| Destination | JMSSample | |
| Destination | JMSSampleReply | |
| Destination | JMSSampleCorrelation | |
| JMS queue | JMSSample | jms/JMSSample |
| JMS queue | JMSSampleReply | jms/JMSSampleReply |
| JMS queue | JMSSampleCorrelation | jms/JMSSampleCorrelation |
| JMS queue connection factory | JMSSampleReplyQCF | jms/JMSSampleReplyQCF |
| JMS activation specification | JMSSampleAS | jms/JMSSampleAS |
A project interchange file with prepared sample projects is available in the Download section. These projects contain the sample process and the client application, but without the required bindings. These bindings will be added in the following chapters.
To load the prepared projects into WebSphere Integration Developer, follow these steps:

To export the JMS sample process as SCA Service with a JMS binding, complete the following steps:

The Configure JMS Export Service window opens:



The export has been added:

.To update the bindings to resources on WebSphere Process Server, complete the following steps:
jms/JMSSampleAS in the JNDI Lookup Name field.
jms/JMSSampleReplyQCF in the JNDI Lookup Name field.

jms/JMSSample.
jms/JMSSampleReply. jms/JMSSampleCorrelation.
.To link the client application to resources on WebSphere Process Server, complete the following steps:
The References page is displayed.

The Add Reference wizard opens:

The Resource Reference page is displayed:

jms/JMSSampleQCFRef.A new resource reference has been added. Next, we update the WebSphere Bindings for this reference:

jms/JMSSampleReplyQCF in the JNDI name field.SCA_Auth_Alias as Authentication alias.jms/JMSSampleRef.jms/JMSSample in the JNDI name field.jms/JMSSampleReplyRef.jms/JMSSampleReply in the JNDI name field.Three resource references have been added:

.