I am using Lingo / ActiveMQ for client server communication an ran into an
issue with multihomed machines. When the client is on a multihomed machine
and sends a request to the sever, the server is not able to communicte back
to the client because the client passed the internal / non public IP when
communicating with the server.

With RMI, I used to set the System property java.rmi.server.hostname to the
public IP of the multihomed machine and when this is set, Java RMI uses this
value instead of the one returned by java.net.InetAddress (see
http://java.sun.com/j2se/1.4.2/docs/guide/rmi/javarmiproperties.html).

Is there a similar setting for use with Active MQ? If not, how do you
suggest we resolve this problem.

Thanks,
Sanjiv**

Reply via email to