1 /*2 * JBoss, the OpenSource J2EE webOS3 *4 * Distributable under LGPL license.5 * See terms of license at gnu.org.6 */7 package org.jboss.jms.destination;8 9 import javax.jms.JMSException ;10 11 /**12 * A temporary destination13 * 14 * @author <a HREF="mailto:adrian@jboss.org>Adrian Brock</a>15 * @version $Revision: 1.1 $16 */17 public interface JBossTemporaryDestination18 {19 // Constants -----------------------------------------------------20 21 /** Temporary queue */22 public static final int TEMPORARY_QUEUE = 1;23 24 /** Temporary topic */25 public static final int TEMPORARY_TOPIC = 2;26 27 // Public --------------------------------------------------------28 29 /**30 * Delete the temporary destination31 * 32 * @throws JMSExeption for any error33 */ 34 void delete() throws JMSException ;35 36 // Inner Classes --------------------------------------------------37 38 }39