Package | Description |
---|---|
com.solacesystems.jms |
The Solace Java Message Service (JMS) implementation and samples.
|
com.solacesystems.jms.interceptors | |
javax.jms |
The standard JMS 1.1 API.
|
Modifier and Type | Method and Description |
---|---|
static Message |
SolJmsUtility.fromByteArray(byte[] data)
Converts a byte array representing a serialized JMS Message into
a JMS Message.
|
Modifier and Type | Method and Description |
---|---|
static String |
SolJmsUtility.dumpMessage(Message msg)
Produces a human-readable dump of the message properties and its contents
(can be quite large).
|
static long |
SolJmsUtility.getMessageSize(Message msg)
Gets the encoded size of the message payload in bytes.
|
static byte[] |
SolJmsUtility.toByteArray(Message msg)
Serializes a JMS Message into a byte array.
|
Modifier and Type | Method and Description |
---|---|
Message |
MessageProducerInterceptor.MessageProducerInterceptingContext.getMessage()
Gets originally published message.
|
Message |
MessageReceiverInterceptor.ReceiverInterceptingContext.getMessage()
Gets originally published message before it is passed to the application using synchronous or
asynchronous message handler.
|
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)
Sends a request and waits for a reply.
|
Message |
QueueRequestor.request(Message message)
Sends a request and waits for a reply.
|
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)
Sends a request and waits for a reply.
|
Message |
QueueRequestor.request(Message message)
Sends a request and waits for a reply.
|
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.
|
Copyright 2004-2024 Solace Corporation. All rights reserved.