anchor.diff:    gateway_util:warn("Error #225 : Unknown Info: Ignoring: ~p~n", [_Info]),
     {noreply, State}.
   
  -terminate(_, #state{sessionid = Id, rabbit_handler=RabbitHandler, outbound_connection = OutConn = #gateway_connection{callback_module = Mod}}) ->
  +terminate(_, #state{sessionid = Id, 
  +                    rabbit_handler=RabbitHandler,
  +                    outbound_connection = OutConn = #gateway_connection{callback_module = Mod}}) ->
     {ok, ReconnectTimeout} = application:get_env(gateway, reconnect_timeout),
     Ref = erlang:send_after(ReconnectTimeout, RabbitHandler, close),
     gen_server:cast(RabbitHandler, pause_subs),
  
positive.code:       gen_server:cast(self(), {error, 303, "Unknown API management internal error"})
    end,
    {noreply, State};
  handle_cast({force_send, Data}, State = #state{outbound_connection = OutboundConnection = #gateway_connection{callback_module = Mod}}) ->
    Mod:send(OutboundConnection, Data),
    {noreply, State};
  
  handle_cast({error, ErrorId, Message}, State = #state{sessionid = SessionId}) ->  
    ErrorMessage = io_lib:format("Error #~p [~p] : ~p", [ErrorId, SessionId, Message]),
    gateway_util:error(string:concat(ErrorMessage, "~n")),
  
  
negative.code:   gateway_error:invalid_channel_name(Name),
    State;
  
  handle_command(#leave_channel{name = Name,
                                handler = Handler,
                                callback = Callback}, State ) ->
    HandlerSessionId = gateway_reference:get_destination_id(Handler),
    gen_server:cast(State#state.rabbit_handler,
                    {leave_channel, Name, binary_to_list(HandlerSessionId)}),
    call_callback(Callback, [Name], State),
    State;
  
  