[jboss-user] [Messaging, JMS & JBossMQ] - Re: MDB and connection to a remote queue with transaction

weston.price@jboss.com do-not-reply at jboss.com
Wed Sep 27 13:18:44 EDT 2006


Hi,

The 'java:/' namespace is not available remotely change your lookup to be


  |   Context remoteCtx = new InitialContext(env);
  |    Queue queue = (Queue)remoteCtx.lookup("QueueName");
  |    QueueConnectionFactory queueFactory = (QueueConnectionFactory)    
  | 
  | //Change
  | remoteCtx.lookup("ConnectionFactory");
  | 
  | 
  | //Or
  | 
  | remoteCtx.lookup("XAConnectionFactory");
  | 
  | 




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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974621



More information about the jboss-user mailing list