How can you programatically export a BizTalk ESB itinerary, as opposed to the "right click on the diagram and select Export Model" approach?
I've checked in the C:\Program Files (x86)\Microsoft BizTalk ESB Toolkit 2.1\Bin
, but can't see any tool to do this.
Technically, the itinerary is stored inside the SQL Server database as XML.
You can pick it from the db "EsbItineraryDb" using C# by its name, from the "dbo.Itinerary" table.