[jboss-user] [JBoss Messaging] - Re: How to send messages to a remote clustered queue (using

TheOverlord do-not-reply at jboss.com
Wed Jul 30 17:39:38 EDT 2008


I took a look at the examples but I'm still confused.

I see in the examples/distributed-queue example how it gets the connection factory from the initial context (DistributedQueueExample.java)


  |          ic = new InitialContext();
  |          cf = (ConnectionFactory)ic.lookup("/ClusteredConnectionFactory");
  | 


That is not going to work with me since there is no ClusteredConnectionFactory on machine1 from where I'm trying to send the messages from. This example assumes that the sender is residing in the same AS as the queue it self which is not the case for me.

Please help me.


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

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



More information about the jboss-user mailing list