[rabbitmq-discuss] STOMP and transactions

Tony Garnock-Jones tonyg at rabbitmq.com
Fri Aug 20 19:32:41 BST 2010


Göran Krampe wrote:
> Swedish! :)

visst :) fast det har varit flera år sen jag brukade språket på allvar.

> Hehe, yeah, I started with CoilMQ but I realized it doesn't even do
> receipts. I must say that getting Rabbit up and running was NOT trivial.
> You guys need to put out a Howto for that.

Apologies. I'm guessing that it was rabbitmq-stomp in particular that was
tricky, rather than the core AMQP server? The guys are planning to release
binary (.ez) plugins for STOMP etc with the next release, I think, so that
should ease the pain significantly.

> Right, this was my guess. But then I tried making a sunit test and...
> well, I start two sessions, let the first set up a subscription to
> 'wonderland', then let the second session do BEGIN and send two messages
> to 'wonderland', now, my naive understanding was that session one should
> not receive any message until session2 does COMMIT.

Did you include the "transaction" header on the SEND? You have to tell the
server *which* transaction you want the SEND (or the ACK) to be included within.

Regards,
  Tony


More information about the rabbitmq-discuss mailing list