[rabbitmq-discuss] stomp adapter behaviour
Raphael Seebacher
rse at open.ch
Fri May 10 10:01:21 BST 2013
hi all
i've just stumbled upon an interesting behaviour of the rabbitmq stomp adapter:
after having connected to a rabbitmq-server instance via stomp (e.g. using telnet), only the very first message to a destination is treated by the server (i.e. only the first SEND command succeeds). subsequent messages do not seem to be handled by the server (cf [1]). i have not found anything in the log files regarding that issue, nor in the documentation. when i close the connection and reconnect to the server again, i can again only submit one SEND command.
is that the intended behaviour of the adapter, have i forgotten to configure something, or may that indicate a bug?
thanks for your insights,
raphael
[1]
$ telnet 127.0.0.1 61614
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
CONNECT
accept-version:1.2
^@
CONNECTED
session:session-cAdfo6c8ju8X8tfKu7tgnA
heart-beat:0,0
server:RabbitMQ/3.1.0
version:1.2
SEND
destination:/queue/tmp
receipt:1
hello world
^@
RECEIPT
receipt-id:1
SEND
destination:/queue/tmp
receipt:2
hello world, again
^@
^]
telnet> quit
Connection closed.
$
[2] config file:
$ cat /etc/rabbitmq/rabbitmq.config
[
{rabbitmq_stomp, [{tcp_listeners, [{"127.0.0.1", 61614}]},
{default_user, [{login, "guest"},
{passcode, "guest"}]}]}
].
More information about the rabbitmq-discuss
mailing list