Universal Messaging 10.7 | Developer Guide | Enterprise APIs | Enterprise Developer's Guide for C# | Examples | Channel / Queue / Realm Management | Creating a Queue
 
Creating a Queue
This example demonstrates how to create a Universal Messaging queue programmatically.
Usage
makequeue <rname> <queue name> [time to live] [capacity] [type] [cluster wide] [start eid]


<Required Arguments>

<rname> - the custom URL to access the realm. Example: nhp://localhost:9000
<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
M - For a Mixed (allows both memory and persistent events) queue

[cluster wide] - Whether the queue is cluster wide. Will only work if the realm is part
of a cluster (default: false)
[start eid] - The initial start event id for the new queue (default: 0)
Application Source Code
Click here for a code example