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, toString
getVirtualRouterName
public String getName()
com.solacesystems.jcsmp.impl.AbstractDestination
getName
in interface Destination
getName
in interface Endpoint
getName
in class com.solacesystems.jcsmp.impl.AbstractDestination
public boolean isDurable()
Endpoint
public boolean isTemporary()
Destination
isTemporary
in interface Destination
isTemporary
in class com.solacesystems.jcsmp.impl.AbstractDestination
true
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.