Commits

Ben Hood committed ca073ff

Changed includes from the server to the client where appropriate

  • Participants
  • Parent commits b508764
  • Branches bug21441

Comments (0)

Files changed (3)

File src/bql_amqp_rpc_server.erl

 -export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]).
 
 -include_lib("amqp_client/include/amqp_client.hrl").
--include_lib("rabbit_common/include/rabbit.hrl").
--include_lib("rabbit_common/include/rabbit_framing.hrl").
 
 -record(state, { channel }).
 
     Connection = lib_amqp:start_connection(),
     Ch = amqp_connection:open_channel(Connection),
     link(Ch),
-    
+
     _X = amqp_channel:call(Ch, #'exchange.declare'{exchange = ?ExchangeName, durable = true}),
     Q = lib_amqp:declare_queue(Ch, #'queue.declare'{queue = ?QueueName, durable = true}),
     _ConsumerTag = lib_amqp:subscribe(Ch, Q, self()),

File test/amq_interface_test.erl

 %%
 -module(amq_interface_test).
 
--include_lib("rabbit_common/include/rabbit.hrl").
--include_lib("rabbit_common/include/rabbit_framing.hrl").
+-include_lib("amqp_client/include/amqp_client.hrl").
 -include_lib("eunit/include/eunit.hrl").
 
 submit_create_command_test() ->

File test/bql_amqp_rpc_client.erl

 
 -module(bql_amqp_rpc_client).
 
--include_lib("rabbit_common/include/rabbit_framing.hrl").
--include_lib("rabbit_common/include/rabbit.hrl").
 -include_lib("amqp_client/include/amqp_client.hrl").
 
 -behaviour(gen_server).