public sealed class RabbitMQTriggerAttribute()

in extension/WebJobs.Extensions.RabbitMQ/Trigger/RabbitMQTriggerAttribute.cs [18:36]


public sealed class RabbitMQTriggerAttribute(string queueName) : Attribute
{
    /// <summary>
    /// Gets or sets the setting name for RabbitMQ connection URI.
    /// </summary>
    [ConnectionString]
    public string ConnectionStringSetting { get; set; }

    /// <summary>
    /// Gets the RabbitMQ queue name.
    /// </summary>
    public string QueueName { get; private set; } = queueName;

    /// <summary>
    /// Gets or sets a value indicating whether certificate validation should be disabled. Not recommended for
    /// production. Does not apply when SSL is disabled.
    /// </summary>
    public bool DisableCertificateValidation { get; set; }
}