public class CommonsUtil extends Object
| Constructor and Description |
|---|
CommonsUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getQueueID(String queueName)
Get unique id for a queue
|
static String |
getQueuesID()
Get unique is for queue root
|
static String |
getSubscriptionID(String topicName,
String subscriptionName)
Get unique id for a topic subscription
|
static String |
getSubscriptionsID(String topicName)
Get root id for subscriptions
|
static String |
getTopicID(String topicName)
Get unique id for a topic
|
public static String getQueueID(String queueName)
queueName - Name of the queuepublic static String getQueuesID()
public static String getTopicID(String topicName)
topicName - Name of the topicpublic static String getSubscriptionID(String topicName, String subscriptionName)
topicName - Name of the topicsubscriptionName - Unique name of the subscriptionCopyright © 2018 WSO2. All rights reserved.