[rabbitmq-discuss] Erlang Client - Possible to recover routing key?
Schlomer, Loren
Loren.Schlomer at echostar.com
Mon Apr 20 19:03:19 BST 2009
This was exactly what I needed! Thank you!
-ls
-----Original Message-----
From: Matthias Radestock [mailto:matthias at lshift.net]
Sent: Monday, April 20, 2009 11:12 AM
To: Schlomer, Loren
Cc: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] Erlang Client - Possible to recover
routing key?
Loren,
Schlomer, Loren wrote:
> The tuple returned from lib_amqp:get/3 only seems to include the
> mime-type and the Payload.
> Is there a way to retrieve the routing key when pulling messages off
> a queue?
You'll need to use the core api rather than the lib_amqp convenience
wrappers, i.e. amqp_channel:call(#'basic.get'{queue = Q}).
Regards,
Matthias.
More information about the rabbitmq-discuss
mailing list