Is TIBCO Adapter SDK 5 thread safe?

Is TIBCO Adapter SDK 5 thread safe?

book

Article ID: KB0091436

calendar_today

Updated On:

Products Versions
TIBCO Adapter SDK -
Not Applicable -

Description

Resolution:
SDK 5.x is built on top of TIBCO Rendezvous 7.x and onward. Because TIBCO Rendezvous 7.x is both thread aware and thread safe, the TIBCO Adapter SDK now allows flexible, platform-independent multithreading.

Applications can create an instance of MDispatcher to spawn a thread that will dispatch events for a given session or MApp. Creating a multithreaded adapter is typically a matter of determining which session or the whole MApp requires additional threads and constructing the appropriate MDispatcher objects.

NOTE: Consider carefully whether your application actually requires multiple threads. Threads result in a more complex programming logic and are therefore more error-prone and more difficult to debug. In addition, a multithreaded SDK application is slower than a single-threaded one on a single-CPU machine.

A complete discussion of creating multithreaded adapters is covered in Chapter 3 of the TIBCO adapter SDK Concepts manual. You can find it in the section on "Multithreaded Adapter Applications".

Issue/Introduction

Is TIBCO Adapter SDK 5 thread safe?

Environment

Product: TIBCO Adapter SDK Version: 5.3.0, 5.2.1, 5.4.0, 5.0.x OS: All --------------------