Erlang/OTP Forums

Author Message

<  RabbitMQ mailing list  ~  Starting the STOMP adapter automatically (was STOMP adapter

tonyg
Posted: Wed May 07, 2008 4:03 pm Reply with quote
User Joined: 07 Nov 2006 Posts: 199
Hi Carl,

I've added a README to the rabbitmq-stomp repository, including the
section below. Please let me know if this works for you!


---cut---
Configuring the broker on Debian to start the plugin automatically
---------------------------------------------------------------------------

If you've installed the rabbitmq-server package on debian or ubuntu,
the broker will pick up extra configuration from
/etc/default/rabbitmq. To tell the server to start your plugin, first
make sure it is compiled, and then add the following text to
/etc/default/rabbitmq:

RABBIT_ARGS='
-pa /path/to/rabbitmq-stomp/ebin
-rabbit
stomp_listeners [{"0.0.0.0",61613}]
extra_startup_steps [{"STOMP-listeners",rabbit_stomp,kickstart,[]}]'

making sure to update the "/path/to/rabbitmq-stomp/ebin" appropriately
for your system. Then restart the broker with

sudo /etc/init.d/rabbitmq-server restart

You should then be able to connect to port 61613 using a STOMP client
of your choice.
---cut---


Regards,
Tony


Tony Garnock-Jones wrote:
> Hi Carl,
>
> Carl Bourne wrote:
>> Tested this earlier today works perfectly!
>
> Good news Smile Thanks for the report.
>
>> Just a quick one
View user's profile Send private message MSN Messenger

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum