Skip to content

Instantly share code, notes, and snippets.

@TravisTheTechie
TravisTheTechie / gist:1906347
Created February 25, 2012 03:59 — forked from logicbomb/gist:1905604
MassTransit Bug
public interface ICommandPublisher
{
void Publish<T>(T command) where T : ICommand;
}
public class MassTransitCommandPublisher : ICommandPublisher, ILoggingSource
{
public void Publish<T>(T command) where T : ICommand
{
this.Debug("Publishing command {0}", command.GetType().Name);