Package | Description |
---|---|
org.hornetq.api.core |
Core Messaging API.
|
org.hornetq.api.core.client |
Core Client Messaging API.
|
org.hornetq.api.core.management |
Management API for HornetQ servers and its Core resources.
|
Modifier and Type | Method and Description |
---|---|
Message |
Message.putBooleanProperty(org.hornetq.api.core.SimpleString key,
boolean value)
Puts a boolean property in this message.
|
Message |
Message.putBooleanProperty(String key,
boolean value) |
Message |
Message.putByteProperty(org.hornetq.api.core.SimpleString key,
byte value)
Puts a byte property in this message.
|
Message |
Message.putByteProperty(String key,
byte value) |
Message |
Message.putBytesProperty(org.hornetq.api.core.SimpleString key,
byte[] value)
Puts a byte[] property in this message.
|
Message |
Message.putBytesProperty(String key,
byte[] value) |
Message |
Message.putCharProperty(org.hornetq.api.core.SimpleString key,
char value)
Puts a char property in this message.
|
Message |
Message.putCharProperty(String key,
char value) |
Message |
Message.putDoubleProperty(org.hornetq.api.core.SimpleString key,
double value)
Puts a double property in this message.
|
Message |
Message.putDoubleProperty(String key,
double value) |
Message |
Message.putFloatProperty(org.hornetq.api.core.SimpleString key,
float value)
Puts a float property in this message.
|
Message |
Message.putFloatProperty(String key,
float value) |
Message |
Message.putIntProperty(org.hornetq.api.core.SimpleString key,
int value)
Puts a int property in this message.
|
Message |
Message.putIntProperty(String key,
int value) |
Message |
Message.putLongProperty(org.hornetq.api.core.SimpleString key,
long value)
Puts a long property in this message.
|
Message |
Message.putLongProperty(String key,
long value) |
Message |
Message.putObjectProperty(org.hornetq.api.core.SimpleString key,
Object value)
Puts an Object property in this message.
|
Message |
Message.putObjectProperty(String key,
Object value) |
Message |
Message.putShortProperty(org.hornetq.api.core.SimpleString key,
short value)
Puts a short property in this message.
|
Message |
Message.putShortProperty(String key,
short value) |
Message |
Message.putStringProperty(org.hornetq.api.core.SimpleString key,
org.hornetq.api.core.SimpleString value)
Puts a SimpleString property in this message.
|
Message |
Message.putStringProperty(String key,
String value)
Puts a String property in this message.
|
Message |
Message.setAddress(org.hornetq.api.core.SimpleString address)
Sets the address to send this message to.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ClientMessage
A ClientMessage represents a message sent and/or received by HornetQ.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientProducer.send(Message message)
Sends a message to an address.
|
void |
ClientProducer.send(Message message,
SendAcknowledgementHandler handler)
Sends a message to the specified address instead of the ClientProducer's address.
|
void |
ClientProducer.send(org.hornetq.api.core.SimpleString address,
Message message)
Sends a message to the specified address instead of the ClientProducer's address.
|
void |
ClientProducer.send(org.hornetq.api.core.SimpleString address,
Message message,
SendAcknowledgementHandler handler)
Sends a message to the specified address instead of the ClientProducer's address.
|
void |
ClientProducer.send(String address,
Message message)
Sends a message to the specified address instead of the ClientProducer's address.
|
void |
SendAcknowledgementHandler.sendAcknowledged(Message message)
Notifies the client that a message sent asynchronously has been received by the server.
|
Modifier and Type | Method and Description |
---|---|
static Object |
ManagementHelper.getResult(Message message)
Returns the result of an operation invocation or an attribute value.
|
static Object[] |
ManagementHelper.getResults(Message message)
Returns the result of an operation invocation or an attribute value.
|
static boolean |
ManagementHelper.hasOperationSucceeded(Message message)
Returns whether the invocation of the management operation on the server resource succeeded.
|
static boolean |
ManagementHelper.isAttributesResult(Message message)
Returns whether the JMS message corresponds to the result of a management attribute value.
|
static boolean |
ManagementHelper.isOperationResult(Message message)
Returns whether the JMS message corresponds to the result of a management operation invocation.
|
static void |
ManagementHelper.putAttribute(Message message,
String resourceName,
String attribute)
Stores a resource attribute in a message to retrieve the value from the server resource.
|
static void |
ManagementHelper.putOperationInvocation(Message message,
String resourceName,
String operationName)
Stores a operation invocation in a message to invoke the corresponding operation the value from the server resource.
|
static void |
ManagementHelper.putOperationInvocation(Message message,
String resourceName,
String operationName,
Object... parameters)
Stores a operation invocation in a message to invoke the corresponding operation the value from the server resource.
|
static Object[] |
ManagementHelper.retrieveOperationParameters(Message message)
Used by HornetQ management service.
|
static void |
ManagementHelper.storeResult(Message message,
Object result)
Used by HornetQ management service.
|
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.