activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Motl <m...@orcsoftware.com>
Subject Re: retrieve activemq broker's port
Date Tue, 13 Nov 2007 18:10:42 GMT

It works, fine.
BTW, I used getUri() instead.


jlim wrote:
> 
> Hi,
> 
> try retrieving the transport connectors  (BrokerService -  
> getTransportConnectors() ) from the broker  then we should be able to 
> get the port  from  TransportConnector - getConnectUri().getPort() for 
> each of the connectors configured to the broker.
> 
> 
> Regards,
> Jonas
> 
> 
> Motl wrote:
>> Hi,
>>
>> When creating a BrokerService, zero port could be specified,  telling the
>> broker application to bind on any free port.
>> Is it possible to retrieve the assigned port afterwards?
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/retrieve-activemq-broker%27s-port-tf4796743s2354.html#a13731432
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message