Return-Path: X-Original-To: apmail-qpid-commits-archive@www.apache.org Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D244610148 for ; Mon, 5 Jan 2015 17:35:11 +0000 (UTC) Received: (qmail 23349 invoked by uid 500); 5 Jan 2015 17:35:12 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 23314 invoked by uid 500); 5 Jan 2015 17:35:12 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 23304 invoked by uid 99); 5 Jan 2015 17:35:12 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2015 17:35:12 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 627B3A3FF31; Mon, 5 Jan 2015 17:35:12 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: robbie@apache.org To: commits@qpid.apache.org Date: Mon, 05 Jan 2015 17:35:12 -0000 Message-Id: <5179c5da4e67403091ff280f75ec8657@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/3] qpid-jms git commit: add capability to indicate dynamic ndoe type as TemporaryQueue, match on this in tests Repository: qpid-jms Updated Branches: refs/heads/master 372f0f2ee -> 290312885 add capability to indicate dynamic ndoe type as TemporaryQueue, match on this in tests Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/84e89898 Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/84e89898 Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/84e89898 Branch: refs/heads/master Commit: 84e89898283bcacef928a746fecbfc7c2d6de767 Parents: 372f0f2 Author: Robert Gemmell Authored: Mon Jan 5 15:42:01 2015 +0000 Committer: Robert Gemmell Committed: Mon Jan 5 15:42:01 2015 +0000 ---------------------------------------------------------------------- .../apache/qpid/jms/provider/amqp/AmqpTemporaryDestination.java | 4 ++++ .../java/org/apache/qpid/jms/test/testpeer/TestAmqpPeer.java | 2 ++ 2 files changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/84e89898/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpTemporaryDestination.java ---------------------------------------------------------------------- diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpTemporaryDestination.java b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpTemporaryDestination.java index 048a5bc..af78455 100644 --- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpTemporaryDestination.java +++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpTemporaryDestination.java @@ -48,6 +48,7 @@ import org.slf4j.LoggerFactory; public class AmqpTemporaryDestination extends AmqpAbstractResource { public static final Symbol DYNAMIC_NODE_LIFETIME_POLICY = Symbol.valueOf("lifetime-policy"); + public static final Symbol TEMP_QUEUE_CAPABILITY = Symbol.valueOf("temporary-queue");//TODO: decide location of constant private static final String TEMP_QUEUE_CREATOR = "temp-queue-creator:"; private static final String TEMP_TOPIC_CREATOR = "temp-topic-creator:"; @@ -116,6 +117,9 @@ public class AmqpTemporaryDestination extends AmqpAbstractResource