Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IServiceBusClient should implement Document Message pattern #21

Open
MovGP0 opened this issue Jan 24, 2016 · 2 comments
Open

IServiceBusClient should implement Document Message pattern #21

MovGP0 opened this issue Jan 24, 2016 · 2 comments

Comments

@MovGP0
Copy link

MovGP0 commented Jan 24, 2016

DocumentMessage is one of the Enterprise Integration Patters and should be supported as well as the Event Message, Command Message, and Request-Reply patterns.

Therefore there should be an Documents property on the IServiceBusClient<...> interface reflecting this pattern. The property could throw an NotSupportedException when not applicable.

@christopherread
Copy link
Owner

Hi, yes I played around with the idea of just creating an IBus with only Messages property, which wouldn't distinguish by message type, but still have the endpoint concept. It would probably be done in parallel with ServiceBus rather than extending it.

@christopherread
Copy link
Owner

Splitting the message types like I've done currently does provide some useful asymmetries for partitioning topics and subscriptions, but I can see how people might find a more generic message bus concept useful.

FYI, there is a IMessageBus in Obvs, but currently only has a super basic Subject encapsulating implementation. I use it in prod as a simple internal bus, but you can use the ServiceBus as a local bus now, meaning I've needed it less.

christopherread pushed a commit that referenced this issue Jan 11, 2021
Update to latest Apache.NMS.ActiveMQ version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants