I also had an issue with rabbitmq-stomp with the tag rabbitmq_v1_5_3 against rabbitmq 1.5.5, which I would guess is the change that Nemanja just wrote about:<br><br><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
"I had this same issue. Luckily it's easy to take care of. Just edit src/rabbit_stomp.erl in the stomp adapter (assuming it's from hg tip) and change<br>line 364 <br>ChPid = rabbit_channel:start_link(?MODULE, self(), self(), U#user.username, list_to_binary(VirtualHost)),<br>
to<br>ChPid = rabbit_channel:start_link(self(), self(), U#user.username, list_to_binary(VirtualHost)),"</blockquote><div><br></div><div>Thanks for the tag, I'll give it a try.</div><div><br></div><div>Regards,</div>
<div><br></div><div>Gavin</div><br>On Wed, Jun 3, 2009 at 6:42 PM, Matthias Radestock <<a href="mailto:matthias@lshift.net">matthias@lshift.net</a>> wrote:<br>> Gavin,<br>><br>> Gavin M. Roy wrote:<br>>><br>
>> Hello,<br>>><br>>> I've been working on troubleshooting Stomp connectivity with RabbitMQ.<br>>> All of my R&D was on 1.5.3 with rabbitmq-stomp tag rabbitmq_v1_5_3<br>>> and it worked just fine. I went to setup a production test with<br>
>> RabbitMQ 1.5.5 and rabbitmq-stomp tip and it stopped working.<br>><br>> You shouldn't be using the rabbitmq-stomp tip with a v1.5.x server (*). The<br>> instructions that come with the STOMP adapter are quite explicit about that:<br>
> "If there is no specific tag for the version of the server you are using,<br>> try using the newest tag that has the same major and minor version number.".<br>><br>> With the STOMP repo from a few moments ago, that means you should have been<br>
> using the revision tagged rabbitmq_v1_5_3, but I've just added a<br>> rabbitmq_v1_5_5 tag now, so use that revision instead.<br>><br>><br>> Matthias.<br>> (*) In fact you should *never* use the tip of any of our repositories<br>
> (unless you are really, really, sure that is what you want to do). We use<br>> branching extensively, and 'tip' will point to whatever happens to be the<br>> last commit, which could be on any branch. See<br>
> <a href="http://www.rabbitmq.com/mercurial.html">http://www.rabbitmq.com/mercurial.html</a> for more details.<br>><br><br>