Universal Messaging Developer Guide : Enterprise APIs : Enterprise Developer's Guide for Java : Code Examples : Message Queues : Java Client: Synchronous Transactional Queue Consumer
Java Client: Synchronous Transactional Queue Consumer
This example shows how to synchronously consume events from a Universal Messaging Queue. See also: Asynchronous Queue Subscription.
npoptxq <queue name> [timeout] [debug] [count] [selector]

<Required Arguments>

<queue name> - Queue name parameter for the queue to pop from

[Optional Arguments]

[timeout] - The timeout for the dequeue operation
[debug] - The level of output from each event, 0 - none, 1 - summary, 2 - EIDs, 3 - All
[count] - The number of events to wait before printing out summary information
[selector] - The event filter string to use

Note: -? provides help on environment variables
Application Source Code
Click here for a code example
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback