1 45 46 package org.exolab.jms.messagemgr; 47 48 import java.sql.Connection ; 49 import javax.jms.JMSException ; 50 51 import org.exolab.jms.message.MessageImpl; 52 import org.exolab.jms.persistence.PersistenceException; 53 54 55 64 interface DestinationCacheEventListener { 65 66 76 boolean messageAdded(MessageHandle handle, MessageImpl message) 77 throws JMSException ; 78 79 86 void messageRemoved(String messageId) throws JMSException ; 87 88 99 boolean persistentMessageAdded(MessageHandle handle, MessageImpl message, 100 Connection connection) 101 throws JMSException , PersistenceException; 102 103 112 void persistentMessageRemoved(String messageId, Connection connection) 113 throws JMSException , PersistenceException; 114 } 115 116 | Popular Tags |