Share via


Using a Pipeline Component to Cache Itinerary for Solicit-Response

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Messages submitted through the ESB itinerary on-ramp can be either a one-way or two-way (request-response) itinerary. To support request-response itineraries, the itinerary mechanism must provide caching for BizTalk dynamic Solicit-Response send ports.

The Itinerary Cache pipeline component persists the itinerary stored in the outbound message and reapplies it to the response message returned to the send port after the service call is complete. This allows the itinerary service to process and execute other services defined after the current service in the itinerary.

The ESB Itinerary Cache pipeline component caches the itinerary during the period that the message is in the Send Transmit pipeline process cycle. The component then retrieves the itinerary and writes it to a BizTalk context property in the inbound message after receipt during the Send Receive process cycle.

By default, the ESB Itinerary Cache pipeline component resides in the ItineraryReceiveSend.btp BizTalk pipeline, as shown in Figure 1, and you should use this only as the receive pipeline for a Solicit-Response send port.

Ff648945.1bd7ae31-3323-47a4-8062-ae62e1795713(en-us,PandP.10).png

Figure 1
Using the ESB Itinerary Cache pipeline component in a BizTalk receive pipeline for a Solicit-Response send port.