activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Mielke <tors...@fusesource.com>
Subject Re: help: ruby listener/publisher
Date Tue, 20 Nov 2012 09:12:09 GMT
Hi Tony,


The conf/ folder contains a couple of different broker configurations for illustration purposes.

If you run the broker using bin/activemq, it will by default use the configuration in conf/activemq.xml.

So it is this broker config file that you need to change (or supply a different configuration
to be used at startup using the xbean:file: argument).

Upon startup the broker should print out that it created a stomp listener on port 61618.

In your ruby clients you need to ensure that they connect to the url stomp://datafeeds.networkrail.co.uk:61618
and not to some perhaps hardcoded default url. 

The connection should then work.

Hope this helps,


Torsten Mielke
torsten@fusesource.com
tmielke.blogspot.com


On Nov 19, 2012, at 9:04 PM, topsweep1506 wrote:

> Hi im using the activemq broker  ive added this to the conf\activemq.xml file
> or do i add this to the conf\activemq-stomp.xml?
> 
> <beans>
> ...
> <transportConnectors>
> ...
> <transportConnector name="stomp"
> uri="stomp://datafeeds.networkrail.co.uk:61618"/>
> </transportConnectors>
> ...
> </beans>
> 
> i havnt changed anything in the ruby listener/producer rb files
> 
> TONY


Mime
View raw message