Vous êtes sur la page 1sur 3

6.

3 Creating JMS Queues in WebSphere Application


Server 7.0
To create JMS queues in WebSphere Application Server (WAS) 7.0, perform these tasks:

Section 6.3.1, "Create the Service Integration Bus (SIB) for the JMS Queues"
Section 6.3.2, "Create the JMS Queue Connection Factory"
Section 6.3.3, "Create the SIB JMS Destinations"
Section 6.3.4, "Create the JMS Queue Destinations"
Section 6.3.5, "Create the SIB JMS Activation Specifications"

6.3.1 Create the Service Integration Bus (SIB) for the JMS Queues
To create the Service Integration Bus for the JMS queues:
1. Navigate to Service Integration> Buses.
2. Click New.
3. In the Name field, enter ESBBus.
4. Click Next, review your changes and click Finish.
5. Click the link for the service integration bus that was created.
6. Under Topology, click the Bus Members link.
7. Click Add.
8. Select the Server radio button.
9. Select the default server value server1 for the server.
10. Click Next.
11. Select Data Store and click Next.
12. Select Create default data source with generated JNDI name, and click Next.
13. Select the Change heap sizes radio button to modify the heap sizes to the
proposed values.
On machines with low amounts of physical memory size or large numbers of
application server instances, it maybe necessary to reduce the proposed values
accordingly.

14. Review your changes and click Finish.


15. Click the Save link at the top of the page to save the changes.

6.3.2 Create the JMS Queue Connection Factory


To create the JMS Queue Connection Factory:
1. Navigate to Resources > JMS and select JMS Providers.
2. Click the Default Messaging Provider link which includes Server1 in the scope.
3. Click Connection Factories.
4. Click New.
5. Complete these fields:
Field

Value

Name

ESBQueueConnectionFactory

JNDI name

jms/ESBQueueConnectionFactory

Bus name

ESBBus

Target Type

Messaging Engine Name

Provider end points

<System-name>:7276:BootstrapBasicMessaging

Connection Proximity

Bus

6.
7. Note:
8. Leave the default value for the rest of the parameters.
9. Click OK.
10. Click the Save link at the top of the page to save the changes.

6.3.3 Create the SIB JMS Destinations


To create the SIB JMS destinations:
1. Navigate to Service Integration > Buses. Click ESBBus, under Destination
Resources, click Destinations.
2. Click New.
3. Select the Queue radio button.
4. Click Next.

5. In the Identifier field, enter sibESBSubscriberQueue.


6. Click Next.
7. Assign the queue to a bus member, click Next.
8. Click Finish.
9. Click the Save link at the top of the page to save the changes.

6.3.4 Create the JMS Queue Destinations


To create the JMS queue destinations:
1. Navigate to Resources > JMS and select JMS Providers.
2. Click the Default Messaging Provider link which includes Server1 in the scope.
3. Click Queues.
4. Click New.
5. Complete these fields:
Field

Value

Name

ESBTestQueue

JNDI name

jms/ESBTestQueue

Bus name

ESBBus

Queue name

sibESBSubscriberQueue

Description

Queue for ESB Subscriber

6. Click OK.
7. Click the Save link at the top of the page to save the changes.

Vous aimerez peut-être aussi