当前页面:
在线文档首页 >
JBoss 3.2.7 messaging API Documentation 英文版文档
SpyQueueSender (JBoss Messaging API) - JBoss 3.2.7 messaging API Documentation 英文版文档
org.jboss.mq
Class SpyQueueSender
java.lang.Object
org.jboss.mq.SpyMessageProducer
org.jboss.mq.SpyQueueSender
- All Implemented Interfaces:
- javax.jms.MessageProducer, javax.jms.QueueSender
- public class SpyQueueSender
- extends SpyMessageProducer
- implements javax.jms.QueueSender
This class implements javax.jms.QueueSender
A sender created with a null Queue will now be interpreted as created as an
unidentifyed sender and follows the spec in throwing
UnsupportedOperationException at the correct places.
- Version:
- $Revision: 1.4.4.1 $
- Author:
- Norbert Lataille (Norbert.Lataille@m4x.org), Hiram Chirino (Cojonudo14@hotmail.com), Peter Antman, Adrian Brock
Method Summary |
javax.jms.Queue |
getQueue()
|
void |
send(javax.jms.Queue queue,
javax.jms.Message message)
|
void |
send(javax.jms.Queue queue,
javax.jms.Message message,
int deliveryMode,
int priority,
long timeToLive)
|
Methods inherited from class org.jboss.mq.SpyMessageProducer |
checkClosed, close, encapsulateMessage, getDeliveryMode, getDestination, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, send, send, send, send, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setPriority, setTimeToLive, setTimeToLive, toString |
Methods inherited from interface javax.jms.QueueSender |
send, send |
Methods inherited from interface javax.jms.MessageProducer |
close, getDeliveryMode, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setPriority, setTimeToLive |
getQueue
public javax.jms.Queue getQueue()
throws javax.jms.JMSException
- Specified by:
getQueue
in interface javax.jms.QueueSender
- Throws:
javax.jms.JMSException
send
public void send(javax.jms.Queue queue,
javax.jms.Message message)
throws javax.jms.JMSException
- Specified by:
send
in interface javax.jms.QueueSender
- Throws:
javax.jms.JMSException
send
public void send(javax.jms.Queue queue,
javax.jms.Message message,
int deliveryMode,
int priority,
long timeToLive)
throws javax.jms.JMSException
- Specified by:
send
in interface javax.jms.QueueSender
- Throws:
javax.jms.JMSException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.