Re: [masstransit-discuss] RabbitMQ Error Queue

286 views
Skip to first unread message

Dru Sellers

unread,
Aug 16, 2012, 10:37:09 AM8/16/12
to masstrans...@googlegroups.com
interesting, those messages shouldn't end up in the error queue. They should just disappear. They will only 'hang around' if there is a 'subscriber'

-d

On Thu, Aug 16, 2012 at 6:39 AM, Wiredness <si...@hargrav.es> wrote:
I am trying to figure out how to use Mass Transit correctly, if I don't have any consumers all of my messages are ending up in the _error queue over time. If I have a consumer it all seems to work fine. Obviously I want my messages to hang around until something is ready to consume them.

This is the code I am using:

Bus.Initialize(x =>
{
    x.ReceiveFrom("rabbitmq://im-dev01/TestQueue");
    x.UseRabbitMqRouting();
});

for (int i = 0; i < 1000; i++)
{
    Bus.Instance.Publish(new PlayerGroupMovementMessage { PlayerGroupId = i, AddToGroup = true, ProcessId = 3 });
}

--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To post to this group, send email to masstrans...@googlegroups.com.
To unsubscribe from this group, send email to masstransit-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/masstransit-discuss/-/j1xLaht5E98J.
For more options, visit https://groups.google.com/groups/opt_out.



Reply all
Reply to author
Forward
0 new messages