public class MessagingJBossASClient extends JBossASClient
| Modifier and Type | Field and Description |
|---|---|
static String |
HORNETQ_SERVER |
static String |
JMS_QUEUE |
static String |
SUBSYSTEM_MESSAGING |
ADD, ADDRESS, BATCH, BATCH_STEPS, FAILURE_DESCRIPTION, log, NAME, OPERATION, OUTCOME, OUTCOME_SUCCESS, PERSISTENT, READ_ATTRIBUTE, READ_RESOURCE, REMOVE, RESULT, SUBSYSTEM, SYSTEM_PROPERTY, VALUE, WRITE_ATTRIBUTE| Constructor and Description |
|---|
MessagingJBossASClient(org.jboss.as.controller.client.ModelControllerClient client) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.dmr.ModelNode |
createNewQueueRequest(String name,
Boolean durable,
List<String> entryNames)
Returns a ModelNode that can be used to create a queue.
|
boolean |
isQueue(String queueName)
Checks to see if there is already a queue with the given name.
|
createBatchRequest, createReadAttributeRequest, createReadAttributeRequest, createRequest, createRequest, createWriteAttributeRequest, execute, findNodeInList, getFailureDescription, getModelControllerClient, getResultListAsStrings, getResults, getStringAttribute, getStringAttribute, isSuccess, readResource, readResource, remove, setPossibleExpressionpublic static final String SUBSYSTEM_MESSAGING
public static final String HORNETQ_SERVER
public static final String JMS_QUEUE
public MessagingJBossASClient(org.jboss.as.controller.client.ModelControllerClient client)
public boolean isQueue(String queueName) throws Exception
queueName - the name to checkExceptionpublic org.jboss.dmr.ModelNode createNewQueueRequest(String name, Boolean durable, List<String> entryNames)
name - the queue namedurable - if null, default is "true"entryNames - the jndiNames, each is prefixed with 'java:/'. Only supports one entry currently.Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.