Universal Messaging 10.5 | Developer Guide | Enterprise APIs | Enterprise Developer's Guide for Java | Code Examples | Message Queues | Java Client: Asynchronous Queue Consumer
 
Java Client: Asynchronous Queue Consumer
This example shows how to asynchronously subscribe to events on a Universal Messaging Queue. See also: Synchronous Queue Subscription.
Usage
npopqasync <queue name> [debug] [count] [selector]

<Required Arguments>

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

[Optional Arguments]

[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