Hi,

One common oversight is not starting the connection. Did you call connection.start()?

BTW, you might want to use AMQ 4.0.1 as it has more features and bug fixes. :)
http://www.activemq.org/site/activemq-401-release.html

Regards,
Adrian

kirkal 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.


Reply via email to