I''m working some more on stompserver, but not having used MQ software that much I''m not really sure of the best way to implement the dead letter queue. At the moment if something goes wrong and a message can''t be delivered, I create a queue called original_queuename.dlq and enqueue the aborted message there. So if a message being consumed from /queue/test isn''t delivered for some reason, it gets enqueued to /queue/test.dlq. Comments?
Francis Cianfrocca
2006-Oct-27 04:21 UTC
[Eventmachine-talk] OT: message queue dead letter queue
On 10/27/06, snacktime <snacktime at gmail.com> wrote:> > I''m working some more on stompserver, but not having used MQ software > that much I''m not really sure of the best way to implement the dead > letter queue. At the moment if something goes wrong and a message > can''t be delivered, I create a queue called original_queuename.dlq > and enqueue the aborted message there. So if a message being consumed > from /queue/test isn''t delivered for some reason, it gets enqueued to > /queue/test.dlq. > > Comments? > _______________________________________________I''m missing something. Is stompserver an effort to integrate with ActiveMQ? And doesn''t AMQ have its own ideas abou dead letter queues? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/eventmachine-talk/attachments/20061027/d4036fbf/attachment.html
> I''m missing something. Is stompserver an effort to integrate with ActiveMQ? > And doesn''t AMQ have its own ideas abou dead letter queues?stompserver is a simple mq server for stomp. It would be used in place of activemq if you don''t need all the activemq features like distributed brokers. Chris
Francis Cianfrocca
2006-Oct-27 14:26 UTC
[Eventmachine-talk] OT: message queue dead letter queue
On 10/27/06, snacktime <snacktime at gmail.com> wrote:> > > I''m missing something. Is stompserver an effort to integrate with > ActiveMQ? > > And doesn''t AMQ have its own ideas abou dead letter queues? > > stompserver is a simple mq server for stomp. It would be used in > place of activemq if you don''t need all the activemq features like > distributed brokers.MQ systems often have a systemwide dead letter queue. One that I wrote once did it more like your suggestion, by leaving messages in queues but with a selectable "exception" flag after one or more unsuccessful delivery attempts. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/eventmachine-talk/attachments/20061027/2e6a1458/attachment.html