|
Oracle® Streams Advanced Queuing Java API Reference Release 1 (10.1) B12023-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Adds Oracle AQ specific extensions to javax.jms.TopicPublisher
Allows point to point publishing and use of transformations.
Method Summary | |
java.lang.String |
getTransformation() Get the transformation for the consumer |
void |
publish(javax.jms.Message message, oracle.jms.AQjmsAgent[] recipient_list) Publish a Message to a specific list of recipients |
void |
publish(javax.jms.Message message, oracle.jms.AQjmsAgent[] recipient_list, int deliveryMode, int priority, long timeToLive) Publish a Message to a topic by specifying a list of recipients, delivery mode, priority and time to live |
void |
publish(javax.jms.Topic topic, javax.jms.Message message, oracle.jms.AQjmsAgent[] recipient_list) Publish a Message to a topic by specifying a list of recipients |
void |
publish(javax.jms.Topic topic, javax.jms.Message message, oracle.jms.AQjmsAgent[] recipient_list, int deliveryMode, int priority, long timeToLive) Publish a Message to a topic by specifying a list of recipients, delivery mode, priority and time to live |
void |
setTransformation(java.lang.String transformation) Set transformation for this sender. |
Methods inherited from interface javax.jms.TopicPublisher |
getTopic, publish, publish, publish, publish |
Methods inherited from interface javax.jms.MessageProducer |
close, getDeliveryMode, getDestination, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, send, send, send, send, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setPriority, setTimeToLive |
Method Detail |
public void publish(javax.jms.Message message, oracle.jms.AQjmsAgent[] recipient_list) throws JMSException
message
- The message to be publishedrecipient_list
- The list of recipients to which the message is published. The recipients are of type AQjmsAgent.JMSException
- if JMS fails to publish the mesasge due to some internal error.public void publish(javax.jms.Topic topic, javax.jms.Message message, oracle.jms.AQjmsAgent[] recipient_list) throws JMSException
topic
- The topic to which to publish the message. This overrides the default topic of the Message Producermessage
- The message to be publishedrecipient_list
- The list of recipients to which the message is published. The recipients are of type AQjmsAgent.JMSException
- if JMS fails to publish the messgae due to some internal error.public void publish(javax.jms.Message message, oracle.jms.AQjmsAgent[] recipient_list, int deliveryMode, int priority, long timeToLive) throws JMSException
message
- The message to be publishedrecipient_list
- The list of recipients to which the message is published. The recipients are of type AQjmsAgent.deliveryMode
- The delivery mode - perisistent or non_persistentpriority
- The priority of the messagetimeToLive
- the message time to live in milliseconds; zero is unlimitedJMSException
- if JMS fails to publish the messgae due to some internal error.public void publish(javax.jms.Topic topic, javax.jms.Message message, oracle.jms.AQjmsAgent[] recipient_list, int deliveryMode, int priority, long timeToLive) throws JMSException
topic
- The topic to which to publish the message. This overrides the default topic of the Message Producermessage
- The message to be publishedrecipient_list
- The list of recipients to which the message is published. The recipients are of type AQjmsAgent.deliveryMode
- The delivery mode - perisistent or non_persistentpriority
- The priority of the messagetimeToLive
- the message time to live in milliseconds; zero is unlimitedJMSException
- if JMS fails to publish the messgae due to some internal error.public void setTransformation(java.lang.String transformation)
transformation
- transformation namepublic java.lang.String getTransformation()
|
Oracle® Streams Advanced Queuing Java API Reference Release 1 (10.1) B12023-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |