activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From demonair <demon...@gmail.com>
Subject Re: Can not connect to another machine?
Date Mon, 22 Jun 2009 20:30:15 GMT



bsnyder wrote:
> 
> 
> The examples demonstrate the use of the broker URL to create a
> connection factory for a particular broker. The broker URL is noted in
> the activemq.xml configuration for the broker's transport connector
> configuration, specifically the uri attribute.
> 
> 


Sorry for don't understand
but since it is to connect to another machine you should just change the
path in the program as follows:

private String url = "tcp://101.101.101.101:61616";

thanks bruce.
-- 
View this message in context: http://www.nabble.com/Can-not-connect-to-another-machine--tp24152072p24154824.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message