summaryrefslogtreecommitdiff
path: root/java/client/src/main/java/org/apache/qpid/client/TemporaryDestination.java
blob: 8c11672a65b840d0462cf23217d5af5d3eac9aea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package org.apache.qpid.client;

import javax.jms.*;
import java.util.concurrent.atomic.AtomicBoolean;

/**
 * Provides support for covenience interface implemented by both AMQTemporaryTopic and AMQTemporaryQueue
 * so that operations related to their "temporary-ness" can be abstracted out.
 */
interface TemporaryDestination extends Destination
{

    public void delete() throws JMSException;
    public AMQSession getSession();
    public boolean isDeleted();

}