Configuring IRIS WAR
You can redirect all the communications from IRIS to the JMS queue successfully using the following procedure.
- Create a new connection.properties file in the *-iris.war/WEB-INF/classes folder (if not available) and set the property as invocationMethod=JMS.The properties and their values are case sensitive.
- Enter the following resource reference in your WEB-INF/web.xml to improve queue connection factory and queue definition for request and response.
<resource-ref id="ResourceRef_jmsConnectionFactory"> <description>Used to get connections to JMS for Component Queue</description> <res-ref-name>jms/jmsConnectionFactory</res-ref-name> <res-type>javax.jms.ConnectionFactory</res-type> <res-auth>Container</res-auth> </resource-ref> <resource-ref id="ResourceRef_t24ComponentQueuee"> <description>OFS queue</description> <res-ref-name>queue/t24ComponentQueue</res-ref-name> <res-type>javax.jms.Queue</res-type> <res-auth>Container</res-auth> </resource-ref> <resource-ref id="ResourceRef_t24ComponentReplyQueue"> <description>OFS reply queue</description> <res-ref-name>queue/t24ComponentReplyQueue</res-ref-name> <res-type>javax.jms.Queue</res-type> <res-auth>Container</res-auth> </resource-ref>
- Enter the following resource reference in your WEB-INF/jboss-web.xml to map the static queue definitions to a JNDI file available in JBoss application server.
<!-- JMS Configuration for Debugging --> <resource-ref> <res-ref-name>jms/jmsConnectionFactory</res-ref-name> <res-type>javax.jms.ConnectionFactory</res-type> <jndi-name>java:/ConnectionFactory</jndi-name> </resource-ref> <resource-ref> <res-ref-name>queue/t24ComponentQueue</res-ref-name> <res-type>javax.jms.Queue</res-type> <jndi-name>java:/queue/t24OFSQueue</jndi-name> </resource-ref> <resource-ref> <res-ref-name>queue/t24ComponentReplyQueue</res-ref-name> <res-type>javax.jms.Queue</res-type> <jndi-name>java:/queue/t24OFSReplyQueue</jndi-name> </resource-ref>
The above configuration is for sending the mapping request and response queues to t24OFSQueue and t24OFSReplyQueue, respectively. You can also choose any other queue available for your configurations, if required.
- Redeploy WAR.
All the communications from IRIS are redirected to the JMS queue successfully.
In this topic