Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft BizTalk ESB Toolkit 2.1

You're reading from   Microsoft BizTalk ESB Toolkit 2.1 Discover innovative ways to solve your mission-critical integration problems with the ESB Toolkit

Arrow left icon
Product type Paperback
Published in Jul 2013
Publisher Packt
ISBN-13 9781849688642
Length 130 pages
Edition 1st Edition
Arrow right icon
Toc

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 in the ESB configuration file.

  • SupportsDisassemble: It specifies if the component supports disassemble and the execution of multiple resolvers.

  • Execute: It is the method where the processing of the message will take place.

  • ShouldAdvanceStep: It...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image