JMS (Java Messaging Service) resources provides J2EE connection factories to create connections to the JMS destinations in ALBPM. The following procedure documents how to add JMS resources to WebLogic.
To add JMS resources to WebLogic:
If the WebLogic server has not been started, choose Start | All Programs | BEA | User Projects | domain-name | Start Admin Server for WebLogic Server Domain.
To launch the WebLogic Administration Console, choose Start | All Programs | BEA | User Projects | domain-name | Admin Server Console. You can also launch the console directly from a browser (http://host:port/console).
In the left pane, in the Change Center section, click Lock & Edit.
In the left pane, under Domain Structure, click Services | Messaging | JMS Modules.
In the right pane, in the JMS Modules table, click the JMS module previously created in Add a JMS System Module to WebLogic.
Add a JMS queue connection factory:
On the Settings for System Module page, click New.
On the Create a New JMS System Module Resource page, select Connection Factory and click Next.
Enter a Name and JNDI Name for the resource. The JNDI Name must match the JMS Queue Connection Factory defined for the ALBPM engine in Process Administrator. Click Next.
Click Finish.
Add a JMS topic connection factory:
On the Settings for System Module page, click New.
On the Create a New JMS System Module Resource page, select Connection Factory and click Next.
Enter a Name and JNDI Name for the resource. The JNDI Name must match the JMS Topic Connection Factory defined for the ALBPM engine in Process Administrator. Click Next.
Click Finish.
Add a JMS queue:
On the Settings for System Module page, click New.
On the Create a New JMS System Module Resource page, select Queue and click Next.
Enter a Name and JNDI Name for the resource and set Template to None. The JNDI Name must match the JMS Queue Name defined for the ALBPM engine in Process Administrator. Click Next.
Click Create a New Subdeployment. Enter a Subdeployment Name and click OK.
Select the JMS Server previously created in Add a JMS Server to WebLogic and click Finish.
Add a JMS topic:
On the Settings for System Module page, click New.
On the Create a New JMS System Module Resource page, select Topic and click Next.
Enter a Name and JNDI Name for the resource and set Template to None. The JNDI Name must match the JMS Topic Name for Server News defined for the ALBPM engine in Process Administrator. Click Next.
Click Create a New Subdeployment. Enter a Subdeployment Name and click OK.
Select the JMS Server previously created in Add a JMS Server to WebLogic and click Finish.
In the Change Center section, click Activate Changes.