1 45 package org.exolab.jms.messagemgr; 46 47 import java.sql.Connection ; 48 import javax.jms.JMSException ; 49 50 import org.exolab.jms.message.MessageImpl; 51 52 53 61 public interface MessageRef { 62 63 68 String getMessageId(); 69 70 77 MessageImpl getMessage() throws JMSException ; 78 79 85 boolean isPersistent(); 86 87 92 void reference() throws JMSException ; 93 94 100 void dereference() throws JMSException ; 101 102 107 void destroy() throws JMSException ; 108 109 115 void destroy(Connection connection) throws JMSException ; 116 117 } 118 | Popular Tags |