activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From topsweep1506 <topsweep1...@yahoo.co.uk>
Subject Re: help: ruby listener/publisher
Date Wed, 21 Nov 2012 12:06:26 GMT
Ive even got a pdf file here telling me how to do it but following these
instructions dosnt work either just wish it was as easy as it says in the
pdf file lol

In the pdf file these is the way it says to do it

6.3.3 Configure the broker
Check that the the Stomp connector is present in the broker configuration
file (in InstallDir/conf/activemq.xml) as follows:

<beans>
...
<transportConnectors>
...
<transportConnector name="stomp"
uri="stomp://datafeeds.networkrail.co.uk:61618"/>
</transportConnectors>
...
</beans>


Run the default broker by entering the following at a command line:
activemq
The default broker automatically takes its configuration from the default
configuration file.

6.3.5 Run the Ruby listener
To connect the listener tool to the stomp://hostname:port endpoint (Stomp
over TCP), change directory
to ActiveMQInstallDir/example/ruby and enter the following command:
ruby listener.rb

6.3.6 Run the Ruby publisher
To connect the publisher tool to the stomp://hostname:port endpoint (Stomp
over TCP), change
directory to ActiveMQInstallDir/example/ruby and enter the following
command:
ruby publisher.rb


If only it was that easy but im not giving up yet

TONY





--
View this message in context: http://activemq.2283324.n4.nabble.com/help-ruby-listener-publisher-tp4659540p4659622.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message