I have two JBoss instances. I'm using a local queue on instance 1 with a MDB listener whose job it is to post the message to the remote queue on instance 2.
I define an InitalContext for the remote server with no exceptions and establish a session (also with no exceptions) but when I call send the system just hangs.
I'm connecting to the ConnectionFactory for now. Do I need to connect using one of the other factories? OILConnectionFactory or RMIConnectionFactory?
Either Works Fine. Helps alot if you have a listener bound to the queue so that the messages actually get consumed :-)