public abstract class Queue extends com.solacesystems.jcsmp.impl.AbstractDestination implements Endpoint, Serializable
JCSMPFactory.createQueue(String).
Queue names are UTF-8 strings with a maximum encoded length of 250 bytes.
Names are case-sensitive.
Queue names are hierarchical, with levels separated by the /
character. A Queue name cannot contain an empty level.
Invalid characters: ['*<>&;], as well as control characters.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getName()
Gets the destination name specified at object creation time.
|
boolean |
isAnonymous()
Getter for the anonymous flag.
|
boolean |
isDurable()
Whether this Endpoint is durable.
|
boolean |
isTemporary()
A flag indicating whether this is a temporary destination.
|
void |
setAnonymous(boolean anonymous)
This setter is used to mark the queue as anonymous.
|
getVirtualRouterName, hashCode, initIfRequired, toStringgetVirtualRouterNamepublic String getName()
com.solacesystems.jcsmp.impl.AbstractDestinationgetName in interface DestinationgetName in interface EndpointgetName in class com.solacesystems.jcsmp.impl.AbstractDestinationpublic boolean isDurable()
Endpointpublic boolean isTemporary()
DestinationisTemporary in interface DestinationisTemporary in class com.solacesystems.jcsmp.impl.AbstractDestinationtrue if this destination is marked as temporary,
false otherwise.public boolean isAnonymous()
public void setAnonymous(boolean anonymous)
anonymous - true if the temporary queue is anonymous, false otherwiseCopyright 2004-2025 Solace Corporation. All rights reserved.