I have a single endpoint which handles incoming messages (from a Bus.Send), does some work and then publishes another message. Is it possible to configure it to deserialize incoming messages using the Json serializer, but when publishing, serialize the outgoing message using the Xml serializer?
My config currently looks like below which uses the Json serializer for both deserializing incoming and serializing outgoing messages:
Configure.With()
.DefaultBuilder()
.JsonSerializer()
.MsmqTransport()
.IsTransactional(true)
.PurgeOnStartup(false)
.UnicastBus()