Universal Messaging 10.3 | Developer Guide | Enterprise APIs | Enterprise Developer's Guide for C++ | Code Examples for C++ | Channel / Queue / Realm Management
 
Channel / Queue / Realm Management
 
C++ Client: Creating a Channel
C++ Client: Deleting a Channel
C++ Client: Creating a Queue
C++ Client: Deleting a Queue
C++ Client: Create Channel Join
C++ Client: Delete a Channel Join
C++ Client: Purge Events From a Channel
C++ Client: Create Queue Join
C++ Client: Delete Queue Join
C++ Client: Creating a Channel
This example demonstrates how to create a Universal Messaging channel programmatically
Usage

makechan <rname> <channel name> [time to live] [capacity] [type] [cluster wide]
[start eid]


<Required Arguments>


<rname> - the custom URL to access the realm. Example: nhp://localhost:9000

<channel name> - Channel name parameter for the channel to be created


[Optional Arguments]


[time to live] - The Time To Live parameter for the new channel (default: 0)

[capacity] - The Capacity parameter for the new channel (default: 0)

[type] - The type parameter for the new channel (default: S)

R - For a reliable (stored in memory) channel with persistent eids

P - For a persistent (stored on disk) channel

S - For a simple (stored in memory) channel with non-persistent eids

T - For a transient (no server based storage)

M - For a Mixed (allows both memory and persistent events) channel


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

[start eid] - The initial start event id for the new channel (default: 0)
Application Source Code
Click here for a code example