Custom message routing #164
Unanswered
jpbolduc85
asked this question in
Q&A
Replies: 1 comment
-
|
Hi @jpbolduc85, Thank you for your question. If you find that the suggested approach of creating custom implementations doesn't fully meet your requirement, we encourage you to submit a feature request for this functionality. Regards, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
I've looked at this new AWS.Messaging it seems very promising :). I didn't know that such a project existed and we have been building our own solution over the last year which is quite similar to this library but not as elaborated. We have one important feature in our solution which is the message routing by messageSource, messageType and messageVersion. This allows us to route the same message type to differents handlers by combining all those properties. I was just wondering if there is a way with your solution to customize the routing base on different attributes like we do ?
For ex:
`
private IMessageHandler GetMessageHandler(IServiceProvider provider, string messageSource, string messageType, string messageVersion)
{
var handler = provider.GetServices().Where(x => x.MessageSource == messageSource &&
x.MessageType == messageType &&
x.MessageVersion == messageVersion).SingleOrDefault();
`
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions