HandlerContext
Release 5.0.0 of Shuttle.Esb contains a breaking change.
We have added an IHandlerContext
interface to assist in testing handlers.
Previously you would implement an IMessageHandler<Message>
as follows:
public void ProcessMessage(HandlerContext<Message> context) // <-- NOTE: HandlerContext
{
// your code goes here
}
From this release goping forward you will need to implemented the message handlers using the IHandlerContext
interface:
public void ProcessMessage(IHandlerContext<Message> context) // <-- NOTE: IHandlerContext
{
// your code goes here
}