cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Can an xMII Transaction be executed by many therads at the same time?

Former Member
0 Likes
182

Hi All,

Is there any way an xMII transaction be executed by many threads at the same time in xMII 12.0? If so, what parameters are thread safe (Local properties, Transaction Input properties, Transaction output parameters)? If some of them are not thread safe, what we have to make sure in the code to make them thread safe?

Thanks,

Sara

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

I'd like to add another question similar to the first.

Let's say I have three MII transactions, A, B, and C. Then I create another transaction, Foo which uses the CallTransaction action to call A, then B, then C. Can I assume that when Foo is run by some thread, that the same thread will be used to run A, B, and C?

-tim

Former Member
0 Likes

AFAIK, the same BLS transaction running on multiple threads should be nearly 100% thread safe. Each transaction has its own context. The only "singletons" are the Global properties, and they are read-only and synchronized from the point of view of the transaction. To some extent, logs are also "singletons", but they, too, are thread safe.

That said, if you wrote your own custom actions, there's no guarantee that they would be "thread safe", of course.

Former Member
0 Likes

Thanks Rick for the quick response.

-Sara