Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Biz Talk Orchestration > Transaction in ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 4119 of 4219
Post > Topic >>

Transaction in an orchestration

by g-forsmo@[EMAIL PROTECTED] May 16, 2008 at 06:19 AM

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
 




 1 Posts in Topic:
Transaction in an orchestration
g-forsmo@[EMAIL PROTECTED  2008-05-16 06:19:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 23:41:31 CST 2008.