Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
308 additions
and
318 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
%% The contents of this file are subject to the Mozilla Public License | ||
%% Version 1.1 (the "License"); you may not use this file except in | ||
%% compliance with the License. You may obtain a copy of the License at | ||
%% http://www.mozilla.org/MPL/ | ||
%% | ||
%% Software distributed under the License is distributed on an "AS IS" | ||
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | ||
%% License for the specific language governing rights and limitations | ||
%% under the License. | ||
%% | ||
%% The Original Code is RabbitMQ. | ||
%% | ||
%% The Initial Developer of the Original Code is VMware, Inc. | ||
%% Copyright (c) 2007-2012 VMware, Inc. All rights reserved. | ||
%% | ||
|
||
-include("amqp_client.hrl"). | ||
|
||
-define(PROTOCOL_VERSION_MAJOR, 0). | ||
-define(PROTOCOL_VERSION_MINOR, 9). | ||
-define(PROTOCOL_HEADER, <<"AMQP", 0, 0, 9, 1>>). | ||
-define(PROTOCOL, rabbit_framing_amqp_0_9_1). | ||
|
||
-define(MAX_CHANNEL_NUMBER, 65535). | ||
|
||
-define(LOG_DEBUG(Format), error_logger:info_msg(Format)). | ||
-define(LOG_INFO(Format, Args), error_logger:info_msg(Format, Args)). | ||
-define(LOG_WARN(Format, Args), error_logger:warning_msg(Format, Args)). | ||
-define(LOG_ERR(Format, Args), error_logger:error_msg(Format, Args)). | ||
|
||
-define(CLIENT_CAPABILITIES, [{<<"publisher_confirms">>, bool, true}, | ||
{<<"exchange_exchange_bindings">>, bool, true}, | ||
{<<"basic.nack">>, bool, true}, | ||
{<<"consumer_cancel_notify">>, bool, true}]). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.