org.wildfly.extras.creaper.commands.messaging
Class AddQueue.Builder

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.messaging.AddQueue.Builder
Enclosing class:
AddQueue

public static final class AddQueue.Builder
extends Object


Constructor Summary
AddQueue.Builder(String name)
          Adds a queue to the default messaging server.
AddQueue.Builder(String name, String serverName)
          Adds a queue to the specified messaging server.
 
Method Summary
 AddQueue build()
           
 AddQueue.Builder durable(boolean durable)
          Defines the queue durability
 AddQueue.Builder jndiEntries(List<String> jndiEntries)
          Defines the list of jndi entries to which this queue is bound to.
 AddQueue.Builder replaceExisting()
          Specify whether to replace the existing queue based on its name.
 AddQueue.Builder selector(String selector)
          Defines the queue selector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddQueue.Builder

public AddQueue.Builder(String name)
Adds a queue to the default messaging server.

Parameters:
name - name of the queue

AddQueue.Builder

public AddQueue.Builder(String name,
                        String serverName)
Adds a queue to the specified messaging server. NOT YET IMPLEMENTED FOR OFFLINE!

Parameters:
name - name of the queue
serverName - name of the messaging server
Method Detail

durable

public AddQueue.Builder durable(boolean durable)
Defines the queue durability


jndiEntries

public AddQueue.Builder jndiEntries(List<String> jndiEntries)
Defines the list of jndi entries to which this queue is bound to.


selector

public AddQueue.Builder selector(String selector)
Defines the queue selector


replaceExisting

public AddQueue.Builder replaceExisting()
Specify whether to replace the existing queue based on its name. By default existing queue is not replaced and exception is thrown.


build

public AddQueue build()


Copyright © 2020. All rights reserved.