Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I fix error with MassTransit [closed]

I am trying to use MassTransit, I installed it using nuget and am just using their base example:

Quick start guide

When I run this code I get an exceptions (with the inner exceptions listed):

  • "An exception was thrown during service bus creation"
  • "Failed to create the bus service: SubscriptionRouterService"
  • "msmq-pgm://235.109.116.115:7784/test_queue_control_subscriptions => An exception was thrown during Send"
  • "Length cannot be less than zero.\r\nParameter name: length"

Is there any help anyone can give me on getting past this error?

Notes: MSMQ is installed, and I've used it for WCF based MSMQ services. All the queues look like they are being created in MSMQ before that error line

like image 246
Solmead Avatar asked Mar 06 '12 20:03

Solmead


People also ask

What is Masstransit saga?

A saga is a long-lived transaction managed by a coordinator. Sagas are initiated by an event, sagas orchestrate events, and sagas maintain the state of the overall transaction. Sagas are designed to manage the complexity of a distributed transaction without locking and immediate consistency.

What is skipped queue in Rabbitmq?

A queue may contain more than one message type, the message type is used to deliver the message to the appropriate consumer configured on the receive endpoint. If a received message is not handled by a consumer, the skipped message will be moved to a skipped queue, which is named with a _skipped suffix.


1 Answers

We left out the following line to make the Getting Started sample to work:

sbc.UseMulticastSubscriptionClient();

like image 120
Ilya Avatar answered Nov 07 '22 16:11

Ilya