question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Generic Message Receiver

See original GitHub issue

A simple way to use MassTransit to dispatch messages, without having to build a transport.

Similar to what was done to support Azure Functions, but not specific to any transport.

The generic receiver would be able to accept a real MassTransit message, or plain old JSON, or any type that has already been deserialized (think, <T>), and dispatch it through the MassTransit consumer pipeline.

Some basic extensibility points should be available, including a Publish and Send abstraction, that could be connected to anything (or nothing).

  • Multiple overloads for message delivery
    • JSON message envelope (MassTransit)
    • JSON, raw, with message type overload
    • <T>, an already deserialized message type
  • Exceptions should be propagated all the way up to the receiver’s caller, so that they can be handled by the calling function.
  • Publish abstraction, callback style for published messages
  • Send abstraction, callback style for sent messages (how do we get an address?)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
phatboygcommented, Nov 3, 2019

I’m considering native support for Google Pub/Sub, I just haven’t dug into the API specification yet. Also, need to add support for GPB (and ultimately Avro). But that’s a v6.1 thing.

1reaction
floyd-maycommented, Nov 3, 2019

Watching this issue. Would like to see if I could make an attempt to wire up MT to Google Cloud Pub/Sub, this seems like a good start.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Generic Messenger
The generic messenger allows for a simple JSON REST API integration which allows you to receive a message from FusionAuth to an arbitrary...
Read more >
c# - Generic message handlers
I want to create a generic mechanism for handling messages in C#. I have a need for this in my small application, so...
Read more >
Generic Receiver
The Generic Receiver is a component of IBM® Operations Analytics - Log Analysis that supports the REST interface for loading data into IBM...
Read more >
MassTransit generic message mis-typing
I am running into a base-typing problem with messages I am attempting to publish through MassTransit. Consider the following:
Read more >
Generic MessageQueue Framework
Publishers (which enable us to send messages to the message-queue); Consumers (which enable us to receive messages from the message queue).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found