Data Transformation Engine Services Guide

Chapter 9 – BEA TUXEDO Messaging Adapters
61
wait_time_in_sec
The number of seconds that the adapter waits for a message.
For example, to specify the wait time of 45 seconds, the syntax would be:
-LSN 45
Map execution is suspended until the message is received or until the time specified lapses. In this case,
the message source not available is returned.
Note If either the Correlation ID adapter command (-CID) or the Message ID adapter command
(-MID) is specified, then if no messages are available for immediate dequeuing the adapter will not wait
for a message to arrive.
Tuxedo does not support accuracy with timeout values. The time that the adapter waits may be longer
than is specified with this command.
Note The Listen adapter command (-LSN) is only valid when accessing a Tuxedo /Q for data sources.
It is essential to choose the appropriate values for the Listen adapter command (-LSN) and the
Transaction Timeout adapter command (-TT) to achieve the desired transactions. See the Transaction
Timeouts and Listen Wait Periods section for more information.
Caller Mode (-M)
Use the Caller Mode adapter command (-M) to specify the caller mode for data sources and data targets.
-M {S|C}
Option Description
S
Server caller mode. Use the server option when the adapter is from a
Tuxedo server, such as the Tuxedo Transformation Server.
C
Client caller mode. Use the client option when the adapter is being
invoked from a Tuxedo client.
If the Caller Mode adapter command (-M) is not used, the default is client mode.
The Caller Mode adapter command (-M) determines adapter-to-Tuxedo connection attempts and sets the
flags in the initialize call. The flags differ for non-threaded versus multi-threaded initialize calls.
Note If the adapter is called from the platform API within a Tuxedo client, and the client has attached
to Tuxedo before invoking the adapter, the Server mode should be set. Otherwise, the adapter attempts
to reconnect to Tuxedo.