Chapter 11. JMS scenario 379
11.5.3 Create JMS queue
Now we need to create the JMS queue.
1. From the administrative console expand Resources JMS Providers and
click Default messaging.
2. Under Destinations click JMS queue.
3. Click New.
4. The next page allows you to specify the values for the queue.
–Name
Enter a value of ProcessorToMail.
–JNDI Name
This is the name to which the application’s message reference will be
bound. Enter a value of jms/SelfService/ProcessorToMailQ.
Bus name
Select the value of ITSOMartBus. This will cause the page to be reloaded
with the Queue names list already poplulated.
Queue name
This field specifies the service integration bus queue type destination that
will be used to store the messages sent to this JMS queue. Select the
value of ProcessorToMail.Queue
.
5. Click OK.
6. Save the configuration.
11.5.4 Create JMS activation specification
Now we need to create the activation specification that will trigger
MailServiceEJB when a message arrives on the queue.
1. From the admin console expand Resources JMS Providers and click
Default messaging.
2. Under Activation Specifications click JMS activation specification.
3. Click New.
4. The next page allows you to specify the values for the activation specification.
Most of the values can keep their default values. Described here are the ones
of most interest.

Get Patterns: Implementing Self-Service in an SOA Environment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.