-
1. Re: how to sending message to other jboss server's queue
mikefinn Sep 12, 2016 9:43 AM (in response to aluo)Aaron,
What EAP versions are you going between?
The connection details vary in recent versions (5 vs 6 vs 7). I would recommend checking out the helloworld-jms quick start for the respective version. It has a sample remote JMS client in it. Note that if EAP 6 or 7 you have to add a destination name for the 'exported' version of your queue (accessible outside the JVM).
From a design perspective, you may also want to consider using the JMS Bridge to communicate across instances. It will handle connectivity interruptions much better (where your current code would just fail-fast), and will scale much better.
Mike
-
2. Re: how to sending message to other jboss server's queue
mnovak Sep 23, 2016 2:11 AM (in response to aluo)It seems your code is correct so there might be issue in configuration. Just to double check - could you confirm that IP address 192.168.3.168 is really address of the remote server (and not the local).
How is "jms/factory/QCF" connection factory configured? To which server it's creating connections?