[rabbitmq-discuss] How to use Presence Exchange Plugin using STOMP and RabbitMQ Server v3.2.1?

Emile Joubert emile at rabbitmq.com
Mon Jan 13 12:45:58 GMT 2014


Hi Joshua,

On 12/01/14 15:04, Joshua Lim wrote:

> Immediately after that, the guest STOMP connection crashed when I
> had expect it to receive messages after user joshua has subscribed to
> "presence" exchange.  
> 
> What have I done wrongly?


When I try this I see the following error in the logfile:

** Reason for termination ==
** {badarg,[{erlang,binary_to_list,["bind"],[]},


This looks like a problem in the presence exchange. I have submitted a
pull request to the author which appears to solve the problem. With the
patch applied you should see messages like this being delivered to the
first subscriber:


MESSAGE
subscription:test
destination:/exchange/presence
message-id:T_test@@session-Ip9MZyrYrNyRHqVNDM9lpA@@1
action:bind
exchange:presence
queue:amq.gen-1gqzkBxb5AYbBFXGF2GNxw
key:joshua






-Emile





More information about the rabbitmq-discuss mailing list