Administer > Manage WebSphere Commerce features > Messaging system > WebSphere MQ > Configure WebSphere Application Server for use with WebSphere MQ
Create a WebSphere MQ messaging provider queue connection factory
- In the WAS Administrative Console navigation tree, expand...
Resources | JMS | Queue connection factories
- Select the scope of the queue connection factory from the list.
IBM recommends scope...
Node=WC_instance name_node, Server=server1
- Click...
New | WebSphere MQ messaging provider | OK
- Configure basic attributes...
Option Description Name JMSQueueConnectionFactory JNDI Name JMSQueueConnectionFactory Description JMSQueueConnectionFactory
Click Next.
- Select...
Enter all the required information into this wizard...and click Next...
- Enter the name of the Queue Manager
For example...
hostname.qm...where hostname is the host name (without the domain) for the machine running WebSphere MQ.
Click Next.
- Enter the connection details...
Option Description Transport
- If Commerce and MQ are installed on the same machine, choose BINDINGS.
- If WebSphere MQ client only is installed on the WebSphere Commerce machine, choose CLIENT.
Hostname
- Bindings mode
- Ensure that this field is cleared.
- Client mode
- Enter the fully qualified TCP/IP hostname of the machine running WebSphere MQ.
Port
- Bindings mode
- Ensure that this field is cleared. If this field contains any value, bindings mode will fail to function correctly.
- Client mode
- Enter the listener port number for the queue manager
Server connection channel
- Bindings mode
- Ensure that this field is cleared. If this field contains any value, bindings mode will fail to function correctly.
- Client mode
- Ignore this field.
Click Next.
- To test connectivity, click...
Test connection
- After confirming results of the connection test, click...
Next | Finish
- Select the newly-created JMSQueueConnectionFactory.
- Under Advanced, clear...
Support distributed two phase commit protocol
- Click Apply.
- Under Additional properties, click Advanced properties.
- Under connection consumer, clear...
Retain messages, even if no matching consumer is available
- Click OK.
- Under Additional properties, click Connection pool and adjust the maximum number of connections needed.
This number must be 1 smaller than the number defined under the WC_instance enterprise application.
- Click..
OK | Save | Save
- Create WebSphere MQ messaging provider queue destinations.