title | layout |
---|---|
Corrupt Transport Message Module |
api |
The CorruptTransportMessageModule
may be found in the Shuttle.ESB.Modules
assembly. It will log any transport messages that fail deserailization via the ServiceBus..Events.TransportMessageDeserializationException
event to a folder as specified in the application configuration appSettings
key with name CorruptTransportMessageFolder
:
<appSettings>
<add key="CorruptTransportMessageFolder" value="d:\shuttle-corrupt-messages"/>
</appSettings>
var bus = ServiceBus
.Create()
.AddModule(new CorruptTransportMessageModule())
.Start();