Transaction in an orchestration, in BizTalk Orchestration

BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

Recent BizTalk Orchestration posts

Biztalk automated integration
cannot delete application
ISA issue
"System.Runtime.Remoting.Server" error while debugging orchestrati
How to detect error in Map?
System.Runtime.InteropServices.COMException
Webservice timeouts and denied requests
Can you use bts.destinationparty to send to multiple email address
memorise (sum) with conditions on the map or orchestration
Void parameter or return with BizTalk Orchestration web service

 
 

BizTalk Orchestration

View :   

Latest Topics

Table Of Contents


Post Reply

Transaction in an orchestration

All posts: microsoft.public.biztalk.general
Source: microsoft.public.biztalk.general
Sent date: 05/16/2008
From: (email address - cut out)
Message:

Hello

In one of my orchestrations, I use a C# class method to override which
certificate to use when sending a message to a receiver (via ftp on a
dynamic port) To do this I am using the .NET biztalkOMExplorer class
where I can change the certificate for a send port and save it in the
BiztalkManagement database. Well, this is functioning very well when I
am testing sending one and one message. But when we are exceeding the
number of messages and sending many message at the same time, it mixes
which certificate to use. The receivers are just able to decrypt some
of the messages. This must be a concurrency problem where several
orchestrations are changing the send port's certificate.

It seems that I need to put some transcation scope around the
Expression where I call the C# class and the Send shape so that just
one can change the certificate at one time and do the ftp sending
before the next one can change certificate and send. Could the
solution be like this:

- add a transaction scope around the expression shape and send shape
(dynamic ftp) and in my c# class, add an attribute saying
supportstransaction or something
[supporttransactions]
bool changeCertificate(param)
{
transactionstart();
transactionCommit();

or if fails
transactionAbort
}

Could anybody respond with an example or link to example code where
this is being done?

Regards

Geir F

Post Reply

Related Messages

Table Of Contents



Other groups

WCF LOB

WSCF/WCF

BizTalk Rule Engine

BizTalk BPM, process

BizTalk BAM, activity

Biztalk Adapters

BizTalk Orchestration

BizTalk Server

WS WSDL

 

    Email TopXML