<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: WebSphere MQ issue
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/rbiresch">Rod Biresch</a> in <i>IronJacamar</i> - <a href="http://community.jboss.org/message/596223#596223">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p> Below is the configuration that my app is using.&#160; There's more information there than you need.&#160; I had to "clean" it somewhat before posting so hopefully I didn't make any mistakes.&#160; I use token replacement {$...} with JVM properties in the jboss.xml so that I don't have to hard code WSMQ configuration when deploying to different environments.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>=======</p><p>jboss.xml (bundled in your app)</p><p>=======</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;?xml version="1.0"?&gt;</p><p><span>&lt;!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.2//EN" "</span><a class="jive-link-external-small" href="http://www.jboss.org/j2ee/dtd/jboss_4_2.dtd" target="_blank">http://www.jboss.org/j2ee/dtd/jboss_4_2.dtd</a><span>"&gt;</span></p><p>&lt;jboss&gt;</p><p>&#160; &lt;enterprise-beans&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;session&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;ejb-name&gt;RemoteSystem&lt;/ejb-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;resource-ref&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;res-ref-name&gt;jdbc/DataSource&lt;/res-ref-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;jndi-name&gt;java:/DataSource&lt;/jndi-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/resource-ref&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;resource-ref&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;res-ref-name&gt;jms/WSMQCF&lt;/res-ref-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;jndi-name&gt;java:/WSMQCF&lt;/jndi-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/resource-ref&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;message-destination-ref&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;message-destination-ref-name&gt;jms/Queue&lt;/message-destination-ref-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;jndi-name&gt;java:/RemoteSystemQueue&lt;/jndi-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/message-destination-ref&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/session&gt;</p><p>&lt;!-- more bean configuration here--&gt;</p><p>&#160;&#160;&#160; &lt;message-driven&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;ejb-name&gt;MessageProcessor&lt;/ejb-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;activation-config&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property-name&gt;destinationType&lt;/activation-config-property-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property-value&gt;javax.jms.Queue&lt;/activation-config-property-value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/activation-config-property&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property-name&gt;useJNDI&lt;/activation-config-property-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property-value&gt;false&lt;/activation-config-property-value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/activation-config-property&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property-name&gt;destination&lt;/activation-config-property-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property-value&gt;${mq.incoming.queue}&lt;/activation-config-property-value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/activation-config-property&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property-name&gt;channel&lt;/activation-config-property-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property-value&gt;${mq.channel}&lt;/activation-config-property-value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/activation-config-property&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property-name&gt;hostName&lt;/activation-config-property-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property-value&gt;${mq.hostname}&lt;/activation-config-property-value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/activation-config-property&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property-name&gt;port&lt;/activation-config-property-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property-value&gt;${mq.port}&lt;/activation-config-property-value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/activation-config-property&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property-name&gt;queueManager&lt;/activation-config-property-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property-value&gt;${mq.mgrname}&lt;/activation-config-property-value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/activation-config-property&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property-name&gt;transportType&lt;/activation-config-property-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;activation-config-property-value&gt;CLIENT&lt;/activation-config-property-value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/activation-config-property&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/activation-config&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;resource-adapter-name&gt;wmq.jmsra.rar&lt;/resource-adapter-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;configuration-name&gt;Standard Message Inflow Driven Bean&lt;/configuration-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;!-- use the a JMS invoker bindings for message inflow driven beans --&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;invoker-bindings&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;invoker&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;invoker-proxy-binding-name&gt;message-inflow-driven-bean&lt;/invoker-proxy-binding-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/invoker&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/invoker-bindings&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;resource-ref&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;res-ref-name&gt;jms/WSMQCF&lt;/res-ref-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;jndi-name&gt;java:/WSMQCF&lt;/jndi-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/resource-ref&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;message-destination-ref&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;message-destination-ref-name&gt;jms/ExceptionQueue&lt;/message-destination-ref-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;jndi-name&gt;java:/ExceptionQueue&lt;/jndi-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/message-destination-ref&gt;</p><p>&#160;&#160;&#160; &lt;/message-driven&gt;</p><p>&#160; &lt;/enterprise-beans&gt;</p><p>&lt;/jboss&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>=======</p><p>wmq.jmsra-ds.xml</p><p>=======</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;connection-factories&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; &lt;!-- ==================================================================== --&gt;</p><p>&#160; &lt;!-- WebSphere MQ JMS/JCA Configuration&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p>&#160; &lt;!-- ==================================================================== --&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; &lt;mbean code="org.jboss.resource.deployment.AdminObject"</p><p>&#160;&#160;&#160;&#160;&#160; name="jca.wmq:name=sendtoqueue"&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;!-- Bind this AdminObject&#160; with the JNDI name ToRemoteSystemQueue --&gt;</p><p>&#160;&#160;&#160; &lt;attribute name="JNDIName"&gt;java:ToRemoteSystemQueue&lt;/attribute&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;!-- this MBean depends on the WebSphere MQ resource adapter --&gt;</p><p>&#160;&#160;&#160; &lt;depends optional-attribute-name="RARName"&gt;</p><p>&#160;&#160;&#160;&#160;&#160; jboss.jca:service=RARDeployment,name='wmq.jmsra.rar'</p><p>&#160;&#160;&#160; &lt;/depends&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;!-- this admin object is a javax.jms.Queue --&gt;</p><p>&#160;&#160;&#160; &lt;attribute name="Type"&gt;javax.jms.Queue&lt;/attribute&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;attribute name="Properties"&gt;</p><p>&#160;&#160;&#160;&#160;&#160; baseQueueManagerName=QM</p><p>&#160;&#160;&#160;&#160;&#160; baseQueueName=SEND.TO.QUEUE</p><p>&#160;&#160;&#160; &lt;/attribute&gt;</p><p>&#160; &lt;/mbean&gt;</p><p>&#160; </p><p>&#160; &lt;mbean code="org.jboss.resource.deployment.AdminObject"</p><p>&#160;&#160;&#160;&#160;&#160; name="jca.wmq:name=exceptionqueue"&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;!-- Bind this AdminObject&#160; with the JNDI name ExceptionQueue --&gt;</p><p>&#160;&#160;&#160; &lt;attribute name="JNDIName"&gt;java:ExceptionQueue&lt;/attribute&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;!-- this MBean depends on the WebSphere MQ resource adapter --&gt;</p><p>&#160;&#160;&#160; &lt;depends optional-attribute-name="RARName"&gt;</p><p>&#160;&#160;&#160;&#160;&#160; jboss.jca:service=RARDeployment,name='wmq.jmsra.rar'</p><p>&#160;&#160;&#160; &lt;/depends&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;!-- this admin object is a javax.jms.Queue --&gt;</p><p>&#160;&#160;&#160; &lt;attribute name="Type"&gt;javax.jms.Queue&lt;/attribute&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;attribute name="Properties"&gt;</p><p>&#160;&#160;&#160;&#160;&#160; baseQueueManagerName=QM</p><p>&#160;&#160;&#160;&#160;&#160; baseQueueName=EXCEPTION</p><p>&#160;&#160;&#160; &lt;/attribute&gt;</p><p>&#160; &lt;/mbean&gt;</p><p>&#160; </p><p>&#160; &lt;!-- JMS XA Resource adapter, use this to get transacted JMS in beans --&gt;</p><p>&#160; &lt;tx-connection-factory&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160; &lt;!-- Bind this ConnectionFactory with the JNDI name WSMQCF --&gt;</p><p>&#160;&#160;&#160; &lt;jndi-name&gt;WSMQCF&lt;/jndi-name&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;!-- Indicate that the connection factory supports XA transactions --&gt;</p><p>&#160;&#160;&#160; &lt;xa-transaction /&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;!-- rar-name is the actual RAR file name, in this case wmq.jmsra.rar --&gt;</p><p>&#160;&#160;&#160; &lt;rar-name&gt;wmq.jmsra.rar&lt;/rar-name&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;!-- connection-definition is the ConnectionFactory interface </p><p>&#160;&#160;&#160;&#160;&#160; defined in the ra.xml --&gt;</p><p>&#160;&#160;&#160; &lt;connection-definition&gt;javax.jms.ConnectionFactory&lt;/connection-definition&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;!--</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; Configuration for the ConnectionFactory. This defines the channel, hostname, port,</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; queueManager, and transportType properties for a client (TCP/IP) connection to WMQ</p><p>&#160;&#160;&#160; --&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="channel" type="java.lang.String"&gt;JAVA.CHANNEL&lt;/config-property&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="hostName" type="java.lang.String"&gt;hostname&lt;/config-property&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="port" type="java.lang.String"&gt;1415&lt;/config-property&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="queueManager" type="java.lang.String"&gt;QM&lt;/config-property&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="transportType" type="java.lang.String"&gt;CLIENT&lt;/config-property&gt;</p><p>&#160;&#160;&#160; </p><p>&#160;&#160;&#160; &lt;max-pool-size&gt;20&lt;/max-pool-size&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;!-- define security domain --&gt;</p><p>&#160;&#160;&#160; &lt;security-domain-and-application&gt;JmsXARealm&lt;/security-domain-and-application&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; &lt;/tx-connection-factory&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;/connection-factories&gt;</p><p>=======</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Here are a couple of resources that will help with configuration:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a class="jive-link-external-small" href="http://www.ibm.com/developerworks/websphere/library/techarticles/0710_ritchie/0710_ritchie.html">http://www.ibm.com/developerworks/websphere/library/techarticles/0710_ritchie/0710_ritchie.html</a></p><p><a class="" href="http://community.jboss.org/docs/DOC-12535">http://community.jboss.org/wiki/UsingWebSphereMQSeriesWithJBossASPart4</a></p><p><a class="jive-link-external-small" href="http://www-01.ibm.com/support/docview.wss?uid=pub1sc34692800">http://www-01.ibm.com/support/docview.wss?uid=pub1sc34692800</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Cheers!</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/596223#596223">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in IronJacamar at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>