I'm using the latest svn revision of the as3 stomp code.
The SubscribeHeaders object does not contain an 'exchange' header, or a
'routing_key' header, both of which are required in order to subscribe to
fanout or topic exchanges in rabbitmq. Without the ability to specify
these headers, it is not possible to broadcast messages.
I was able to fix this functionality very quickly, by adding the required
headers to the SubscribeHeaders.as file, and recompiling the code. After
making the necessary adjustments to the Sender and Receiver clients I was
able to then successfully send messages via the default amq.topic exchange
in rabbitmq.
Although there is a bit of AMQP bleeding through here, this is a very
trivial addition, and would provide some nice added functionality to future
version of this client library.
I have attached my modified versions of SubscribeHeaders.as where I have
added the additional headers.
Original issue reported on code.google.com by joes.mai...@gmail.com on 23 Sep 2008 at 5:05
Original issue reported on code.google.com by
joes.mai...@gmail.com
on 23 Sep 2008 at 5:05Attachments: