| Package | Description |
|---|---|
| com.solacesystems.jms |
The Solace Java Message Service (JMS) implementation and samples.
|
| com.solacesystems.jms.encoding | |
| com.solacesystems.jms.events | |
| com.solacesystems.jms.impl | |
| com.solacesystems.jms.message | |
| javax.jms |
The standard JMS 1.1 API.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConfigurationException
An exception thrown when a service is not correctly configured or an API
is not supported.
|
class |
DuplicateDurableSubscriptionException
An exception thrown when a subscriber name is already in use.
|
class |
IncompleteLargeMessageException
An exception thrown when an incomplete large message is received.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SolConnection.onException(JMSException exception) |
| Modifier and Type | Method and Description |
|---|---|
void |
SolSession.acknowledge(SolMessage message) |
void |
SolQueueReceiver.addSolEventListener(SolEventListener listener) |
void |
SolEventSource.addSolEventListener(SolEventListener listener)
Deprecated.
Registers a SolEventListener to receive all possible
event types specified in com.solacesystems.jms.SolEvent.
|
void |
SolQueueReceiver.addSolEventListener(SolEventListener listener,
long eventTypeMask) |
void |
SolEventSource.addSolEventListener(SolEventListener listener,
long eventTypeMask)
Deprecated.
Registers a SolEventListener to receive events of types
specified in eventTypeMask (possible types are defined in
com.solacesystems.jms.SolEvent).
|
void |
SolCloseableIF.close() |
void |
SolConnectionConsumer.close() |
void |
SolSession.close() |
void |
SolConnectionConsumerRA.close() |
void |
SolConnection.close() |
void |
SolMessageConsumer.close() |
void |
SolMessageProducer.close() |
void |
SolQueueBrowser.close() |
void |
SolXAQueueSession.commit() |
void |
SolSession.commit() |
void |
SolXASession.commit() |
void |
SolXATopicSession.commit() |
void |
SolConnectionConsumerIF.commitBatch(Collection<Message> msgs) |
void |
SolConnectionConsumer.commitBatch(Collection<Message> msgs) |
void |
SolConnectionConsumerRA.commitBatch(Collection<Message> msgs) |
QueueBrowser |
SolTopicSession.createBrowser(Queue queue) |
QueueBrowser |
SolSession.createBrowser(Queue queue) |
QueueBrowser |
SolTopicSession.createBrowser(Queue queue,
String messageSelector) |
QueueBrowser |
SolSession.createBrowser(Queue queue,
String messageSelector) |
BytesMessage |
SolSession.createBytesMessage() |
Connection |
SolConnectionFactoryImpl.createConnection() |
Connection |
SolConnectionFactoryImpl.createConnection(String userName,
String password) |
ConnectionConsumer |
SolConnection.createConnectionConsumer(Destination destination,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages) |
ConnectionConsumer |
SolQueueConnection.createConnectionConsumer(Queue queue,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages) |
ConnectionConsumer |
SolTopicConnection.createConnectionConsumer(Topic topic,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages) |
MessageConsumer |
SolSession.createConsumer(Destination destination) |
MessageConsumer |
SolSession.createConsumer(Destination destination,
String messageSelector) |
MessageConsumer |
SolSession.createConsumer(Destination destination,
String messageSelector,
boolean NoLocal) |
ConnectionConsumer |
SolConnection.createDurableConnectionConsumer(Topic topic,
String subscriptionName,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages) |
ConnectionConsumer |
SolQueueConnection.createDurableConnectionConsumer(Topic topic,
String subscriptionName,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages) |
TopicSubscriber |
SolSession.createDurableSubscriber(Topic topic,
String name) |
TopicSubscriber |
SolQueueSession.createDurableSubscriber(Topic topic,
String name) |
TopicSubscriber |
SolSession.createDurableSubscriber(Topic topic,
String name,
String messageSelector,
boolean noLocal) |
TopicSubscriber |
SolQueueSession.createDurableSubscriber(Topic topic,
String name,
String messageSelector,
boolean noLocal) |
MapMessage |
SolSession.createMapMessage() |
Message |
SolSession.createMessage() |
ObjectMessage |
SolSession.createObjectMessage() |
ObjectMessage |
SolSession.createObjectMessage(Serializable object) |
MessageProducer |
SolSession.createProducer(Destination destination) |
TopicPublisher |
SolTopicSession.createPublisher(Topic topic) |
Queue |
SolTopicSession.createQueue(String queueName) |
Queue |
SolSession.createQueue(String queueName) |
QueueConnection |
SolConnectionFactoryImpl.createQueueConnection() |
QueueConnection |
SolConnectionFactoryImpl.createQueueConnection(String userName,
String password) |
QueueSession |
SolQueueConnection.createQueueSession(boolean transacted,
int acknowledgeMode) |
QueueReceiver |
SolQueueSession.createReceiver(Queue queue) |
QueueReceiver |
SolQueueSession.createReceiver(Queue queue,
String messageSelector) |
QueueSender |
SolQueueSession.createSender(Queue queue) |
Session |
SolConnection.createSession(boolean transacted,
int acknowledgeMode) |
StreamMessage |
SolSession.createStreamMessage() |
TopicSubscriber |
SolTopicSession.createSubscriber(Topic topic) |
TopicSubscriber |
SolTopicSession.createSubscriber(Topic topic,
String messageSelector,
boolean noLocal) |
TemporaryQueue |
SolTopicSession.createTemporaryQueue() |
TemporaryQueue |
SolSession.createTemporaryQueue() |
TemporaryTopic |
SolSession.createTemporaryTopic() |
TemporaryTopic |
SolQueueSession.createTemporaryTopic() |
TextMessage |
SolSession.createTextMessage() |
TextMessage |
SolSession.createTextMessage(String text) |
Topic |
SolSession.createTopic(String topicName) |
Topic |
SolQueueSession.createTopic(String topicName) |
TopicConnection |
SolConnectionFactoryImpl.createTopicConnection() |
TopicConnection |
SolConnectionFactoryImpl.createTopicConnection(String userName,
String password) |
TopicSession |
SolTopicConnection.createTopicSession(boolean transacted,
int acknowledgeMode) |
XAConnection |
SolXAConnectionFactoryImpl.createXAConnection() |
XAConnection |
SolXAConnectionFactoryImpl.createXAConnection(String userName,
String password) |
XAQueueConnection |
SolXAConnectionFactoryImpl.createXAQueueConnection() |
XAQueueConnection |
SolXAConnectionFactoryImpl.createXAQueueConnection(String userName,
String password) |
XAQueueSession |
SolXAQueueConnection.createXAQueueSession() |
XASession |
SolXATopicConnection.createXASession() |
XASession |
SolXAQueueConnection.createXASession() |
XASession |
SolXAConnection.createXASession() |
XATopicConnection |
SolXAConnectionFactoryImpl.createXATopicConnection() |
XATopicConnection |
SolXAConnectionFactoryImpl.createXATopicConnection(String userName,
String password) |
XATopicSession |
SolXATopicConnection.createXATopicSession() |
void |
SolTemporaryTopic.delete() |
void |
SolTemporaryQueue.delete() |
void |
SolConnection.deleteTemporaryQueue(SolTemporaryQueueIF queue) |
void |
SolConnectionIF.deleteTemporaryQueue(SolTemporaryQueueIF queue) |
void |
SolConnection.deleteTemporaryTopic(SolTemporaryTopicIF topic) |
void |
SolConnectionIF.deleteTemporaryTopic(SolTemporaryTopicIF topic) |
static Message |
SolJmsUtility.fromByteArray(byte[] data)
Converts a byte array representing a serialized JMS Message into
a JMS Message.
|
int |
SolSession.getAcknowledgeMode() |
String |
SolConnection.getClientID() |
String |
SolConnection.getClientName() |
int |
SolMessageProducer.getDeliveryMode() |
Destination |
SolMessageProducer.getDestination() |
boolean |
SolMessageProducer.getDisableMessageID() |
boolean |
SolMessageProducer.getDisableMessageTimestamp() |
Enumeration<?> |
SolQueueBrowser.getEnumeration() |
ExceptionListener |
SolConnection.getExceptionListener() |
Browser |
SolQueueBrowserIF.getJCSMPBrowser() |
Browser |
SolQueueBrowser.getJCSMPBrowser() |
MessageListener |
SolSession.getMessageListener() |
MessageListener |
SolMessageConsumer.getMessageListener() |
String |
SolMessageConsumer.getMessageSelector() |
String |
SolQueueBrowser.getMessageSelector() |
static long |
SolJmsUtility.getMessageSize(Message msg)
Gets the encoded size of the message payload in bytes.
|
ConnectionMetaData |
SolConnection.getMetaData() |
boolean |
SolMessageConsumerIF.getNoLocal() |
boolean |
SolMessageConsumer.getNoLocal() |
boolean |
SolTopicSubscriber.getNoLocal() |
int |
SolMessageProducer.getPriority() |
Queue |
SolQueueReceiver.getQueue() |
Queue |
SolQueueSender.getQueue() |
Queue |
SolQueueBrowser.getQueue() |
QueueSession |
SolXAQueueSession.getQueueSession() |
ServerSessionPool |
SolConnectionConsumer.getServerSessionPool() |
ServerSessionPool |
SolConnectionConsumerRA.getServerSessionPool() |
Session |
SolXAQueueSession.getSession() |
Session |
SolXASession.getSession() |
Session |
SolXATopicSession.getSession() |
long |
SolMessageProducer.getTimeToLive() |
Topic |
SolTopicPublisher.getTopic() |
Topic |
SolTopicSubscriber.getTopic() |
TopicSession |
SolXATopicSession.getTopicSession() |
boolean |
SolXAQueueSession.getTransacted() |
boolean |
SolSession.getTransacted() |
boolean |
SolXASession.getTransacted() |
boolean |
SolXATopicSession.getTransacted() |
void |
SolSession.loadMessages(Collection<Message> messages,
SolConnectionConsumerRA consumer) |
void |
SolSession.onMessageSent(SolMessage message) |
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) |
Message |
SolMessageConsumer.receive() |
Message |
SolMessageConsumer.receive(long timeout) |
Message |
SolMessageConsumer.receiveNoWait() |
void |
SolSession.recover() |
void |
SolMessageConsumerIF.recover() |
void |
SolMessageConsumer.recover() |
void |
SolXAQueueSession.rollback() |
void |
SolSession.rollback() |
void |
SolXASession.rollback() |
void |
SolXATopicSession.rollback() |
void |
SolConnectionConsumerIF.rollbackBatch(Collection<Message> msgs) |
void |
SolConnectionConsumer.rollbackBatch(Collection<Message> msgs) |
void |
SolConnectionConsumerRA.rollbackBatch(Collection<Message> msgs) |
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) |
void |
SolConnection.setClientID(String clientID) |
void |
SolMessageProducer.setDeliveryMode(int deliveryMode) |
void |
SolMessageProducer.setDisableMessageID(boolean value) |
void |
SolMessageProducer.setDisableMessageTimestamp(boolean value) |
void |
SolConnection.setExceptionListener(ExceptionListener listener) |
void |
SolQueueReceiver.setMessageListener(MessageListener listener) |
void |
SolSession.setMessageListener(MessageListener listener) |
void |
SolTopicSubscriber.setMessageListener(MessageListener listener) |
void |
SolMessageProducer.setPriority(int defaultPriority) |
void |
SolMessageProducer.setTimeToLive(long timeToLive) |
void |
SolConnectionConsumer.start() |
void |
SolSession.start() |
void |
SolMessageConsumerIF.start() |
void |
SolConnectionConsumerRA.start() |
void |
SolConnection.start() |
void |
SolStartableIF.start() |
void |
SolMessageConsumer.start() |
void |
SolMessageConsumer.startImpl() |
void |
SolConnectionConsumer.stop() |
void |
SolSession.stop() |
void |
SolMessageConsumerIF.stop() |
void |
SolConnectionConsumerRA.stop() |
void |
SolConnection.stop() |
void |
SolStartableIF.stop() |
void |
SolMessageConsumer.stop() |
boolean |
SolMessageConsumerIF.stopSyncStart() |
boolean |
SolMessageConsumer.stopSyncStart() |
void |
SolMessageConsumerIF.stopSyncWait() |
void |
SolMessageConsumer.stopSyncWait() |
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.
|
void |
SolSession.unsubscribe(String name) |
void |
SolQueueSession.unsubscribe(String name) |
| Constructor and Description |
|---|
SolConnectionConsumer(SolConnectionIF conn,
SolDestinationInfo destInfo,
String messageSelector,
ServerSessionPool serverPool,
int maxMessages,
JMSState state) |
SolConnectionConsumerRA(SolConnectionIF conn,
SolDestinationInfo destInfo,
String messageSelector,
ServerSessionPool serverPool,
int maxMessages,
JMSState state) |
SolQueueBrowser(SolSessionIF session,
Queue queue,
String messageSelector) |
SolQueueConnection(JMSProperties properties,
boolean connectionTypeXA) |
SolQueueConnection(JMSProperties properties,
boolean connectionTypeXA,
String username,
String password) |
SolQueueSession(SolConnectionIF connection,
boolean transacted,
int acknowledgeMode,
JMSState state) |
SolTopicConnection(JMSProperties properties,
boolean connectionTypeXA) |
SolTopicConnection(JMSProperties properties,
boolean connectionTypeXA,
String username,
String password) |
SolTopicSession(SolConnectionIF connection,
boolean transacted,
int acknowledgeMode,
JMSState state) |
SolXAQueueConnection(JMSProperties properties) |
SolXAQueueConnection(JMSProperties properties,
String userName,
String password) |
SolXAQueueSession(SolConnectionIF connection,
JMSState state) |
SolXATopicConnection(JMSProperties properties) |
SolXATopicConnection(JMSProperties properties,
String userName,
String password) |
SolXATopicSession(SolConnectionIF connection,
JMSState state) |
| 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) |
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.testBytesValues(byte[] expected,
BytesMessage received,
int testNo) |
static void |
InteropTest.testMapValues(SDTMap expected,
MapMessage received,
int testNo) |
static void |
InteropTest.testObjectValues(Object expected,
ObjectMessage received,
int testNo) |
static void |
InteropTest.testProperties(JMSInteropTest test,
Message received,
int testNo) |
static void |
InteropTest.testReplyTo(Destination expected,
Destination received,
int testNo) |
static void |
InteropTest.testStreamValues(SDTStream expected,
StreamMessage received,
int testNo) |
| Modifier and Type | Method and Description |
|---|---|
JMSException |
SolJMSEvent.getException()
Returns the exception associated with the event, if any.
|
| Constructor and Description |
|---|
SolReconnectingEvent(JMSException exception) |
SolRepublishUnackedMessageEvent(JMSException cause,
Integer numUnackedMsgs) |
| Modifier and Type | Method and Description |
|---|---|
static JMSException |
Validator.createJMSException(String operation,
Throwable t) |
JMSException |
JCSMPExceptionMapper.get(String operation,
Throwable t) |
JMSException |
JCSMPExceptionMapper.ArrayListMapper.get(String operation,
Throwable t) |
JMSException |
JMSExceptionValue.newInstance(String operation,
Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
void |
AckHandler.acknowledge(SolMessage message) |
void |
MessageAckHandlerImpl.acknowledge(SolMessage message) |
void |
ConnectionConsumerTransactionStrategy.afterDelivery() |
void |
ConnectionConsumerLocalTxStrategy.afterDelivery() |
void |
ConnectionConsumerFakeTransactionStrategy.afterPollLoop() |
void |
ConnectionConsumerTransactionStrategy.afterPollLoop() |
static void |
Validator.checkClosed(JMSState state,
String component) |
static void |
Validator.checkConnectionConsumerMaxMessages(int maxMessages) |
static void |
Validator.checkConsumerDestination(Destination destination,
SolConnectionIF conn) |
static void |
Validator.checkConsumerTopicDestination(Destination destination,
SolConnectionIF conn,
boolean durable) |
static void |
Validator.checkDeliveryMode(int deliveryMode) |
static void |
Validator.checkMessage(Message message) |
static void |
Validator.checkNotTransacted(SessionTransactionType transactionType,
String operation) |
static void |
Validator.checkPriority(int priority) |
static void |
Validator.checkProducerDestination(boolean crMode,
Destination destination) |
static Destination |
Validator.checkSendDestination(boolean crMode,
Destination defaultDest,
Destination dest) |
static void |
Validator.checkServerSessionPool(ServerSessionPool pool) |
static void |
Validator.checkSubscriptionName(String name) |
static void |
Validator.checkTimeToLive(long timeToLive) |
static void |
Validator.checkTransacted(SessionTransactionType transactionType,
String operation) |
static void |
Validator.checkTransactedAndAckMode(SessionTransactionType transactionType,
int acknowledgeMode,
boolean useDirect) |
static void |
Validator.checkTransactedAndLargeMessaging(SessionTransactionType transactedType,
boolean largeMessaging) |
void |
ConnectionConsumerTransactionStrategy.close() |
void |
ConnectionConsumerLocalTxStrategy.close() |
static void |
SolCollections.closeAll(List<? extends SolCloseableIF> list) |
void |
ConnectionConsumerTransactionStrategy.closeConsumer() |
void |
ConnectionConsumerXATransactionStrategy.closeConsumer() |
void |
ConnectionConsumerLocalTxStrategy.closeConsumer() |
void |
SessionConnectionConsumerSupport.commit() |
void |
ConnectionConsumerTransactionStrategy.createConsumer() |
void |
ConnectionConsumerXATransactionStrategy.createConsumer() |
void |
ConnectionConsumerLocalTxStrategy.createConsumer() |
Consumer |
ConsumerFactory.createDurableConsumer(Queue jcsmpQueue,
XMLMessageListener listener,
FlowEventHandler flowEventHandler,
JCSMPConsumerFactory jcsmpFac) |
Consumer |
ConsumerFactory.createDurableConsumer(Queue jcsmpQueue,
XMLMessageListener listener,
JCSMPConsumerFactory jcsmpFac) |
Consumer |
ConsumerFactory.createDurableConsumer(Topic topic,
XMLMessageListener listener,
Endpoint epoint,
JCSMPConsumerFactory jcsmpFac) |
Consumer |
ConsumerFactory.createDurableConsumer(Topic topic,
XMLMessageListener listener,
FlowEventHandler flowEventHandler,
Endpoint epoint,
JCSMPConsumerFactory jcsmpFac) |
Consumer |
ConsumerFactory.createNonDurableConsumer(Queue jcsmpQueue,
XMLMessageListener listener,
FlowEventHandler flowEventHandler,
JCSMPConsumerFactory jcsmpFac) |
Consumer |
ConsumerFactory.createNonDurableConsumer(Queue jcsmpQueue,
XMLMessageListener listener,
JCSMPConsumerFactory jcsmpFac) |
Consumer |
ConsumerFactory.createNonDurableConsumer(Topic topic,
XMLMessageListener listener,
Endpoint epoint,
JCSMPConsumerFactory jcsmpFac) |
Consumer |
ConsumerFactory.createNonDurableConsumer(Topic topic,
XMLMessageListener listener,
FlowEventHandler flowEventHandler,
Endpoint epoint,
JCSMPConsumerFactory jcsmpFac) |
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 |
ConnectionConsumerTransactionStrategy.onMessage(Collection<Message> msgs) |
void |
ConnectionConsumerLocalTxStrategy.onMessage(Collection<Message> msgs) |
void |
AckHandler.onMessageSent(SolMessage message) |
void |
MessageAckHandlerImpl.onMessageSent(SolMessage message) |
void |
ConnectionConsumerFakeTransactionStrategy.onRollback(Collection<Message> msgs) |
void |
ConnectionConsumerTransactionStrategy.onRollback(Collection<Message> msgs) |
void |
ConnectionConsumerNoTransactionStrategy.onRollback(Collection<Message> msgs) |
void |
ConnectionConsumerLocalTxStrategy.onRollback(Collection<Message> msgs) |
void |
ConnectionConsumerTransactionStrategy.processRollbackTaskOnPollerThread()
Process any rollback steps that need to happen on the message poller thread.
|
void |
SessionConnectionConsumerSupport.recover() |
void |
SessionConnectionConsumerSupport.rollback() |
void |
ConnectionConsumerTransactionStrategy.start() |
static void |
SolCollections.startAll(List<? extends SolStartableIF> list) |
void |
ConnectionConsumerTransactionStrategy.stop() |
static void |
SolCollections.stopAll(List<? extends SolStartableIF> list) |
boolean |
SessionConnectionConsumerSupportRA.updateParent(SolConnectionConsumerRA connConsumer) |
static boolean |
Validator.wasConsumerClosedInReceive(JCSMPException e) |
| Constructor and Description |
|---|
JMSExceptionValue(Class<JMSException> jmsExceptionClass,
String errorCode,
String errorText) |
| Constructor and Description |
|---|
SessionConnectionConsumerSupportRA(SolSessionIF session,
SolConnectionConsumerRA connConsumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
SolMessage.acknowledge() |
void |
SolMapMessage.clearBody()
Clears out the message body.
|
void |
SolObjectMessage.clearBody()
Clears out the message body.
|
void |
SolTextMessage.clearBody()
Clears out the message body.
|
void |
SolBytesMessage.clearBody()
Clears out the message body.
|
void |
SolMessage.clearBody() |
void |
SolStreamMessage.clearBody()
Clears out the message body.
|
long |
SolBytesMessage.getBodyLength()
Gets the number of bytes of the message body when the message is in read-only mode.
|
boolean |
SolMapMessage.getBoolean(String name)
Returns the
boolean value with the specified name. |
boolean |
SolMessage.getBooleanProperty(String name) |
byte |
SolMapMessage.getByte(String name)
Returns the
byte value with the specified name. |
byte |
SolMessage.getByteProperty(String name) |
byte[] |
SolMapMessage.getBytes(String name)
Returns the byte array value with the specified name.
|
char |
SolMapMessage.getChar(String name)
Returns the Unicode character value with the specified name.
|
double |
SolMapMessage.getDouble(String name)
Returns the
double value with the specified name. |
double |
SolMessage.getDoubleProperty(String name) |
float |
SolMapMessage.getFloat(String name)
Returns the
float value with the specified name. |
float |
SolMessage.getFloatProperty(String name) |
int |
SolMapMessage.getInt(String name)
Returns the
int value with the specified name. |
int |
SolMessage.getIntProperty(String name) |
long |
SolMapMessage.getLong(String name)
Returns the
long value with the specified name. |
long |
SolMessage.getLongProperty(String name) |
Enumeration<?> |
SolMapMessage.getMapNames()
Returns an
Enumeration of all the names in the MapMessage object. |
long |
SolMessage.getMessageSize() |
Serializable |
SolObjectMessage.getObject()
Gets the serializable object containing this message's data.
|
Object |
SolMapMessage.getObject(String name)
Returns the value of the object with the specified name.
|
short |
SolMapMessage.getShort(String name)
Returns the
short value with the specified name. |
short |
SolMessage.getShortProperty(String name) |
static SolMessage |
SolMessageFactory.getSolMessage(Message msg) |
static SolMessage |
SolMessageFactory.getSolMessage(Message sourceMessage,
SolSession mSession) |
String |
SolMapMessage.getString(String name)
Returns the
String value with the specified name. |
String |
SolMessage.getStringProperty(String name) |
String |
SolTextMessage.getText()
Gets the string containing this message's data.
|
boolean |
SolMapMessage.itemExists(String name)
Indicates whether an item exists in this
MapMessage object. |
boolean |
SolMessage.propertyExists(String name) |
boolean |
SolBytesMessage.readBoolean()
Reads a
boolean from the bytes message stream. |
boolean |
SolStreamMessage.readBoolean()
Reads a
boolean from the stream message. |
byte |
SolBytesMessage.readByte()
Reads a signed 8-bit value from the bytes message stream.
|
byte |
SolStreamMessage.readByte()
Reads a
byte value from the stream message. |
int |
SolBytesMessage.readBytes(byte[] value)
Reads a byte array from the bytes message stream.
|
int |
SolStreamMessage.readBytes(byte[] value)
Reads a byte array field from the stream message into the
specified
byte[] object (the read buffer). |
int |
SolBytesMessage.readBytes(byte[] value,
int length)
Reads a portion of the bytes message stream.
|
char |
SolBytesMessage.readChar()
Reads a Unicode character value from the bytes message stream.
|
char |
SolStreamMessage.readChar()
Reads a Unicode character value from the stream message.
|
double |
SolBytesMessage.readDouble()
Reads a
double from the bytes message stream. |
double |
SolStreamMessage.readDouble()
Reads a
double from the stream message. |
float |
SolBytesMessage.readFloat()
Reads a
float from the bytes message stream. |
float |
SolStreamMessage.readFloat()
Reads a
float from the stream message. |
int |
SolBytesMessage.readInt()
Reads a signed 32-bit integer from the bytes message stream.
|
int |
SolStreamMessage.readInt()
Reads a 32-bit integer from the stream message.
|
long |
SolBytesMessage.readLong()
Reads a signed 64-bit integer from the bytes message stream.
|
long |
SolStreamMessage.readLong()
Reads a 64-bit integer from the stream message.
|
Object |
SolStreamMessage.readObject()
Reads an object from the stream message.
|
short |
SolBytesMessage.readShort()
Reads a signed 16-bit number from the bytes message stream.
|
short |
SolStreamMessage.readShort()
Reads a 16-bit integer from the stream message.
|
String |
SolStreamMessage.readString()
Reads a
String from the stream message. |
int |
SolBytesMessage.readUnsignedByte()
Reads an unsigned 8-bit number from the bytes message stream.
|
int |
SolBytesMessage.readUnsignedShort()
Reads an unsigned 16-bit number from the bytes message stream.
|
String |
SolBytesMessage.readUTF()
Reads a string that has been encoded using a modified UTF-8 format from the bytes message stream.
|
void |
SolBytesMessage.reset()
Puts the message body in read-only mode and repositions the stream of bytes to the beginning.
|
void |
SolStreamMessage.reset()
Puts the message body in read-only mode and repositions the stream of
bytes to the beginning.
|
void |
SolMapMessage.setBoolean(String name,
boolean value)
Sets a
boolean value with the specified name into the Map. |
void |
SolMessage.setBooleanProperty(String name,
boolean value) |
void |
SolMapMessage.setByte(String name,
byte value)
Sets a
byte value with the specified name into the Map. |
void |
SolMessage.setByteProperty(String name,
byte value) |
void |
SolMapMessage.setBytes(String name,
byte[] value)
Sets a byte array value with the specified name into the Map.
|
void |
SolMapMessage.setBytes(String name,
byte[] value,
int offset,
int length)
Sets a portion of the byte array value with the specified name into the Map.
|
void |
SolMapMessage.setChar(String name,
char value)
Sets a Unicode character value with the specified name into the Map.
|
void |
SolMapMessage.setDouble(String name,
double value)
Sets a
double value with the specified name into the Map. |
void |
SolMessage.setDoubleProperty(String name,
double value) |
void |
SolMapMessage.setFloat(String name,
float value)
Sets a
float value with the specified name into the Map. |
void |
SolMessage.setFloatProperty(String name,
float value) |
void |
SolMapMessage.setInt(String name,
int value)
Sets an
int value with the specified name into the Map. |
void |
SolMessage.setIntProperty(String name,
int value) |
void |
SolMessage.setJMSCorrelationID(String correlationID) |
void |
SolMessage.setJMSCorrelationIDAsBytes(byte[] correlationID) |
void |
SolMessage.setJMSPriority(int priority) |
void |
SolMapMessage.setLong(String name,
long value)
Sets a
long value with the specified name into the Map. |
void |
SolMessage.setLongProperty(String name,
long value) |
void |
SolObjectMessage.setObject(Serializable newObject)
Sets the serializable object containing this message's data.
|
void |
SolMapMessage.setObject(String name,
Object value)
Sets an object value with the specified name into the Map.
|
void |
SolMessage.setObjectProperty(String name,
Object value) |
void |
SolMessage.setObjectPropertyWithoutReadOnlyCheck(String name,
Object value) |
void |
SolMapMessage.setShort(String name,
short value)
Sets a
short value with the specified name into the Map. |
void |
SolMessage.setShortProperty(String name,
short value) |
void |
SolMapMessage.setString(String name,
String value)
Sets a
String value with the specified name into the Map. |
void |
SolMessage.setStringProperty(String name,
String value) |
void |
SolTextMessage.setText(String string)
Sets the string containing this message's data.
|
void |
SolBytesMessage.writeBoolean(boolean value)
Writes a
boolean to the bytes message stream as a 1-byte value. |
void |
SolStreamMessage.writeBoolean(boolean value)
Writes a
boolean to the stream message. |
void |
SolBytesMessage.writeByte(byte value)
Writes a
byte to the bytes message stream as a 1-byte value. |
void |
SolStreamMessage.writeByte(byte value)
Writes a
byte to the stream message. |
void |
SolBytesMessage.writeBytes(byte[] value)
Writes a byte array to the bytes message stream.
|
void |
SolStreamMessage.writeBytes(byte[] value)
Writes a byte array field to the stream message.
|
void |
SolBytesMessage.writeBytes(byte[] value,
int offset,
int length)
Writes a portion of a byte array to the bytes message stream.
|
void |
SolStreamMessage.writeBytes(byte[] value,
int offset,
int length)
Writes a portion of a byte array as a byte array field to the stream
message.
|
void |
SolBytesMessage.writeChar(char value)
Writes a
char to the bytes message stream as a 2-byte value, high byte first. |
void |
SolStreamMessage.writeChar(char value)
Writes a
char to the stream message. |
void |
SolBytesMessage.writeDouble(double value)
Converts the
double argument to a long using the doubleToLongBits
method in class Double, and then writes that long value to the bytes message
stream as an 8-byte quantity, high byte first. |
void |
SolStreamMessage.writeDouble(double value)
Writes a
double to the stream message. |
void |
SolBytesMessage.writeFloat(float value)
Converts the
float argument to an int using the floatToIntBits
method in class Float, and then writes that int value to the bytes message stream
as a 4-byte quantity, high byte first. |
void |
SolStreamMessage.writeFloat(float value)
Writes a
float to the stream message. |
void |
SolBytesMessage.writeInt(int value)
Writes an
int to the bytes message stream as four bytes, high byte first. |
void |
SolStreamMessage.writeInt(int value)
Writes an
int to the stream message. |
void |
SolBytesMessage.writeLong(long value)
Writes a
long to the bytes message stream as eight bytes, high byte first. |
void |
SolStreamMessage.writeLong(long value)
Writes a
long to the stream message. |
void |
SolBytesMessage.writeObject(Object value)
Writes an object to the bytes message stream.
|
void |
SolStreamMessage.writeObject(Object value)
Writes an object to the stream message.
|
void |
SolBytesMessage.writeShort(short value)
Writes a
short to the bytes message stream as two bytes, high byte first. |
void |
SolStreamMessage.writeShort(short value)
Writes a
short to the stream message. |
void |
SolStreamMessage.writeString(String value)
Writes a
String to the stream message. |
void |
SolBytesMessage.writeUTF(String value)
Writes a string to the bytes message stream using UTF-8 encoding in a machine-independent manner.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IllegalStateException
This exception is thrown when a method is
invoked at an illegal or inappropriate time or if the provider is
not in an appropriate state for the requested operation.
|
class |
InvalidClientIDException
This exception must be thrown when a
client attempts to set a connection's client ID to a value that
is rejected by a provider.
|
class |
InvalidDestinationException
This exception must be thrown when a
destination either is not understood by a provider or is no
longer valid.
|
class |
InvalidSelectorException
This exception must be thrown when a
JMS client attempts to give a provider a message selector with
invalid syntax.
|
class |
JMSSecurityException
This exception must be thrown when a provider rejects a user
name/password submitted by a client.
|
class |
MessageEOFException
This exception must be thrown when an unexpected
end of stream has been reached when a
StreamMessage or
BytesMessage is being read. |
class |
MessageFormatException
This exception must be thrown when a JMS client
attempts to use a data type not supported by a message or attempts to
read data in a message as the wrong type.
|
class |
MessageNotReadableException
This exception must be thrown when a JMS client attempts to read a
write-only message.
|
class |
MessageNotWriteableException
This exception must be thrown when a JMS client attempts to write to a
read-only message.
|
class |
ResourceAllocationException
This exception is thrown when a provider is unable to allocate the
resources required by a method.
|
class |
TransactionInProgressException
This exception is thrown when an
operation is invalid because a transaction is in progress.
|
class |
TransactionRolledBackException
This exception must be thrown when a
call to
Session.commit results in a rollback of the current
transaction. |
| Modifier and Type | Method and Description |
|---|---|
void |
ExceptionListener.onException(JMSException exception)
Notifies user of a JMS exception.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Message.acknowledge()
Acknowledges all consumed messages of the session of this consumed
message.
|
void |
Message.clearBody()
Clears out the message body.
|
void |
Message.clearProperties()
Clears a message's properties.
|
void |
QueueBrowser.close()
Closes the
QueueBrowser. |
void |
MessageConsumer.close()
Closes the message consumer.
|
void |
Connection.close()
Closes the connection.
|
void |
ConnectionConsumer.close()
Closes the connection consumer.
|
void |
TopicRequestor.close()
Closes the
TopicRequestor and its session. |
void |
MessageProducer.close()
Closes the message producer.
|
void |
Session.close()
Closes the session.
|
void |
QueueRequestor.close()
Closes the
QueueRequestor and its session. |
void |
XASession.commit()
Throws a
TransactionInProgressException, since it should
not be called for an XASession object. |
void |
Session.commit()
Commits all messages done in this transaction and releases any locks
currently held.
|
QueueBrowser |
QueueSession.createBrowser(Queue queue)
Creates a
QueueBrowser object to peek at the messages on
the specified queue. |
QueueBrowser |
Session.createBrowser(Queue queue)
Creates a
QueueBrowser object to peek at the messages on
the specified queue. |
QueueBrowser |
QueueSession.createBrowser(Queue queue,
String messageSelector)
Creates a
QueueBrowser object to peek at the messages on
the specified queue using a message selector. |
QueueBrowser |
Session.createBrowser(Queue queue,
String messageSelector)
Creates a
QueueBrowser object to peek at the messages on
the specified queue using a message selector. |
BytesMessage |
Session.createBytesMessage()
Creates a
BytesMessage object. |
Connection |
ConnectionFactory.createConnection()
Creates a connection with the default user identity.
|
Connection |
ConnectionFactory.createConnection(String userName,
String password)
Creates a connection with the specified user identity.
|
ConnectionConsumer |
Connection.createConnectionConsumer(Destination destination,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
Creates a connection consumer for this connection (optional operation).
|
ConnectionConsumer |
QueueConnection.createConnectionConsumer(Queue queue,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
Creates a connection consumer for this connection (optional operation).
|
ConnectionConsumer |
TopicConnection.createConnectionConsumer(Topic topic,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
Creates a connection consumer for this connection (optional operation).
|
MessageConsumer |
Session.createConsumer(Destination destination)
Creates a
MessageConsumer for the specified destination. |
MessageConsumer |
Session.createConsumer(Destination destination,
String messageSelector)
Creates a
MessageConsumer for the specified destination,
using a message selector. |
MessageConsumer |
Session.createConsumer(Destination destination,
String messageSelector,
boolean NoLocal)
Creates
MessageConsumer for the specified destination, using a
message selector. |
ConnectionConsumer |
Connection.createDurableConnectionConsumer(Topic topic,
String subscriptionName,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
Create a durable connection consumer for this connection (optional operation).
|
ConnectionConsumer |
TopicConnection.createDurableConnectionConsumer(Topic topic,
String subscriptionName,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
Create a durable connection consumer for this connection (optional operation).
|
TopicSubscriber |
TopicSession.createDurableSubscriber(Topic topic,
String name)
Creates a durable subscriber to the specified topic.
|
TopicSubscriber |
Session.createDurableSubscriber(Topic topic,
String name)
Creates a durable subscriber to the specified topic.
|
TopicSubscriber |
TopicSession.createDurableSubscriber(Topic topic,
String name,
String messageSelector,
boolean noLocal)
Creates a durable subscriber to the specified topic, using a
message selector or specifying whether messages published by its
own connection should be delivered to it.
|
TopicSubscriber |
Session.createDurableSubscriber(Topic topic,
String name,
String messageSelector,
boolean noLocal)
Creates a durable subscriber to the specified topic, using a
message selector and specifying whether messages published by its
own connection should be delivered to it.
|
MapMessage |
Session.createMapMessage()
Creates a
MapMessage object. |
Message |
Session.createMessage()
Creates a
Message object. |
ObjectMessage |
Session.createObjectMessage()
Creates an
ObjectMessage object. |
ObjectMessage |
Session.createObjectMessage(Serializable object)
Creates an initialized
ObjectMessage object. |
MessageProducer |
Session.createProducer(Destination destination)
Creates a
MessageProducer to send messages to the specified
destination. |
TopicPublisher |
TopicSession.createPublisher(Topic topic)
Creates a publisher for the specified topic.
|
Queue |
QueueSession.createQueue(String queueName)
Creates a queue identity given a
Queue name. |
Queue |
Session.createQueue(String queueName)
Creates a queue identity given a
Queue name. |
QueueConnection |
QueueConnectionFactory.createQueueConnection()
Creates a queue connection with the default user identity.
|
QueueConnection |
QueueConnectionFactory.createQueueConnection(String userName,
String password)
Creates a queue connection with the specified user identity.
|
QueueSession |
QueueConnection.createQueueSession(boolean transacted,
int acknowledgeMode)
Creates a
QueueSession object. |
QueueSession |
XAQueueConnection.createQueueSession(boolean transacted,
int acknowledgeMode)
Creates an
XAQueueSession object. |
QueueReceiver |
QueueSession.createReceiver(Queue queue)
Creates a
QueueReceiver object to receive messages from the
specified queue. |
QueueReceiver |
QueueSession.createReceiver(Queue queue,
String messageSelector)
Creates a
QueueReceiver object to receive messages from the
specified queue using a message selector. |
QueueSender |
QueueSession.createSender(Queue queue)
Creates a
QueueSender object to send messages to the
specified queue. |
Session |
Connection.createSession(boolean transacted,
int acknowledgeMode)
Creates a
Session object. |
Session |
XAConnection.createSession(boolean transacted,
int acknowledgeMode)
Creates an
Session object. |
StreamMessage |
Session.createStreamMessage()
Creates a
StreamMessage object. |
TopicSubscriber |
TopicSession.createSubscriber(Topic topic)
Creates a nondurable subscriber to the specified topic.
|
TopicSubscriber |
TopicSession.createSubscriber(Topic topic,
String messageSelector,
boolean noLocal)
Creates a nondurable subscriber to the specified topic, using a
message selector or specifying whether messages published by its
own connection should be delivered to it.
|
TemporaryQueue |
QueueSession.createTemporaryQueue()
Creates a
TemporaryQueue object. |
TemporaryQueue |
Session.createTemporaryQueue()
Creates a
TemporaryQueue object. |
TemporaryTopic |
TopicSession.createTemporaryTopic()
Creates a
TemporaryTopic object. |
TemporaryTopic |
Session.createTemporaryTopic()
Creates a
TemporaryTopic object. |
TextMessage |
Session.createTextMessage()
Creates a
TextMessage object. |
TextMessage |
Session.createTextMessage(String text)
Creates an initialized
TextMessage object. |
Topic |
TopicSession.createTopic(String topicName)
Creates a topic identity given a
Topic name. |
Topic |
Session.createTopic(String topicName)
Creates a topic identity given a
Topic name. |
TopicConnection |
TopicConnectionFactory.createTopicConnection()
Creates a topic connection with the default user identity.
|
TopicConnection |
TopicConnectionFactory.createTopicConnection(String userName,
String password)
Creates a topic connection with the specified user identity.
|
TopicSession |
XATopicConnection.createTopicSession(boolean transacted,
int acknowledgeMode)
Creates an
XATopicSession object. |
TopicSession |
TopicConnection.createTopicSession(boolean transacted,
int acknowledgeMode)
Creates a
TopicSession object. |
XAConnection |
XAConnectionFactory.createXAConnection()
Creates an
XAConnection with the default user identity. |
XAConnection |
XAConnectionFactory.createXAConnection(String userName,
String password)
Creates an XA connection with the specified user identity.
|
XAQueueConnection |
XAQueueConnectionFactory.createXAQueueConnection()
Creates an XA queue connection with the default user identity.
|
XAQueueConnection |
XAQueueConnectionFactory.createXAQueueConnection(String userName,
String password)
Creates an XA queue connection with the specified user identity.
|
XAQueueSession |
XAQueueConnection.createXAQueueSession()
Creates an
XAQueueSession object. |
XASession |
XAConnection.createXASession()
Creates an
XASession object. |
XATopicConnection |
XATopicConnectionFactory.createXATopicConnection()
Creates an XA topic connection with the default user identity.
|
XATopicConnection |
XATopicConnectionFactory.createXATopicConnection(String userName,
String password)
Creates an XA topic connection with the specified user identity.
|
XATopicSession |
XATopicConnection.createXATopicSession()
Creates an
XATopicSession object. |
void |
TemporaryQueue.delete()
Deletes this temporary queue.
|
void |
TemporaryTopic.delete()
Deletes this temporary topic.
|
int |
Session.getAcknowledgeMode()
Returns the acknowledgement mode of the session.
|
long |
BytesMessage.getBodyLength()
Gets the number of bytes of the message body when the message
is in read-only mode.
|
boolean |
MapMessage.getBoolean(String name)
Returns the
boolean value with the specified name. |
boolean |
Message.getBooleanProperty(String name)
Returns the value of the
boolean property with the
specified name. |
byte |
MapMessage.getByte(String name)
Returns the
byte value with the specified name. |
byte |
Message.getByteProperty(String name)
Returns the value of the
byte property with the specified
name. |
byte[] |
MapMessage.getBytes(String name)
Returns the byte array value with the specified name.
|
char |
MapMessage.getChar(String name)
Returns the Unicode character value with the specified name.
|
String |
Connection.getClientID()
Gets the client identifier for this connection.
|
int |
MessageProducer.getDeliveryMode()
Gets the producer's default delivery mode.
|
Destination |
MessageProducer.getDestination()
Gets the destination associated with this
MessageProducer. |
boolean |
MessageProducer.getDisableMessageID()
Gets an indication of whether message IDs are disabled.
|
boolean |
MessageProducer.getDisableMessageTimestamp()
Gets an indication of whether message timestamps are disabled.
|
double |
MapMessage.getDouble(String name)
Returns the
double value with the specified name. |
double |
Message.getDoubleProperty(String name)
Returns the value of the
double property with the specified
name. |
Enumeration<?> |
QueueBrowser.getEnumeration()
Gets an enumeration for browsing the current queue messages in the
order they would be received.
|
ExceptionListener |
Connection.getExceptionListener()
Gets the
ExceptionListener object for this connection. |
float |
MapMessage.getFloat(String name)
Returns the
float value with the specified name. |
float |
Message.getFloatProperty(String name)
Returns the value of the
float property with the specified
name. |
int |
MapMessage.getInt(String name)
Returns the
int value with the specified name. |
int |
Message.getIntProperty(String name)
Returns the value of the
int property with the specified
name. |
String |
Message.getJMSCorrelationID()
Gets the correlation ID for the message.
|
byte[] |
Message.getJMSCorrelationIDAsBytes()
Gets the correlation ID as an array of bytes for the message.
|
int |
Message.getJMSDeliveryMode()
Gets the
DeliveryMode value specified for this message. |
Destination |
Message.getJMSDestination()
Gets the
Destination object for this message. |
long |
Message.getJMSExpiration()
Gets the message's expiration value.
|
int |
ConnectionMetaData.getJMSMajorVersion()
Gets the JMS major version number.
|
String |
Message.getJMSMessageID()
Gets the message ID.
|
int |
ConnectionMetaData.getJMSMinorVersion()
Gets the JMS minor version number.
|
int |
Message.getJMSPriority()
Not supported.
Gets the message priority level.
|
String |
ConnectionMetaData.getJMSProviderName()
Gets the JMS provider name.
|
boolean |
Message.getJMSRedelivered()
Gets an indication of whether this message is being redelivered.
|
Destination |
Message.getJMSReplyTo()
Gets the
Destination object to which a reply to this
message should be sent. |
long |
Message.getJMSTimestamp()
Gets the message timestamp.
|
String |
Message.getJMSType()
Gets the message type identifier supplied by the client when the
message was sent.
|
String |
ConnectionMetaData.getJMSVersion()
Gets the JMS API version.
|
Enumeration<?> |
ConnectionMetaData.getJMSXPropertyNames()
Gets an enumeration of the JMSX property names.
|
long |
MapMessage.getLong(String name)
Returns the
long value with the specified name. |
long |
Message.getLongProperty(String name)
Returns the value of the
long property with the specified
name. |
Enumeration<?> |
MapMessage.getMapNames()
Returns an
Enumeration of all the names in the
MapMessage object. |
MessageListener |
MessageConsumer.getMessageListener()
Gets the message consumer's
MessageListener. |
MessageListener |
Session.getMessageListener()
Returns the session's distinguished message listener (optional).
|
String |
QueueBrowser.getMessageSelector()
Gets this queue browser's message selector expression.
|
String |
MessageConsumer.getMessageSelector()
Gets this message consumer's message selector expression.
|
ConnectionMetaData |
Connection.getMetaData()
Gets the metadata for this connection.
|
boolean |
TopicSubscriber.getNoLocal()
Gets the
NoLocal attribute for this subscriber. |
Serializable |
ObjectMessage.getObject()
Gets the serializable object containing this message's data.
|
Object |
MapMessage.getObject(String name)
Returns the value of the object with the specified name.
|
Object |
Message.getObjectProperty(String name)
Returns the value of the Java object property with the specified name.
|
int |
MessageProducer.getPriority()
Gets the producer's default priority.
|
Enumeration<?> |
Message.getPropertyNames()
Returns an
Enumeration of all the property names. |
int |
ConnectionMetaData.getProviderMajorVersion()
Gets the JMS provider major version number.
|
int |
ConnectionMetaData.getProviderMinorVersion()
Gets the JMS provider minor version number.
|
String |
ConnectionMetaData.getProviderVersion()
Gets the JMS provider version.
|
Queue |
QueueSender.getQueue()
Gets the queue associated with this
QueueSender. |
Queue |
QueueBrowser.getQueue()
Gets the queue associated with this queue browser.
|
Queue |
QueueReceiver.getQueue()
Gets the
Queue associated with this queue receiver. |
String |
Queue.getQueueName()
Gets the name of this queue.
|
QueueSession |
XAQueueSession.getQueueSession()
Gets the queue session associated with this
XAQueueSession. |
ServerSession |
ServerSessionPool.getServerSession()
Return a server session from the pool.
|
ServerSessionPool |
ConnectionConsumer.getServerSessionPool()
Gets the server session pool associated with this connection consumer.
|
Session |
ServerSession.getSession()
Return the
ServerSession's Session. |
Session |
XASession.getSession()
Gets the session associated with this
XASession. |
short |
MapMessage.getShort(String name)
Returns the
short value with the specified name. |
short |
Message.getShortProperty(String name)
Returns the value of the
short property with the specified
name. |
String |
MapMessage.getString(String name)
Returns the
String value with the specified name. |
String |
Message.getStringProperty(String name)
Returns the value of the
String property with the specified
name. |
String |
TextMessage.getText()
Gets the string containing this message's data.
|
long |
MessageProducer.getTimeToLive()
Gets the default length of time in milliseconds from its dispatch time
that a produced message should be retained by the message system.
|
Topic |
TopicPublisher.getTopic()
Gets the topic associated with this
TopicPublisher. |
Topic |
TopicSubscriber.getTopic()
Gets the
Topic associated with this subscriber. |
String |
Topic.getTopicName()
Gets the name of this topic.
|
TopicSession |
XATopicSession.getTopicSession()
Gets the topic session associated with this
XATopicSession. |
boolean |
XASession.getTransacted()
Indicates whether the session is in transacted mode.
|
boolean |
Session.getTransacted()
Indicates whether the session is in transacted mode.
|
boolean |
MapMessage.itemExists(String name)
Indicates whether an item exists in this
MapMessage object. |
boolean |
Message.propertyExists(String name)
Indicates whether a property value exists.
|
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.
|
boolean |
StreamMessage.readBoolean()
Reads a
boolean from the stream message. |
boolean |
BytesMessage.readBoolean()
Reads a
boolean from the bytes message stream. |
byte |
StreamMessage.readByte()
Reads a
byte value from the stream message. |
byte |
BytesMessage.readByte()
Reads a signed 8-bit value from the bytes message stream.
|
int |
StreamMessage.readBytes(byte[] value)
Reads a byte array field from the stream message into the
specified
byte[] object (the read buffer). |
int |
BytesMessage.readBytes(byte[] value)
Reads a byte array from the bytes message stream.
|
int |
BytesMessage.readBytes(byte[] value,
int length)
Reads a portion of the bytes message stream.
|
char |
StreamMessage.readChar()
Reads a Unicode character value from the stream message.
|
char |
BytesMessage.readChar()
Reads a Unicode character value from the bytes message stream.
|
double |
StreamMessage.readDouble()
Reads a
double from the stream message. |
double |
BytesMessage.readDouble()
Reads a
double from the bytes message stream. |
float |
StreamMessage.readFloat()
Reads a
float from the stream message. |
float |
BytesMessage.readFloat()
Reads a
float from the bytes message stream. |
int |
StreamMessage.readInt()
Reads a 32-bit integer from the stream message.
|
int |
BytesMessage.readInt()
Reads a signed 32-bit integer from the bytes message stream.
|
long |
StreamMessage.readLong()
Reads a 64-bit integer from the stream message.
|
long |
BytesMessage.readLong()
Reads a signed 64-bit integer from the bytes message stream.
|
Object |
StreamMessage.readObject()
Reads an object from the stream message.
|
short |
StreamMessage.readShort()
Reads a 16-bit integer from the stream message.
|
short |
BytesMessage.readShort()
Reads a signed 16-bit number from the bytes message stream.
|
String |
StreamMessage.readString()
Reads a
String from the stream message. |
int |
BytesMessage.readUnsignedByte()
Reads an unsigned 8-bit number from the bytes message stream.
|
int |
BytesMessage.readUnsignedShort()
Reads an unsigned 16-bit number from the bytes message stream.
|
String |
BytesMessage.readUTF()
Reads a string that has been encoded using a modified UTF-8
format from the bytes message stream.
|
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.
|
void |
Session.recover()
Stops message delivery in this session, and restarts message delivery
with the oldest unacknowledged message.
|
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 |
StreamMessage.reset()
Puts the message body in read-only mode and repositions the stream
to the beginning.
|
void |
BytesMessage.reset()
Puts the message body in read-only mode and repositions the stream of
bytes to the beginning.
|
void |
XASession.rollback()
Throws a
TransactionInProgressException, since it should
not be called for an XASession object. |
void |
Session.rollback()
Rolls back any messages done in this transaction and releases any locks
currently held.
|
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.
|
void |
MapMessage.setBoolean(String name,
boolean value)
Sets a
boolean value with the specified name into the Map. |
void |
Message.setBooleanProperty(String name,
boolean value)
Sets a
boolean property value with the specified name into
the message. |
void |
MapMessage.setByte(String name,
byte value)
Sets a
byte value with the specified name into the Map. |
void |
Message.setByteProperty(String name,
byte value)
Sets a
byte property value with the specified name into
the message. |
void |
MapMessage.setBytes(String name,
byte[] value)
Sets a byte array value with the specified name into the Map.
|
void |
MapMessage.setBytes(String name,
byte[] value,
int offset,
int length)
Sets a portion of the byte array value with the specified name into the
Map.
|
void |
MapMessage.setChar(String name,
char value)
Sets a Unicode character value with the specified name into the Map.
|
void |
Connection.setClientID(String clientID)
Sets the client identifier for this connection.
|
void |
MessageProducer.setDeliveryMode(int deliveryMode)
Sets the producer's default delivery mode.
|
void |
MessageProducer.setDisableMessageID(boolean value)
Sets whether message IDs are disabled.
|
void |
MessageProducer.setDisableMessageTimestamp(boolean value)
Sets whether message timestamps are disabled.
|
void |
MapMessage.setDouble(String name,
double value)
Sets a
double value with the specified name into the Map. |
void |
Message.setDoubleProperty(String name,
double value)
Sets a
double property value with the specified name into
the message. |
void |
Connection.setExceptionListener(ExceptionListener listener)
Sets an exception listener for this connection.
|
void |
MapMessage.setFloat(String name,
float value)
Sets a
float value with the specified name into the Map. |
void |
Message.setFloatProperty(String name,
float value)
Sets a
float property value with the specified name into
the message. |
void |
MapMessage.setInt(String name,
int value)
Sets an
int value with the specified name into the Map. |
void |
Message.setIntProperty(String name,
int value)
Sets an
int property value with the specified name into
the message. |
void |
Message.setJMSCorrelationID(String correlationID)
Sets the correlation ID for the message.
|
void |
Message.setJMSCorrelationIDAsBytes(byte[] correlationID)
Sets the correlation ID as an array of bytes for the message.
|
void |
Message.setJMSDeliveryMode(int deliveryMode)
Sets the
DeliveryMode value for this message. |
void |
Message.setJMSDestination(Destination destination)
Sets the
Destination object for this message. |
void |
Message.setJMSExpiration(long expiration)
Sets the message's expiration value.
|
void |
Message.setJMSMessageID(String id)
Sets the message ID.
|
void |
Message.setJMSPriority(int priority)
Sets the priority level for this message.
|
void |
Message.setJMSRedelivered(boolean redelivered)
Specifies whether this message is being redelivered.
|
void |
Message.setJMSReplyTo(Destination replyTo)
Sets the
Destination object to which a reply to this
message should be sent. |
void |
Message.setJMSTimestamp(long timestamp)
Sets the message timestamp.
|
void |
Message.setJMSType(String type)
Sets the message type.
|
void |
MapMessage.setLong(String name,
long value)
Sets a
long value with the specified name into the Map. |
void |
Message.setLongProperty(String name,
long value)
Sets a
long property value with the specified name into
the message. |
void |
MessageConsumer.setMessageListener(MessageListener listener)
Sets the message consumer's
MessageListener. |
void |
Session.setMessageListener(MessageListener listener)
Sets the session's distinguished message listener (optional).
|
void |
ObjectMessage.setObject(Serializable object)
Sets the serializable object containing this message's data.
|
void |
MapMessage.setObject(String name,
Object value)
Sets an object value with the specified name into the Map.
|
void |
Message.setObjectProperty(String name,
Object value)
Sets a Java object property value with the specified name into the
message.
|
void |
MessageProducer.setPriority(int defaultPriority)
Sets the producer's default priority.
|
void |
MapMessage.setShort(String name,
short value)
Sets a
short value with the specified name into the Map. |
void |
Message.setShortProperty(String name,
short value)
Sets a
short property value with the specified name into
the message. |
void |
MapMessage.setString(String name,
String value)
Sets a
String value with the specified name into the Map. |
void |
Message.setStringProperty(String name,
String value)
Sets a
String property value with the specified name into
the message. |
void |
TextMessage.setText(String string)
Sets the string containing this message's data.
|
void |
MessageProducer.setTimeToLive(long timeToLive)
Sets the default length of time in milliseconds from its dispatch time
that a produced message should be retained by the message system.
|
void |
Connection.start()
Starts (or restarts) a connection's delivery of incoming messages.
|
void |
ServerSession.start()
Cause the
Session's run method to be called
to process messages that were just assigned to it. |
void |
Connection.stop()
Temporarily stops a connection's delivery of incoming messages.
|
void |
TopicSession.unsubscribe(String name)
Unsubscribes a durable subscription that has been created by a client.
|
void |
Session.unsubscribe(String name)
Unsubscribes a durable subscription that has been created by a client.
|
void |
StreamMessage.writeBoolean(boolean value)
Writes a
boolean to the stream message. |
void |
BytesMessage.writeBoolean(boolean value)
Writes a
boolean to the bytes message stream as a 1-byte
value. |
void |
StreamMessage.writeByte(byte value)
Writes a
byte to the stream message. |
void |
BytesMessage.writeByte(byte value)
Writes a
byte to the bytes message stream as a 1-byte
value. |
void |
StreamMessage.writeBytes(byte[] value)
Writes a byte array field to the stream message.
|
void |
BytesMessage.writeBytes(byte[] value)
Writes a byte array to the bytes message stream.
|
void |
StreamMessage.writeBytes(byte[] value,
int offset,
int length)
Writes a portion of a byte array as a byte array field to the stream
message.
|
void |
BytesMessage.writeBytes(byte[] value,
int offset,
int length)
Writes a portion of a byte array to the bytes message stream.
|
void |
StreamMessage.writeChar(char value)
Writes a
char to the stream message. |
void |
BytesMessage.writeChar(char value)
Writes a
char to the bytes message stream as a 2-byte
value, high byte first. |
void |
StreamMessage.writeDouble(double value)
Writes a
double to the stream message. |
void |
BytesMessage.writeDouble(double value)
Converts the
double argument to a long using
the
doubleToLongBits method in class Double,
and then writes that long value to the bytes message
stream as an 8-byte quantity, high byte first. |
void |
StreamMessage.writeFloat(float value)
Writes a
float to the stream message. |
void |
BytesMessage.writeFloat(float value)
Converts the
float argument to an int using
the
floatToIntBits method in class Float,
and then writes that int value to the bytes message
stream as a 4-byte quantity, high byte first. |
void |
StreamMessage.writeInt(int value)
Writes an
int to the stream message. |
void |
BytesMessage.writeInt(int value)
Writes an
int to the bytes message stream as four bytes,
high byte first. |
void |
StreamMessage.writeLong(long value)
Writes a
long to the stream message. |
void |
BytesMessage.writeLong(long value)
Writes a
long to the bytes message stream as eight bytes,
high byte first. |
void |
StreamMessage.writeObject(Object value)
Writes an object to the stream message.
|
void |
BytesMessage.writeObject(Object value)
Writes an object to the bytes message stream.
|
void |
StreamMessage.writeShort(short value)
Writes a
short to the stream message. |
void |
BytesMessage.writeShort(short value)
Writes a
short to the bytes message stream as two bytes,
high byte first. |
void |
StreamMessage.writeString(String value)
Writes a
String to the stream message. |
void |
BytesMessage.writeUTF(String value)
Writes a string to the bytes message stream using UTF-8 encoding in a
machine-independent manner.
|
| Constructor and Description |
|---|
QueueRequestor(QueueSession session,
Queue queue)
Constructor for the
QueueRequestor class. |
TopicRequestor(TopicSession session,
Topic topic)
Constructor for the
TopicRequestor class. |
Copyright 2004-2020 Solace Corporation. All rights reserved.