Re: How does SwiftMq determine what hostname to use in responses to JNDI Lookups
Wednesday, June 19, 2002 12:13 PM
A SwiftMQ router uses the normal InetAddress to get the host name. The behavior you've described can occur but I guess it's a matter on how to configure the DNS on the host (append domain or not). Anyway, you can workaround it by specifying a "connectaddress" (the IP) for the JMS listener. Actually this is intended for NAT but it works in any case. If you specify the connect address, it is passed with the connection factory you lookup by JNDI to the client and then used from it to connect to the router.