phatboyg/MassTransit — pull request #90 by jeandev (2013-07-05 21:48:12+00:00)
Title: Allow setting SupportedMessageSerializers at service bus configurtion time.

Allow setting a user defined instance of SupportedMessageSerializer at
service bus configuration time. The purpose of this change is to allow
specifying exactly which serializers are supported at message reception.

This is in relation to the following discussion:
https://groups.google.com/forum/#!searchin/masstransit-discuss/SupportedMessageSerializers/masstransit-discuss/jMKwZE3uZac/JVKQ17m5WuIJ

Usage example:

var bus = ServiceBusFactory.New(sbc =>
{
sbc.ReceiveFrom("loopback://127.0.0.1");
sbc.SetSupportedMessageSerializers(new SupportedMessageSerializers());
});