rabbitmq / rabbitmq-stomp

RabbitMQ STOMP plugin
https://www.rabbitmq.com/stomp.html
Other
49 stars 28 forks source link

Can I send a message with mandatory=True? #106

Closed shuoqingding closed 7 years ago

shuoqingding commented 7 years ago

If I understand the code correctly it seems to me that the mandatory flag is hard coded to False in the code. I wonder if there is a reason for not supporting it?

Actually I am mainly interested in knowing a message is published to a queue (like, return False if the dest queue doesn't exist). Is there anyway to achieve that with rabbitmq-stomp? Thanks!

dcorbacho commented 7 years ago

Please post questions to rabbitmq-users or Stack Overflow. RabbitMQ uses GitHub issues for specific actionable items engineers can work on, not questions. Thank you.

michaelklishin commented 7 years ago

You can't, that flag only makes sense for AMQP 0-9-1 publishers. STOMP doesn't have an alternative.

shuoqingding commented 7 years ago

@michaelklishin Thank you for the reply! I will go with AMQP then.

@dcorbacho I will go to Stack Overflow next time! Thanks!