public class BusToolsCli extends Object
Constructor and Description |
---|
BusToolsCli() |
Modifier and Type | Method and Description |
---|---|
static Message |
decodeCommandMessage(EJValue value) |
static List<Message> |
decodePayload(String jsonString) |
static boolean |
decodeToCallback(String jsonString,
ClientMessageBus bus) |
static String |
encodeMessage(Message message) |
static String |
encodeMessages(Collection<Message> messages) |
static String |
getApplicationRoot()
Returns the application root for the remote message bus endpoints.
|
static QueueSession |
getClientSession() |
static ResourceProvider<RequestDispatcher> |
getRequestDispatcherProvider() |
static boolean |
isRemoteCommunicationEnabled()
Checks whether remote bus communication is enabled.
|
static void |
setApplicationRoot(String path)
Sets the application root for the remote message bus endpoints.
|
static void |
setAutoDemarshall(boolean autoDemarshall1) |
public static boolean decodeToCallback(String jsonString, ClientMessageBus bus)
public static String encodeMessages(Collection<Message> messages)
public static QueueSession getClientSession()
public static ResourceProvider<RequestDispatcher> getRequestDispatcherProvider()
public static void setAutoDemarshall(boolean autoDemarshall1)
public static void setApplicationRoot(String path)
path
- path to use when sending requests to the JAX-RS endpointpublic static String getApplicationRoot()
public static boolean isRemoteCommunicationEnabled()
erraiBusRemoteCommunicationEnabled
can
be used to control this value. If the variable is not present in the window
object, the default value true
is returned.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.