Skip to content

Commit

Permalink
Fixed 3.5 build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phatboyg committed May 13, 2011
1 parent 64c0b81 commit 18737ab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/MassTransit/Context/ConsumeContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,11 @@ public void Respond<T>(T message, Action<ISendContext<T>> contextCallback) where
}
else
{
Bus.Publish(message, contextCallback);
Bus.Publish(message, context =>
{
// don't roll this up or it breaks the 3.5 build
contextCallback(context);
});
}
}

Expand Down

0 comments on commit 18737ab

Please sign in to comment.