You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rabbitmq-users
Can i get the message id from the consumer header with the delivery tag?
and i think message id is set automatically when the consumer reads or consumes the message.
Luke Bakken
unread,
Mar 13, 2019, 1:11:43 PM3/13/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rabbitmq-users
Hi Nabeel,
I am assuming that you are using the Pika library. You use the BasicProperties class when publishing a message and an instance of this class is available when a message is consumed. The message_id field will contain the information, but please note it is up to your applications to set a value when published.
Again, the Pika repository has examples of this. For instance, here: