Hello,
Are there currently any examples that show how an endpoint can have a handler that will be able to process any message put into an endpoints queue ( event/message/command )?
Hello,
Are there currently any examples that show how an endpoint can have a handler that will be able to process any message put into an endpoints queue ( event/message/command )?
@jtim08515 if you are saying that you want to write a handler that accepts a System.Object
as the message type, you can do that, but I’m not sure there is a valid reason to do so:
Object
such as ToString()
, etc. which generally are not very useful to performing business operations. In this case, I can only imagine that you are logging throughput or something like that, and that would be better done either using the Particular Service Platform’s monitoring capabilities or if you want to do something custom then you could use something like OpenTelemetry.For typed messages:
IHandleMessages<object>
) as Adam sharedIf you want raw access to untyped byte array message data and headers: