Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 675 Bytes

modules-corrupt-messages.md

File metadata and controls

20 lines (17 loc) · 675 Bytes
title layout
Corrupt Transport Message Module
api

Corrupt Transport Message Module

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();