Package | Description |
---|---|
javax.jms |
JMS 1.1 API.
|
org.apache.log4j.net |
Package for remote logging.
|
org.hornetq.api.jms.management |
Management API for HornetQ JMS resources.
|
org.hornetq.jms.client |
Implementation of the JMS API.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BytesMessage
A
BytesMessage object is used to send a message containing a
stream of uninterpreted bytes. |
interface |
MapMessage
A
MapMessage object is used to send a set of name-value pairs. |
interface |
ObjectMessage
An
ObjectMessage object is used to send a message that contains
a serializable object in the Java programming language ("Java object"). |
interface |
StreamMessage
A
StreamMessage object is used to send a stream of primitive
types in the Java programming language. |
interface |
TextMessage
A
TextMessage object is used to send a message containing a
java.lang.String . |
Modifier and Type | Method and Description |
---|---|
Message |
Session.createMessage()
Creates a
Message object. |
Message |
MessageConsumer.receive()
Receives the next message produced for this message consumer.
|
Message |
MessageConsumer.receive(long timeout)
Receives the next message that arrives within the specified
timeout interval.
|
Message |
MessageConsumer.receiveNoWait()
Receives the next message if one is immediately available.
|
Message |
TopicRequestor.request(Message message) |
Message |
QueueRequestor.request(Message message) |
Modifier and Type | Method and Description |
---|---|
void |
MessageListener.onMessage(Message message)
Passes a message to the listener.
|
void |
TopicPublisher.publish(Message message)
Publishes a message to the topic.
|
void |
TopicPublisher.publish(Message message,
int deliveryMode,
int priority,
long timeToLive)
Publishes a message to the topic, specifying delivery mode,
priority, and time to live.
|
void |
TopicPublisher.publish(Topic topic,
Message message)
Publishes a message to a topic for an unidentified message producer.
|
void |
TopicPublisher.publish(Topic topic,
Message message,
int deliveryMode,
int priority,
long timeToLive)
Publishes a message to a topic for an unidentified message
producer, specifying delivery mode, priority and time to live.
|
Message |
TopicRequestor.request(Message message) |
Message |
QueueRequestor.request(Message message) |
void |
MessageProducer.send(Destination destination,
Message message)
Sends a message to a destination for an unidentified message producer.
|
void |
MessageProducer.send(Destination destination,
Message message,
int deliveryMode,
int priority,
long timeToLive)
Sends a message to a destination for an unidentified message producer,
specifying delivery mode, priority and time to live.
|
void |
QueueSender.send(Message message)
Sends a message to the queue.
|
void |
MessageProducer.send(Message message)
Sends a message using the
MessageProducer 's
default delivery mode, priority, and time to live. |
void |
QueueSender.send(Message message,
int deliveryMode,
int priority,
long timeToLive)
Sends a message to the queue, specifying delivery mode, priority, and
time to live.
|
void |
MessageProducer.send(Message message,
int deliveryMode,
int priority,
long timeToLive)
Sends a message to the destination, specifying delivery mode, priority, and
time to live.
|
void |
QueueSender.send(Queue queue,
Message message)
Sends a message to a queue for an unidentified message producer.
|
void |
QueueSender.send(Queue queue,
Message message,
int deliveryMode,
int priority,
long timeToLive)
Sends a message to a queue for an unidentified message producer,
specifying delivery mode, priority and time to live.
|
Modifier and Type | Method and Description |
---|---|
void |
JMSSink.onMessage(Message message) |
Modifier and Type | Method and Description |
---|---|
static Object |
JMSManagementHelper.getResult(Message message)
Returns the result of an operation invocation or an attribute value.
|
static Object[] |
JMSManagementHelper.getResults(Message message)
Returns the result of an operation invocation or an attribute value.
|
static boolean |
JMSManagementHelper.hasOperationSucceeded(Message message)
Returns whether the invocation of the management operation on the server resource succeeded.
|
static boolean |
JMSManagementHelper.isAttributesResult(Message message)
Returns whether the JMS message corresponds to the result of a management attribute value.
|
static boolean |
JMSManagementHelper.isOperationResult(Message message)
Returns whether the JMS message corresponds to the result of a management operation invocation.
|
static void |
JMSManagementHelper.putAttribute(Message message,
String resourceName,
String attribute)
Stores a resource attribute in a JMS message to retrieve the value from the server resource.
|
static void |
JMSManagementHelper.putOperationInvocation(Message message,
String resourceName,
String operationName)
Stores a operation invocation in a JMS message to invoke the corresponding operation the value from the server resource.
|
static void |
JMSManagementHelper.putOperationInvocation(Message message,
String resourceName,
String operationName,
Object... parameters)
Stores a operation invocation in a JMS message to invoke the corresponding operation the value from the server resource.
|
Modifier and Type | Class and Description |
---|---|
class |
HornetQBytesMessage
HornetQ implementation of a JMS BytesMessage.
|
class |
HornetQMapMessage
HornetQ implementation of a JMS MapMessage.
|
class |
HornetQMessage
HornetQ implementation of a JMS Message.
|
class |
HornetQObjectMessage
HornetQ implementation of a JMS ObjectMessage.
|
class |
HornetQStreamMessage
HornetQ implementation of a JMS StreamMessage.
|
class |
HornetQTextMessage
HornetQ implementation of a JMS TextMessage.
|
Modifier and Type | Method and Description |
---|---|
Message |
HornetQSession.createMessage() |
Message |
HornetQMessageConsumer.receive() |
Message |
HornetQMessageConsumer.receive(long timeout) |
Message |
HornetQMessageConsumer.receiveNoWait() |
Modifier and Type | Method and Description |
---|---|
void |
HornetQMessageProducer.publish(Message message) |
void |
HornetQMessageProducer.publish(Message message,
int deliveryMode,
int priority,
long timeToLive) |
void |
HornetQMessageProducer.publish(Topic topic,
Message message) |
void |
HornetQMessageProducer.publish(Topic topic,
Message message,
int deliveryMode,
int priority,
long timeToLive) |
void |
HornetQMessageProducer.send(Destination destination,
Message message) |
void |
HornetQMessageProducer.send(Destination destination,
Message message,
int deliveryMode,
int priority,
long timeToLive) |
void |
HornetQMessageProducer.send(Message message) |
void |
HornetQMessageProducer.send(Message message,
int deliveryMode,
int priority,
long timeToLive) |
void |
HornetQMessageProducer.send(Queue queue,
Message message) |
void |
HornetQMessageProducer.send(Queue queue,
Message message,
int deliveryMode,
int priority,
long timeToLive) |
Constructor and Description |
---|
HornetQMessage(Message foreign,
byte type,
ClientSession session) |
HornetQMessage(Message foreign,
ClientSession session) |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.