org.jboss.jms.delegate
Interface SessionDelegate
- All Superinterfaces:
- Closeable, SessionEndpoint
- All Known Implementing Classes:
- ClientSessionDelegate
public interface SessionDelegate
- extends SessionEndpoint
Represents the minimal set of operations to provide session functionality.
Some of the methods may be implemented on the server, others will be handled in the advice stack.
- Version:
- $Revision: 3238 $
$Id: SessionDelegate.java 3238 2007-10-21 23:29:00Z timfox $
- Author:
- Ovidiu Feodorov, Tim Fox
Methods inherited from interface org.jboss.jms.delegate.SessionEndpoint |
acknowledgeDeliveries, acknowledgeDelivery, addTemporaryDestination, cancelDeliveries, cancelDelivery, createBrowserDelegate, createConsumerDelegate, createQueue, createTopic, deleteTemporaryDestination, recoverDeliveries, send, unsubscribe |
createMessage
MessageProxy createMessage()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createBytesMessage
BytesMessageProxy createBytesMessage()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createMapMessage
MapMessageProxy createMapMessage()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createObjectMessage
ObjectMessageProxy createObjectMessage()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createObjectMessage
ObjectMessageProxy createObjectMessage(java.io.Serializable object)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createStreamMessage
StreamMessageProxy createStreamMessage()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createTextMessage
TextMessageProxy createTextMessage()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createTextMessage
TextMessageProxy createTextMessage(java.lang.String text)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
preDeliver
void preDeliver(DeliveryInfo deliveryInfo)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
postDeliver
boolean postDeliver()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
getMessageListener
javax.jms.MessageListener getMessageListener()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
setMessageListener
void setMessageListener(javax.jms.MessageListener listener)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
run
void run()
getXAResource
javax.transaction.xa.XAResource getXAResource()
addAsfMessage
void addAsfMessage(MessageProxy m,
java.lang.String consumerID,
java.lang.String queueName,
int maxDeliveries,
SessionDelegate connectionConsumerDelegate,
boolean shouldAck)
getTransacted
boolean getTransacted()
getAcknowledgeMode
int getAcknowledgeMode()
commit
void commit()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
rollback
void rollback()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
recover
void recover()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
redeliver
void redeliver(java.util.List deliveryInfos)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createProducerDelegate
ProducerDelegate createProducerDelegate(JBossDestination destination)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
acknowledgeAll
void acknowledgeAll()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
Copyright © 2006 JBoss Inc. All Rights Reserved.