For inbound, define your configuration in standardjboss.xml and then in 
jboss.xml:

    <message-driven>
  |       <ejb-name>RouterMDB</ejb-name>
  |       <destination-jndi-name>...</destination-jndi-name>
  |       <configuration-name>Remote Message Driven Bean</configuration-name>
  | 

It's better to use a -ds.xml file (JCA) connection to your provider outbound.

Then you simply do:

  | ConnectionFactory cf = 
  |   new InitialContext().lookup("java:/RemoteJmsXA");
  | Connection c = cf.createQueueConnection();
  | try { 
  | } finally {
  |  c.close();
  | }



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966292#3966292

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966292
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to