The key to Continuations in BAM

When a solution needs BAM, and you what to link the receivedTime and sendTime together you have to use continuation. I have learned from my fellow BizTalk developer Knut Sølve Furset Urke an easy way to rememer ho how to do this. In the TPE you add a Continuation and a ContinuationID. Rename the ContinuationID to Continuation. There will now be to Continuation, but with different icons

The way to think of this is: When a message is received you get an ID. So you set the portmappings on Continuation to received port. When the message is send you need a key to unlock the ID, so you set the Continuation ( former ContinuationID) portmappings on the to sent port.

There is a key in the icon bedise Continuation ID with a key in it.

deploy and enjoy

Comments

Popular posts from this blog

Fully Qualifyed Name

The Messaging Engine failed to register an adapter "WCF-BasicHttp". Details: "Registering multiple adapter types within the same process is not a supported configuration. For e.g. HTTP and SOAP receive adapters cannot co-exist in the same process

Using the BAM API to write BAM events from orchestrations