Developer Guide : Enterprise APIs : Enterprise Developer's Guide for Java : Code Examples : Channel / Queue / Realm Management : Java Client: Creating a Queue
Java Client: Creating a Queue
This example demonstrates how to create a Universal Messaging queue programmatically.
Usage
nmakeq <queue name> [time to live] [capacity] [type] [cluster wide]

<Required Arguments>

<queue name> - Queue name parameter for the queue to be created

[Optional Arguments]

[time to live] - The Time To Live parameter for the new queue (default: 0)
[capacity] - The Capacity parameter for the new queue (default: 0)
[type] - The type parameter for the new queue (default: S)
R - For a reliable (stored in memory) queue with persistent eids
P - For a persistent (stored on disk) queue
S - For a simple (stored in memory) queue with non-persistent eids
T - For a transient (no server based storage)
M - For a Mixed (allows both memory and persistent events) queue
O - For an Off Heap queue
G - For a Paged queue (Uses a memory mapped file for storage)

[cluster wide] - Whether the queue is cluster wide. Will only work if the
realm is part of a cluster


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

Product LogoContact Support   |   Community   |   Feedback