users@glassfish.java.net

Re: Integrating multiple external JMS service providers with ...

From: <forums_at_java.net>
Date: Tue, 28 Jun 2011 03:56:19 -0500 (CDT)

yes, it is possible (the configuration depends somehow on the direction -
inbound/outbound).

possible scenario:
1. put the jars you will need to connect to the foreign jms provider into
your domain/lib
2. define some xml files (let's say foreignjms[1..10].xml following the
sun-resources_1_4.dtd/glassfish-resources_1_5.dtd and describe the connection
factory (in resource-adapter-config/connector-connection-pool)
3. deploy sun-jms-adapter.rar (asadmin deploy  --target ${AS_CLUSTER}
sun-jms-adapter.rar)
4. deploy the foreignjms[1..10].xml (asadmin add-resources --target
${AS_CLUSTER} foreignjms[1..10].xml)
5. in your code/depl. desc. you will need a normal jndi lookup to use the
foreign connection factories
see also
http://wiki.open-esb.java.net/Wiki.jsp?page=JMSJCAReadme
 


--
[Message sent by forum member 'makiey']
View Post: http://forums.java.net/node/816640