com.caucho.jms.cluster
Interface ServerDestination
- All Known Implementing Classes:
- ServerQueue, ServerTopic
public interface ServerDestination
Implements a cluster receive queue.
createMessage
MessageImpl createMessage(int type)
sendCluster
void sendCluster(MessageImpl msg,
long timeout)
throws JMSException
- Throws:
JMSException
sendClusterBackup
void sendClusterBackup(MessageImpl msg,
long timeout)
throws JMSException
- Throws:
JMSException
receiveCluster
MessageImpl receiveCluster(java.lang.String subscription,
boolean isAutoAck)
throws JMSException
- Throws:
JMSException
removeCluster
void removeCluster(java.lang.String id)
throws JMSException
- Throws:
JMSException
hasMessage
boolean hasMessage(java.lang.String subscription)
acknowledge
void acknowledge(java.lang.String msgId)
rollback
void rollback(java.lang.String msgId)