users@glassfish.java.net

Re: JMS: GF <- remote OpenMQ with dynamic configuration?

From: <glassfish_at_javadesktop.org>
Date: Wed, 02 Jun 2010 09:12:55 PDT

Instead of working with OpenMQ, my task is to make Websphere MQ as third party JMS provide. I do not have to use JMSJCA, GF V3 already let you to enlist thrird party jms provider. Here is what I did,
1. install the ibm mq rar to GF V3.
2. annotate mdb as BEAN managed transaction, I got into same TxMgr problem (MQJCA1004 extended transactional client not installed), the GF v3 ejb container will activate end point as transacted, and I haven't installed mq's extended transactional client, so I got into activation exception.
3. Similarly sun-ejb-jar, add <mdb-resource-adapter> to indicate different adapter as from embedded imq.
 <name>RemoteIBMMQJMSEJB</name>
        <ejb>
            <ejb-name>ibmmqmdb</ejb-name>
<mdb-resource-adapter>
<resource-adapter-mid>[b]wmq.jmsra[/b]</resource-adapter-mid>
                <activation-config>
                    <activation-config-property>
                        <activation-config-property-name>transportType</activation-config-property-name>
                        <activation-config-property-value>CLIENT</activation-config-property-value>
                    </activation-config-property>
             ......add all activation config here or annotate in MDB
 </activation-config>
            </mdb-resource-adapter>
        </ejb>
......
[Message sent by forum member 'rchen_lasc']

http://forums.java.net/jive/thread.jspa?messageID=472426