Quantcast
Channel: Active questions tagged consumer - Stack Overflow
Viewing all articles
Browse latest Browse all 87

MassTransit set a specific the faultMessage exchange name

$
0
0

I have two services using the same message models and working with MT + RabbitMQI set each service consumer to have its own messages using a routing key.in case of exception MT will publish a Fault to a default exchange according to the message type, which of course is common in both services due to using the same models package.

I currently check if FaultedByService in order not to handle one service faults in the otherbut I am trying to figure out how to specify each one a specific fault exchange or better to set an appropriate routing key when the fault is generated by MT and then have the faulted exchange to be topic rather than fanout binded using the routing keys.

is that possible ? if yes, how can it be done ?

Many thanks


Viewing all articles
Browse latest Browse all 87

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>