to connect to a remote broker in 4.x of ActiveMQ just use the tcp:// connector.
Try
tcp://remotehost:61616
If that doesn't work - maybe DNS is not working for you; so try using
the IP address
tcp://1.2.3.4:61616
etc
On 6/26/06, kirkal <[EMAIL PROTECTED]> wrote:
hi!
I'm a relative newbie to JMS.
would really like to know how to
connect to a remote ActiveMQ broker.
i use the following line :
ActiveMQConnectionFactory connectionFactory = new
ActiveMQConnectionFactory("remote://tcp://remotehost:61616");
but i don't seem to be able to connect at all and the program goes ahead and
uses the embedded connection.
please let me know how to configure activeMQ to use a remote broker.
thanks!
please let me know!
--
View this message in context:
http://www.nabble.com/ActiveMQ-remote-broker-problem%21-t1846354.html#a5039866
Sent from the ActiveMQ - User forum at Nabble.com.
--
James
-------
http://radio.weblogs.com/0112098/