public final class RemoveQueue extends Object implements OnlineCommand, OfflineCommand
NOOPNOOP| Constructor and Description |
|---|
RemoveQueue(String queueName)
Removes a queue from the default messaging server.
|
RemoveQueue(String queueName,
String serverName)
Removes a queue from the specified messaging server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(OfflineCommandContext ctx) |
void |
apply(OnlineCommandContext ctx) |
String |
toString() |
public RemoveQueue(String queueName)
public void apply(OnlineCommandContext ctx) throws IOException, CommandFailedException
apply in interface OnlineCommandIOExceptionCommandFailedExceptionpublic void apply(OfflineCommandContext ctx) throws CommandFailedException
apply in interface OfflineCommandCommandFailedExceptionpublic String toString()
toString in interface OfflineCommandtoString in interface OnlineCommandtoString in class ObjectCopyright © 2021. All rights reserved.