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: 2684 $
$Id: SessionDelegate.java 2684 2007-05-15 07:31:30Z 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
public MessageProxy createMessage()
throws JMSException
- Throws:
JMSException
createBytesMessage
public BytesMessageProxy createBytesMessage()
throws JMSException
- Throws:
JMSException
createMapMessage
public MapMessageProxy createMapMessage()
throws JMSException
- Throws:
JMSException
createObjectMessage
public ObjectMessageProxy createObjectMessage()
throws JMSException
- Throws:
JMSException
createObjectMessage
public ObjectMessageProxy createObjectMessage(java.io.Serializable object)
throws JMSException
- Throws:
JMSException
createStreamMessage
public StreamMessageProxy createStreamMessage()
throws JMSException
- Throws:
JMSException
createTextMessage
public TextMessageProxy createTextMessage()
throws JMSException
- Throws:
JMSException
createTextMessage
public TextMessageProxy createTextMessage(java.lang.String text)
throws JMSException
- Throws:
JMSException
preDeliver
public void preDeliver(DeliveryInfo deliveryInfo)
throws JMSException
- Throws:
JMSException
postDeliver
public void postDeliver()
throws JMSException
- Throws:
JMSException
getMessageListener
public MessageListener getMessageListener()
throws JMSException
- Throws:
JMSException
setMessageListener
public void setMessageListener(MessageListener listener)
throws JMSException
- Throws:
JMSException
run
public void run()
getXAResource
public javax.transaction.xa.XAResource getXAResource()
addAsfMessage
public void addAsfMessage(MessageProxy m,
int consumerID,
java.lang.String queueName,
int maxDeliveries,
SessionDelegate connectionConsumerDelegate)
getTransacted
public boolean getTransacted()
getAcknowledgeMode
public int getAcknowledgeMode()
commit
public void commit()
throws JMSException
- Throws:
JMSException
rollback
public void rollback()
throws JMSException
- Throws:
JMSException
recover
public void recover()
throws JMSException
- Throws:
JMSException
redeliver
public void redeliver(java.util.List deliveryInfos)
throws JMSException
- Throws:
JMSException
createProducerDelegate
public ProducerDelegate createProducerDelegate(JBossDestination destination)
throws JMSException
- Throws:
JMSException
acknowledgeAll
public void acknowledgeAll()
throws JMSException
- Throws:
JMSException
Copyright © 2006 JBoss Inc. All Rights Reserved.