I guess it should be consistent with what TcpTransportServer does when
binding to a broker Url.
There is an open discussion in
http://issues.apache.org/activemq/browse/AMQ-2094 and I think the
upshot of that is to do the minimum interpretation of what is passed
in and let the OS resolve the string.

See org.apache.activemq.transport.tcp.TcpTransportServer.bind()

        URI bind = getBindLocation();
        String host = bind.getHost();
        host = (host == null || host.length() == 0) ? "localhost" : host;
        InetAddress addr = InetAddress.getByName(host);


2009/7/17 Bruce Snyder <bruce.sny...@gmail.com>:
> On Fri, Jul 17, 2009 at 12:36 AM, mkonda<kn...@hotmail.com> wrote:
>>
>> I think (not just in my case), it should be configurable - defaulting to
>> localhost.
>>
>> One of the issues I have is to connect to the server remotely - to monitor
>> and manage - which is THE main purpose of JMX. This is not being served if
>> you leave the hardcoding.
>
> I also agree, here's the issue:
>
> https://issues.apache.org/activemq/browse/AMQ-2328
>
> Now I'm wondering how configurable this should be made. I've added a
> simple getter/setter pair for the hostname but I'm also thinking of
> adding a couple booleans to control automatic resolution of the
> canonical hostname or the host address. What's the opinion, are these
> sufficient?
>
> Bruce
> --
> perl -e 'print 
> unpack("u30","D0G)u8...@4vyy9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> ActiveMQ in Action: http://bit.ly/2je6cQ
> Blog: http://bruceblog.org/
> Twitter: http://twitter.com/brucesnyder
>



-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Reply via email to