public class AutoCreateUtil extends Object
| Constructor and Description |
|---|
AutoCreateUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
autoCreateQueue(ClientSession session,
SimpleString destAddress,
SimpleString selectorString) |
static SimpleString |
getCoreQueueName(ClientSession session,
SimpleString destAddress) |
static void |
setRequiredQueueConfigurationIfNotSet(QueueConfiguration queueConfiguration,
ClientSession.AddressQuery addressQuery,
RoutingType routingType,
SimpleString filter,
boolean durable)
Set the non nullable (CreateQueueMessage_V2) queue attributes (all others have static defaults or get defaulted if null by address settings server side).
|
public static void autoCreateQueue(ClientSession session, SimpleString destAddress, SimpleString selectorString) throws ActiveMQException
ActiveMQExceptionpublic static void setRequiredQueueConfigurationIfNotSet(QueueConfiguration queueConfiguration, ClientSession.AddressQuery addressQuery, RoutingType routingType, SimpleString filter, boolean durable)
queueConfiguration - the provided queue configuration the client wants to setaddressQuery - the address settings query information (this could be removed if max consumers and purge on no consumers were null-able in CreateQueueMessage_V2)routingType - of the queue (multicast or anycast)filter - to apply on the queuedurable - if queue is durablepublic static SimpleString getCoreQueueName(ClientSession session, SimpleString destAddress)
Copyright © 2025 JBoss by Red Hat. All rights reserved.