Universal Messaging Developer Guide : The Enterprise Client APIs : The Universal Messaging Java Enterprise Developer's Guide : Universal Messaging Java Client: Code for Sample Applications : Message Queues : Universal Messaging Java Client: Synchronous Queue Consumer
Universal Messaging Java Client: Synchronous Queue Consumer
This example shows how to synchronously consume events from a Universal Messaging Queue. See also: Asynchronous Queue Subscription.
Usage
npopq <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-2014 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback