masstransit

MassTransit message mis-typing

时光怂恿深爱的人放手 提交于 2019-11-30 04:06:08
问题 I am running into a base-typing problem with messages I am attempting to publish through MassTransit. Consider the following: [Serializable] public abstract class Event : CorrelatedBy<Guid> { public Guid CorrelationId { get; set; } public abstract string EventName { get; } public override string ToString() { return string.Format("{0} - {1}", EventName, CorrelationId); } } [Serializable] public class PersonCreated : Event { public PersonCreated(Guid personId, string firstName, string lastName)

What does MassTransit add to RabbitMQ?

北战南征 提交于 2019-11-29 23:50:47
What is the benefit of building on top of MassTransit compared to building directly on top of RabbitMQ ? I believe one benefit provided by MassTransit is 'type' exchange (publish subscribe by interface / type) so the content of the message is structured, compared to plain RabbitMQ exchanges where the content of the message is unstructured text / blob. What other benefits provided by MassTransit? Things that MT adds on top of just using RabbitMQ: Multithreaded, concurrent consumers Message serialization, including interfaces, and versioning Automatic exchange bindings, publish conventions Sagas

How to implement a saga using a scatter/Gather pattern In MassTransit 3.0

不想你离开。 提交于 2019-11-29 01:27:57
问题 Jimmy Boagard describes a McDonalds fast food chain here comparing it to a scatter gather pattern. Workflow image stolen from above article: Initial Implementation Thoughts: To have a common interface for all of the types of FoodOrdered events that all of the food stations would get and then each food station would be able to consume/create its respective item and publish a common done event. Ex: fries and burger station gets a message regarding an order of Fries, The fries station consumes

What does MassTransit add to RabbitMQ?

僤鯓⒐⒋嵵緔 提交于 2019-11-28 20:55:46
问题 What is the benefit of building on top of MassTransit compared to building directly on top of RabbitMQ? I believe one benefit provided by MassTransit is 'type' exchange (publish subscribe by interface / type) so the content of the message is structured, compared to plain RabbitMQ exchanges where the content of the message is unstructured text / blob. What other benefits provided by MassTransit? 回答1: Things that MT adds on top of just using RabbitMQ: Multithreaded, concurrent consumers Message

NServiceBus vs MassTransit

怎甘沉沦 提交于 2019-11-28 03:14:19
I'm struggling with a pros and cons list regarding NServiceBus and MassTransit. Now I know there is already a thread in here, but it doesn't really answer my questions. Here is what I've read so far: NServiceBus, yes it's licensed and it doesn't come for free. MassTransit, yes it's open source, but the documentation seems to lack somewhat. NServiceBus is older, and has more references. It's hard to find stuff about MassTransit, but I'm open-minded. However I have to deliver a solid solution, and so I have to ask. So please, someone with experience with both frameworks. Why should I choose

NServiceBus vs MassTransit

这一生的挚爱 提交于 2019-11-27 05:05:29
问题 I'm struggling with a pros and cons list regarding NServiceBus and MassTransit. Now I know there is already a thread in here, but it doesn't really answer my questions. Here is what I've read so far: NServiceBus, yes it's licensed and it doesn't come for free. MassTransit, yes it's open source, but the documentation seems to lack somewhat. NServiceBus is older, and has more references. It's hard to find stuff about MassTransit, but I'm open-minded. However I have to deliver a solid solution,