1
%% The contents of this file are subject to the Mozilla Public License
2
%% Version 1.1 (the "License"); you may not use this file except in
3
%% compliance with the License. You may obtain a copy of the License
4
%% at http://www.mozilla.org/MPL/
6
%% Software distributed under the License is distributed on an "AS IS"
7
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
8
%% the License for the specific language governing rights and
9
%% limitations under the License.
11
%% The Original Code is RabbitMQ.
13
%% The Initial Developer of the Original Code is VMware, Inc.
14
%% Copyright (c) 2011-2013 VMware, Inc. All rights reserved.
17
-define(QUEUE_PREFIX, "/queue").
18
-define(TOPIC_PREFIX, "/topic").
19
-define(EXCHANGE_PREFIX, "/exchange").
20
-define(AMQQUEUE_PREFIX, "/amq/queue").
21
-define(TEMP_QUEUE_PREFIX, "/temp-queue").
22
%% reply queues names can have slashes in the content so no further
24
-define(REPLY_QUEUE_PREFIX, "/reply-queue/").
26
-define(VALID_DEST_PREFIXES, [?EXCHANGE_PREFIX, ?TOPIC_PREFIX, ?QUEUE_PREFIX,
27
?AMQQUEUE_PREFIX, ?TEMP_QUEUE_PREFIX, ?REPLY_QUEUE_PREFIX]).
29
-define(TEMP_QUEUE_ID_PREFIX, "/temp-queue/").