| Package | Description |
|---|---|
| com.solacesystems.jms |
The Solace Java Message Service (JMS) implementation and samples.
|
| com.solacesystems.jms.encoding | |
| com.solacesystems.jms.impl | |
| com.solacesystems.jms.message | |
| javax.jms |
The standard JMS 1.1 API.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
SolSession.createMessage() |
static Message |
SolJmsUtility.fromByteArray(byte[] data)
Converts a byte array representing a serialized JMS Message into
a JMS Message.
|
Message |
SolQueueBrowserEnumeration.nextElement() |
Message |
SolMessageConsumer.receive() |
Message |
SolMessageConsumer.receive(long timeout) |
Message |
SolMessageConsumer.receiveNoWait() |
| 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.
|
void |
SolTopicPublisher.publish(Message message) |
void |
SolTopicPublisher.publish(Message message,
int deliveryMode,
int priority,
long timeToLive) |
void |
SolTopicPublisher.publish(Topic topic,
Message message) |
void |
SolTopicPublisher.publish(Topic topic,
Message message,
int deliveryMode,
int priority,
long timeToLive) |
void |
SolMessageProducer.send(Destination destination,
Message message) |
void |
SolMessageProducer.send(Destination destination,
Message message,
int deliveryMode,
int priority,
long timeToLive) |
void |
SolMessageProducer.send(Message message) |
void |
SolQueueSender.send(Message message) |
void |
SolMessageProducer.send(Message message,
int deliveryMode,
int priority,
long timeToLive) |
void |
SolQueueSender.send(Message message,
int deliveryMode,
int priority,
long timeToLive) |
void |
SolQueueSender.send(Queue queue,
Message message) |
void |
SolQueueSender.send(Queue queue,
Message message,
int deliveryMode,
int priority,
long timeToLive) |
static byte[] |
SolJmsUtility.toByteArray(Message msg)
Serializes a JMS Message into a byte array.
|
void |
SolXAQueueSession.trackMessage(Message message)
This method is called by ConnectionConsumer during message delivery.
|
void |
SolXASession.trackMessage(Message message)
This method is called by ConnectionConsumer during message delivery.
|
void |
SolXATopicSession.trackMessage(Message message)
This method is called by ConnectionConsumer during message delivery.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SolConnectionConsumerIF.commitBatch(Collection<Message> msgs) |
void |
SolConnectionConsumer.commitBatch(Collection<Message> msgs) |
void |
SolConnectionConsumerRA.commitBatch(Collection<Message> msgs) |
void |
SolSession.loadFromConnectionConsumer(Collection<Message> messages,
SolConnectionConsumerIF consumer) |
void |
SolSession.loadMessages(Collection<Message> messages,
SolConnectionConsumerRA consumer) |
void |
SolConnectionConsumerIF.rollbackBatch(Collection<Message> msgs) |
void |
SolConnectionConsumer.rollbackBatch(Collection<Message> msgs) |
void |
SolConnectionConsumerRA.rollbackBatch(Collection<Message> msgs) |
| Modifier and Type | Method and Description |
|---|---|
static Message |
InteropTest.createJMSMessage(Session session,
MessageProducer producer,
JMSInteropTest test) |
static Message |
InteropTest.createMessageByNumber(Session session,
MessageProducer producer,
Integer msgId) |
| Modifier and Type | Method and Description |
|---|---|
BytesXMLMessage |
DefaultJMSEncoder.encode(MessageProducerAdapter producer,
Message jmsMessage,
boolean isXML,
boolean isDTO,
boolean useDirectMessaging,
boolean isDMQEligible,
long timeToLive,
boolean isElidingEligible,
boolean isReplyMsg) |
BytesXMLMessage |
InteropTestEncoder.encode(MessageProducerAdapter producer,
Message jmsMessage,
boolean defaultIsXMLPayload,
boolean defaultIsDeliverToOne,
boolean useDirectMessaging,
boolean defaultIsDMQEligible,
long timeToLive,
boolean defaultIsElidingEligible,
boolean isReplyMsg) |
BytesXMLMessage |
JMSEncoder.encode(MessageProducerAdapter producer,
Message jmsMessage,
boolean defaultIsXMLPayload,
boolean defaultIsDeliverToOne,
boolean useDirectMessaging,
boolean defaultIsDMQEligible,
long timeToLive,
boolean defaultIsElidingEligible,
boolean defaultIsReplyMsg) |
static void |
InteropTest.testMessageTypes(JMSInteropTest test,
Message received) |
static void |
InteropTest.testProperties(JMSInteropTest test,
Message received,
int testNo) |
static int |
InteropTest.validateRecvMsg(Message msg) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Validator.checkMessage(Message message) |
void |
MessageHandler.handleMessage(Message message) |
| Modifier and Type | Method and Description |
|---|---|
void |
SessionConnectionConsumerSupportRA.loadMessages(Collection<Message> messages) |
void |
SessionConnectionConsumerSupport.loadMessages(Collection<Message> messages) |
void |
ConnectionConsumerFakeTransactionStrategy.onCommit(Collection<Message> msgs) |
void |
ConnectionConsumerTransactionStrategy.onCommit(Collection<Message> msgs) |
void |
ConnectionConsumerNoTransactionStrategy.onCommit(Collection<Message> msgs) |
void |
ConnectionConsumerLocalTxStrategy.onCommit(Collection<Message> msgs) |
void |
ConnectionConsumerFakeTransactionStrategy.onMessage(Collection<Message> msgs) |
void |
ConnectionConsumerTransactionStrategy.onMessage(Collection<Message> msgs) |
void |
ConnectionConsumerNoTransactionStrategy.onMessage(Collection<Message> msgs) |
void |
ConnectionConsumerLocalTxStrategy.onMessage(Collection<Message> msgs) |
void |
ConnectionConsumerFakeTransactionStrategy.onRollback(Collection<Message> msgs) |
void |
ConnectionConsumerTransactionStrategy.onRollback(Collection<Message> msgs) |
void |
ConnectionConsumerNoTransactionStrategy.onRollback(Collection<Message> msgs) |
void |
ConnectionConsumerLocalTxStrategy.onRollback(Collection<Message> msgs) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BytesMessageIF |
interface |
MapMessageIF |
interface |
ObjectMessageIF |
interface |
StreamMessageIF |
interface |
TextMessageIF |
| Modifier and Type | Class and Description |
|---|---|
class |
SolBytesMessage
A
BytesMessage object is used to send a message containing a stream of uninterpreted bytes. |
class |
SolMapMessage |
class |
SolMessage |
class |
SolObjectMessage |
class |
SolStreamMessage |
class |
SolTextMessage |
| Modifier and Type | Method and Description |
|---|---|
static SolMessage |
SolMessageFactory.getSolMessage(Message msg) |
static SolMessage |
SolMessageFactory.getSolMessage(Message sourceMessage,
SolSession mSession) |
| 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-2021 Solace Corporation. All rights reserved.