[rabbitmq-discuss] Erlang Client - Possible to recover routing key?

Matthias Radestock matthias at lshift.net
Mon Apr 20 18:12:12 BST 2009


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