Listen (-LSN)

Use the Listen adapter command (-LSN) for data sources to indicate the length of time (in seconds) that the Oracle AQ Adapters wait for a message to be received.

-LSN {0|S|wait_time_in_sec}
Option
Description
0
Do not wait at all. If there is no input available, the adapter does not wait for more messages.
S
This is an infinite wait time.
wait_time_in_sec
This is 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(s) is/are received or until the specified time lapses, at which time a warning message is returned. The warning No messages were found is returned if there are no messages. The warning Fetch unit not reached is displayed if fewer messages were found than specified with the FetchUnit setting in the Map Designer.