Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Description
HornetQ remote acceptors and connectors can be configured using socket-bindings.
The current code tries to resolve the socket address to get its host name that is serialized into JMS connection factories.
The client will then lookup a CF with the hostname to connect to AS7's HornetQ server. If the clients can not look up the host name, the connection will fail.
The messaging subsystem should not try to resolve the address but serialize it "as is" so that the client will use it directly.
The only exception is that by default, we use the loopback address for RemoteConnectionFactory. We need to check whether the socket address is a loopback and resolve it before serializing it for the client use.