WhiteRabbit.get_startup_consumers

You're seeing just the callback get_startup_consumers, go back to WhiteRabbit module for more information.
Link to this callback

get_startup_consumers()

View Source (optional)

Specs

get_startup_consumers() :: [{any(), WhiteRabbit.Consumer.t()}]

Returns a list of tuples defining WhiteRabbit.Consumer GenServers to be started on app startup.

Example

@impl true
def get_startup_consumers do
  [
    {WhiteRabbit.Consumer,
     %WhiteRabbit.Consumer{
       connection_name: :appone_connection,
       name: "AppOne.JsonConsumer",
       exchange: "json_test_exchange",
       queue: "json_test_queue",
       processor: %WhiteRabbit.Processor.Config{module: AppOne.TestJsonProcessor}
     }}
  ]
end