Creating custom itinerary services
In this section, we will see how to create our own custom itinerary services, both on their messaging and orchestration flavors.
Custom messaging itinerary service
As we mentioned before, the messaging services are implemented as specific classes that will be invoked by the ESB Dispatcher pipeline components.
In order to implement one of those, we need to create a class that implements the IMessagingService
interface. This interface defines two properties (Name
and SupportsDisassemble
) and two methods (Execute
and ShouldAdvanceStep
) that have to be implemented:
Name
: It is the name of the service that will be used to reference the service in the itinerary. It will be the one that will identify the service once registered ...
Get Microsoft BizTalk ESB Toolkit 2.1 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.