org.wildfly.extras.creaper.commands.messaging
Class RemoveQueue

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.messaging.RemoveQueue
All Implemented Interfaces:
Command, OfflineCommand, OnlineCommand

public final class RemoveQueue
extends Object
implements OnlineCommand, OfflineCommand

Removes an existing messaging queue.


Constructor Summary
RemoveQueue(String queueName)
          Removes a queue from the default messaging server.
RemoveQueue(String queueName, String serverName)
          Removes a queue from the specified messaging server.
 
Method Summary
 void apply(OfflineCommandContext ctx)
           
 void apply(OnlineCommandContext ctx)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoveQueue

public RemoveQueue(String queueName)
Removes a queue from the default messaging server.


RemoveQueue

public RemoveQueue(String queueName,
                   String serverName)
Removes a queue from the specified messaging server. NOT YET IMPLEMENTED FOR OFFLINE!

Method Detail

apply

public void apply(OnlineCommandContext ctx)
           throws IOException,
                  CommandFailedException
Specified by:
apply in interface OnlineCommand
Throws:
IOException
CommandFailedException

apply

public void apply(OfflineCommandContext ctx)
           throws CommandFailedException
Specified by:
apply in interface OfflineCommand
Throws:
CommandFailedException

toString

public String toString()
Specified by:
toString in interface OfflineCommand
Specified by:
toString in interface OnlineCommand
Overrides:
toString in class Object


Copyright © 2016. All rights reserved.