anchor.diff:                      {cleanup,     {autocluster_consul, shutdown, []}},
                       {enables,     pre_boot}]}).
   
  --define(DEFAULT_HOST, "127.0.0.1").
  --define(DEFAULT_PORT, 8500).
  --define(DEFAULT_ACL, undefined).
  -
  --define(CONSUL_SERVICE,  "rabbitmq.autocluster").
  +-define(DEFAULT_CONSUL_SERVICE,  "rabbitmq").
   
   %% @public
   %% @spec init() -> ok
  
positive.code: %%
  cluster_nodes() ->
    {Path, Args} = case cluster_name() of
      not_set -> {[catalog, service, ?CONSUL_SERVICE], []};
      Tag -> {[catalog, service, ?CONSUL_SERVICE], [{tag, Tag}]}
    end,
    case autocluster_consul_client:get(Path, Args) of
      {ok, Nodes} -> extract_nodes(Nodes);
  
negative.code: %%
  registration_body() ->
    case cluster_name() of
      not_set -> "{\"Name\":\"" ++ consul_service() ++ "\"}";
      Name -> "{\"Name\":\"" ++ consul_service() ++ "\", \"Tags\": [\"" ++ Name ++ "\"]}"
    end.
  
  
  %% @private
  %% @spec register() -> mixed
  %% @doc Register with Consul as providing rabbitmq service
  %% @end
  %%
  register() ->
  