Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Microsoft BizTalk ESB Toolkit 2.1

You're reading from  Microsoft BizTalk ESB Toolkit 2.1

Product type Book
Published in Jul 2013
Publisher Packt
ISBN-13 9781849688642
Pages 130 pages
Edition 1st Edition
Languages

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 $15.99/month. Cancel anytime}