You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to publish raw Json Messages ?
Some context.
I have client apps, which connect to gateway service over websocket connection. Since clients can be in variety of from and languages I decided that best course of action would be to send messages as Json and then on gateway publish them to Rabbit.
I would like to avoid for gateway to know type of messages if possible. I just want it to act as dumb router and connection load balancer not message translation from clients.
I tried to find in docs and here but I couldn't find any example of how (and if possible) to do it, or how the Json message should be formatted.
The text was updated successfully, but these errors were encountered:
Ok, there is one thing, this setting will include $id property in the serialized messages, so if you want to prevent that you need to update the di. To do that specify a new ISerializer e.g. like this:
Is it possible to publish raw Json Messages ?
Some context.
I have client apps, which connect to gateway service over websocket connection. Since clients can be in variety of from and languages I decided that best course of action would be to send messages as Json and then on gateway publish them to Rabbit.
I would like to avoid for gateway to know type of messages if possible. I just want it to act as dumb router and connection load balancer not message translation from clients.
I tried to find in docs and here but I couldn't find any example of how (and if possible) to do it, or how the Json message should be formatted.
The text was updated successfully, but these errors were encountered: