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 ****t) To do this I am using the .NET biztalkOMExplorer class
where I can change the certificate for a send ****t 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 ****t'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
sup****tstransaction or something
[sup****ttransactions]
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