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 JMSException
- Throws:
JMSException
createBytesMessage
BytesMessageProxy createBytesMessage()
throws JMSException
- Throws:
JMSException
createMapMessage
MapMessageProxy createMapMessage()
throws JMSException
- Throws:
JMSException
createObjectMessage
ObjectMessageProxy createObjectMessage()
throws JMSException
- Throws:
JMSException
createObjectMessage
ObjectMessageProxy createObjectMessage(java.io.Serializable object)
throws JMSException
- Throws:
JMSException
createStreamMessage
StreamMessageProxy createStreamMessage()
throws JMSException
- Throws:
JMSException
createTextMessage
TextMessageProxy createTextMessage()
throws JMSException
- Throws:
JMSException
createTextMessage
TextMessageProxy createTextMessage(java.lang.String text)
throws JMSException
- Throws:
JMSException
preDeliver
void preDeliver(DeliveryInfo deliveryInfo)
throws JMSException
- Throws:
JMSException
postDeliver
boolean postDeliver()
throws JMSException
- Throws:
JMSException
getMessageListener
MessageListener getMessageListener()
throws JMSException
- Throws:
JMSException
setMessageListener
void setMessageListener(MessageListener listener)
throws JMSException
- Throws:
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 JMSException
- Throws:
JMSException
rollback
void rollback()
throws JMSException
- Throws:
JMSException
recover
void recover()
throws JMSException
- Throws:
JMSException
redeliver
void redeliver(java.util.List deliveryInfos)
throws JMSException
- Throws:
JMSException
createProducerDelegate
ProducerDelegate createProducerDelegate(JBossDestination destination)
throws JMSException
- Throws:
JMSException
acknowledgeAll
void acknowledgeAll()
throws JMSException
- Throws:
JMSException
Copyright © 2006 JBoss Inc. All Rights Reserved.