0 Replies Latest reply on Jul 2, 2013 11:03 PM by Michael Owen

    Jboss as 7 Integration with Websphere MQ v7.5

    Michael Owen Newbie

      Jboss Configuration File standalone-full.xml As follows:


      <subsystem xmlns="urn:jboss:domain:resource-adapters:1.0">

      <resource-adapters>

      <resource-adapter>

      <archive>

      wmq.jmsra.rar

      </archive>

      <transaction-support>NoTransaction</transaction-support>

      <connection-definitions>

      <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnect ionFactoryImpl" jndi-name="java:jboss/DEMO" pool-name="DEMO">

      <config-property name="port">

      1414

      </config-property>

      <config-property name="channel">

      SYSTEM.DEF.SVRCONN

      </config-property>

      <config-property name="hostName">

      ***.***.*.***

      </config-property>

      <config-property name="transportType">

      BINDINGS

      </config-property>

      <config-property name="queueManager">

      DEMO

      </config-property>

      </connection-definition>

      </connection-definitions>

      <admin-objects>

      <admin-object class-name="com.ibm.mq.connector.outbound.MQQueueProxy" jndi-name="java:jboss/Q_demo" pool-name="Q_demo">

      <config-property name="baseQueueManagerName">

      DEMO

      </config-property>

      <config-property name="baseQueueName">

      Q_demo

      </config-property>

      </admin-object>

      </admin-objects>

      </resource-adapter>

      </resource-adapters>

      </subsystem>


      Jboss start the console displays the following information:


      14:11:57,125 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-5) JBAS010406: Registered connection factory java:jboss/DEMO

      14:11:57,171 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-5) JBAS010405: Registered admin object at java:jboss/Q_demo

      14:11:57,234 INFO [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-5) IJ020002: Deployed: file:/E:/jboss-as-7.1.1.Final/standalone/tmp/vfs/temp7b7560686bdacc3a/wmq.jmsra.rar-e67600f120ad74a/contents/

      14:11:57,234 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-1) JBAS010401: Bound JCA AdminObject [java:jboss/Q_demo]

      14:11:57,234 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-2) JBAS010401: Bound JCA ConnectionFactory [java:jboss/DEMO]


      Description above information has been registered successfully!


      How to configure client access in spring.xml or through JNID in java code?