Oracle9i Application Developer's Guide - Advanced Queuing Release 2 (9.2) Part Number A96587-01 |
|
This chapter discusses the JMS interfaces, classes, and exceptions shown in Table B-1.
Interface / Class / Exception |
---|
javax.jms.BytesMessage
readBoolean()
readByte()
readBytes(byte[])
readBytes(byte[], int)
readChar()
readDouble()
readFloat()
readInt()
readLong()
readShort()
readUnsignedByte()
readUnsignedShort()
readUTF()
reset()
writeBoolean(boolean)
writeByte(byte)
writeBytes(byte[])
writeBytes(byte[], int, int)
writeChar(char)
writeDouble(double)
writeFloat(float)
writeInt(int)
writeLong(long)
writeObject(Object)
writeShort(short)
writeUTF(String)
javax.jms.Connection
close()
getClientID()
getMetaData()
start()
stop()
getExceptionListener()
setExceptionListener(ExceptionListener)
javax.jms.ConnectionFactory
javax.jms.ConnectionMetaData
getJMSMajorVersion()
getJMSMinorVersion()
getJMSProviderName()
getJMSVersion()
getProviderMajorVersion()
getProviderMinorVersion()
getProviderVersion()
javax.jms.DeliveryMode
NON_PERSISTENT (not currently supported)
PERSISTENT
javax.jms.Destination
javax.jms.MapMessage
getBoolean(String)
getByte(String)
getBytes(String)
getChar(String)
getDouble(String)
getFloat(String)
getInt(String)
getLong(String)
getMapNames()
getObject(String)
getShort(String)
getString(String)
itemExists(String)
setBoolean(String, boolean)
setByte(String, byte)
setBytes(String, byte[])
setBytes(String, byte[], int, int)
setChar(String, char)
setDouble(String, double)
setFloat(String, float)
setInt(String, int)
setLong(String, long)
setObject(String, Object)
setShort(String, short)
setString(String, String)
javax.jms.Message
clearBody()
clearProperties()
getBooleanProperty(String)
getByteProperty(String)
getDoubleProperty(String)
getFloatProperty(String)
getIntProperty(String)
getJMSCorrelationID()
getJMSCorrelationIDAsBytes()
getJMSDeliveryMode()
getJMSDestination()
getJMSExpiration()
getJMSMessageID()
getJMSPriority()
getJMSReplyTo()
getJMSTimestamp()
getJMSType()
getLongProperty(String)
getObjectProperty(String)
getPropertyNames()
getShortProperty(String)
getStringProperty(String)
propertyExists(String)
setBooleanProperty(String, boolean)
setByteProperty(String, byte)
setDoubleProperty(String, double)
setFloatProperty(String, float)
setIntProperty(String, int)
setJMSCorrelationID(String)
setJMSCorrelation(IDAsBytes(byte[])
setJMSReplyTo(Destination)
setJMSType(String)
setLongProperty(String, long)
setObjectProperty(String, Object)
setShortProperty(String, short)
setStringProperty(String, String)
javax.jms.MessageConsumer
close()
getMessageListener()
getMessageSelector()
receive()
receive(long)
receiveNoWait()
setMessageListener(MessageListener)
javax.jms.MessageListener
onMessage(Message)
javax.jms.MessageProducer
close()
getDeliveryMode()
getDisableMessageID()
getPriority()
getTimeToLive()
setDisableMessageID(boolean)
setPriority(int)
setTimeToLive(int)
javax.jms.bjectMessage
getObject()
setObject(Serializable)
javax.jms.Queue
getQueueName()
toString()
javax.jms.Queue Browser
close()
getEnumeration()
getMessageSelector()
getQueue()
javax.jms.QueueConnection
createQueueSession(boolean, int)
javax.jms.QueueConnectionFactory
createQueueConnection()
createQueueConnection(String, String)
javax.jms.QueueReceiver
getQueue()
javax.jms.QueueSender
getQueue()
send(Message)
send(Message, int, int, long)
send(Queue, Message)
send(Queue, Message, int, int, long)
javax.jms.QueueSession
createBrowser(Queue)
createBrowser(Queue, String)
createQueue(String)
createReceiver(Queue)
createReceiver(Queue, String)
createSender(Queue)
javax.jms.Session
AUTO_ACKNOWLEDGE
CLIENT_ACKNOWLEDGE
DUPS_OK_ACKNOWLEDGE
close()
commit()
createBytesMessage()
createMapMessage()
createMessage()
createObjectMessage()
createObjectMessage(Serializable)
createStreamMessage()
createTextMessage()
createTextMessage(StringBuffer)
getMessageListener()
getTransacted()
rollback()
setMessageListener(MessageListener)
Refer to the following use cases:
javax.jms.StreamMessage
readBoolean()
readByte()
readBytes(byte[])
readChar()
readDouble()
readFloat()
readInt()
readLong()
readObject()
readShort()
readString()
reset()
writeBoolean(boolean)
writeByte(byte)
writeBytes(byte[])
writeBytes(byte[], int, int)
writeChar(char)
writeDouble(double)
writeFloat(float)
writeInt(int)
writeLong(long)
writeObject(Object)
writeShort(short)
writeString(String)
javax.jms.TextMessage
getText()
setText(String)
javax.jms.Topic
getTopicName()
toString()
javax.jms.TopicConnection
createTopicSession(boolean, int)
javax.jms.TopicConnectionFactory
createTopicConnection()
createTopicConnection(String, String)
javax.jms.TopicPublisher
getTopic()
publish(Message)
publish(Message, int, int, long)
publish(Topic, Message)
publish(Topic, Message, int, int, long)
javax.jms.TopicSession
createDurableSubscriber(Topic, String)
createDurableSubscriber(Topic, String, String, boolean)
createPublisher(Topic)
javax.jms.TopicSubscriber
getNoLocal()
getTopic()
javax.jms.InvalidDestination-Exception
InvalidDestinationException(String)
InvalidDestinationException(String, String)
javax.jms.InvalidSelector-Exception
InvalidSelectorException(String)
InvalidSelectorException(String, String)
javax.jms.JMSException
JMSException(String)
JMSException(String, String)
getErrorCode()
getLinkedException()
setLinkedException(Exception)
javax.jms.MessageEOFException
MessageEOFException(String)
MessageEOFException(String, String)
javax.jms.MessageFormatException
MessageFormatException(String)
MessageFormatException(String, String)
javax.jms.MessageNotReadable-Exception
MessageNotReadableException(String)
MessageNotReadableException(String, String)
javax.jms.MessageNotWriteable-Exception
MessageNotWriteableException(String)
MessageNotWriteableException(String, String)
oracle.jms.AdtMessage
getAdtPayload()
setAdtPayload(CustomDatum)
oracle.jms.AQjmsQueueReceiver
getNavigationMode()
receiveNoData()
receiveNoData(long)
setNavigationMode(int)
oracle.jms.AQjmsQueueSender
oracle.jms.AQjmsTopicPublisher
publish(Message, AQjmsAgent[])
publish(Message, AQjmsAgent[], int, int, long)
publish(Topic, Message, AQjmsAgent[])
publish(Topic, Message, AQjmsAgent[], int, int, long)
oracle.jms.AQjmsTopicReceiver
getNavigationMode()
receiveNoData()
receiveNoData(long)
setNavigationMode(int)
oracle.jms.AQjmsTopicSubscriber
getNavigationMode()
receiveNoData()
receiveNoData(long)
setNavigationMode(int)
oracle.jms.TopicReceiver
getTopic()
oracle.jms.AQjmsAdtMessage
getAdtPayload()
setAdtPayload(CustomDatum)
oracle.jms.AQjmsAgent
AQjmsAgent(String, String)
AQjmsAgent(String, String, int)
getAddress()
getName()
getProtocol()
setAddress(String)
setName(String)
setProtocol(int)
toString()
oracle.jms.AQjmsBytesMessage
oracle.jms.AQjmsConnection
getCurrentJmsSession()
getOCIConnectionPool()
oracle.jms.AQjmsConnectionMeta-Data
oracle.jms.AQjmsConstants
EXCEPTION
NAVIGATION_FIRST_MESSAGE
NAVIGATION_NEXT_MESSAGE
NAVIGATION_NEXT_
TRANSACTION
NONE
NORMAL
STATE_EXPIRED
STATE_PROCESSED
STATE_READY
STATE_WAITING
TRANSACTIONAL
WAIT_FOREVER
WAIT_NONE
oracle.jms.AQjmsConsumer
oracle.jms.AQjmsDestination
alter(Session, AQjmsDestinationProperty)
alterPropagationSchedule(Session, String, Double, String, Double)
disablePropagationSchedule(Session, String)
drop(Session)
enablePropagationSchedule(Session, String)
getCompleteName()
getCompleteTableName()
getQueueName()
getQueueOwner()
getTopicName()
getTopicOwner()
grantQueuePrivilege(Session, String, String, boolean)
grantTopicPrivilege(Session, String, String, boolean)
revokeQueuePrivilege(Session, String, String)
revokeTopicPrivilege(Session, String, String)
schedulePropagation(Session, String, Date, Double, String, Double)
start(Session, boolean, boolean)
stop(Session, boolean, boolean, boolean)
toString()
unschedulePropagation(Session, String)
Refer to the following use cases:
oracle.jms.AQjmsDestinationProperty
EXCEPTION_QUEUE
INFINITE
NORMAL_QUEUE
AQjmsDestinationProperty()
getComment()
getMaxRetries()
getQueueType()
getRetentionTime()
getRetryInterval()
setComment(java.lang.String qt_comment)
setMaxRetries(int retries)
setMaxRetries(java.lang.Integer retries)
setQueueType(int q_type)
setRetentionTime(double r_time)
setRetentionTime(java.lang.Double r_time)
setRetryInterval(double interval)
setRetryInterval(java.lang.Double interval)
toString()
oracle.jms.AQjmsFactory
getQueueConnectionFactory(String, Properties)
getQueueConnectionFactory(String, String, int, String)
getTopicConnectionFactory(String, Properties)
getTopicConnectionFactory(String, String, int, String)
oracle.jms.AQjmsMapMessage
oracle.jms.AQjmsMessage
getJMSMessageIDAsBytes()
getSenderID()
setSenderID(AQjmsAgent)
oracle.jms.AQjmsObjectMessage
oracle.jms.AQjmsOracleDebug
AQ_ORA_TR1
AQ_ORA_TR2
AQ_ORA_TR3
AQ_ORA_TR4
AQ_ORA_TR5
getLogStream()
setLogStream(OutputStream)
setTraceLevel(int)
oracle.jms.AQjmsProducer
oracle.jms.AQjmsQueueBrowser
oracle.jmsAQjmsQueueConnection-Factory
createQueueConnection(Connection)
createQueueConnection(OracleOCIConnectionPool)
createQueueConnection()
createQueueConnection(String, String)
oracle.jms.AQjmsSession
createAdtMessage()
createAdtMessage(CustomDatum)
createBrowser(Queue, CustomDatumFactory)
createBrowser(Queue, String, boolean)
createBrowser(Queue, String, CustomDatumFactory)
createBrowser(Queue, String, CustomDatumFactory, boolean)
createBrowser(Topic, String)
createBrowser(Topic, String, boolean)
createBrowser(Topic, String, CustomDatumFactory)
createBrowser(Topic, String, CustomDatumFactory, boolean )
createBrowser(Topic, String, String)
createBrowser(Topic, String, String, boolean)
createBrowser(Topic, String, String, CustomDatumFactory)
createBrowser(Topic, String, String, CustomDatumFactory, boolean)
createDurableSubscriber(Topic, String, CustomDatumFactory)
createDurableSubscriber(Topic, String, String, boolean, CustomDatumFactory)
createQueue(AQQueueTable, String, AQjmsDestinationProperty)
createQueueTable(String, String, AQQueueTableProperty)
createReceiver(Queue, CustomDatumFactory)
createReceiver(Queue, String, CustomDatumFactory)
createRemoteSubscriber(Topic, AQjmsAgent, String)
createRemoteSubscriber(Topic, AQjmsAgent, String, CustomDatumFactory)
createTopic(AQQueueTable, String, AQjmsDestinationProperty)
createTopicReceiver(Topic, String, String)
createTopicReceiver(Topic, String, String, CustomDatumFactory)
getDBConnection()
getJmsConnection()
getQueue(String, String)
getQueueTable(String, String)
getTopic(String, String)
grantSystemPrivilege(String, String, boolean)
revokeSystemPrivilege(String, String)
unsubscribe(Topic, AQjmsAgent)
unsubscribe(Topic, String)
Creating a Topic--Publish-Subscribe
Granting Queue Privileges--Point-to-Point
Revoking Queue Privileges--Point-to-Point
Creating a Queue Browser for Queues of Oracle Object Type (ADT) Messages
Creating a Queue Browser for Queues of Oracle Object Type (ADT) Messages
Creating a Queue Receiver for Queues of Oracle Object Type (ADT) Messages
Creating a Durable Subscriber for an ADT Topic without Selector
Creating a Durable Subscriber for an ADT Topic with Selector
Creating a Remote Subscriber for Topics of JMS Messages
Creating a Remote Subscriber for Topics of Oracle Object Type (ADT) Messages
Unsubscribing a Durable Subscription for a Local Subscriber
Unsubscribing a Durable Subscription for a Remote Subscriber
Creating a Topic Receiver for a Topic of Standard JMS Type Messages
Creating a Topic Receiver for a Topic of Oracle Object Type (ADT) Messages
Getting the JMS Connection from a Session
Getting the Underlying JDBC Connection from a JMS Session
oracle.jms.AQjmsStreamMessage
oracle.jms.AQjmsTextMessage
oracle.jms.AQjmsTopicConnection-Factory
createTopicConnection(Connection)
createTopicConnection(OracleOCIConnectionPool)
createTopicConnection()
createTopicConnection(String, String)
oracle.jms.AQjmsException
getErrorNumber()
oracle.jms.AQjmsInvalidDestination-Exception
oracle.jms.AQjmsInvalidSelector-Exception
oracle.jms.AQjmsMessageEOF-Exception
oracle.jms.AQjmsMessageFormatException
oracle.jms.AQjmsMessageNotReadableException
oracle.jms.AQjmsMessageNotWriteableException
oracle.AQ.AQQueueTable
alter(java.lang.String comment)
alter(java.lang.String comment, int primary_instance, int secondary_instance)
drop(boolean force)
getName()
getOwner()
getProperty()
oracle.AQ.AQQueueTableProperty
NONE
TRANSACTIONAL
<< constructors >>
AQQueueTableProperty(java.lang.String p_type)
getComment()
getCompatible()
getMessageGrouping()
getPayloadType()
getPrimaryInstance()
getSecondaryInstance()
getSortOrder()
isMulticonsumerEnabled()
setComment(java.lang.String qt_comment)
setCompatible(java.lang.String qt_compatible)
setMessageGrouping(int message_grouping)
setMultiConsumer(boolean enable)
setPayloadType(java.lang.String p_type)
setPrimaryInstance(int inst)
setSecondaryInstance(int inst)
setSortOrder(java.lang.String s_order)
setStorageClause(java.lang.String s_clause)
toString()
oracle.jms.TopicBrowser
close()
get Enumeration()
getTopic()
getMessageSelector()
purgeSeen()
oracle.jms.AQjmsTopicBrowser
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|