Class AsyncQueueConfig

  • All Implemented Interfaces:

    
    public final class AsyncQueueConfig
    
                        

    Configuration entry for a single RabbitMQ queue.

    Since:

    1.0.0

    Author:

    Elizabeth Paige Harper https://github.com/foxcapades

    • Constructor Detail

      • AsyncQueueConfig

        AsyncQueueConfig(String id, String username, String password, String host)
        Constructs a new AsyncQueueConfig instance.
        Parameters:
        id - Unique identifier for the queue.
        username - RabbitMQ credentials username.
        password - RabbitMQ credentials password.
        host - Hostname for the target RabbitMQ instance.
      • AsyncQueueConfig

        AsyncQueueConfig(String id, String username, String password, String host, Integer workers)
        Constructs a new AsyncQueueConfig instance.
        Parameters:
        id - Unique identifier for the queue.
        username - RabbitMQ credentials username.
        password - RabbitMQ credentials password.
        host - Hostname for the target RabbitMQ instance.
        workers - Number of worker threads to be used by consumers of the target queue.
      • AsyncQueueConfig

        AsyncQueueConfig(String id, String username, String password, String host, Integer port, Integer workers)
        Constructs a new AsyncQueueConfig instance.
        Parameters:
        id - Unique identifier for the queue.
        username - RabbitMQ credentials username.
        password - RabbitMQ credentials password.
        host - Hostname for the target RabbitMQ instance.
        port - Port number for connecting to the target RabbitMQ instance.
        workers - Number of worker threads to be used by consumers of the target queue.