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.