{% extends base_template %} {% block content %}
{# Flash messages #} {% with messages = get_flashed_messages(with_categories=true) %} {% for category, message in messages %}
{{ message }}
{% endfor %} {% endwith %} {% if is_dag_file %}
This subscription is defined in a DAG file via @rmq_trigger. Only the Enabled toggle can be changed here. To modify other fields, update the DAG file.
{% endif %}
{# Queue(s) — dynamic list for create/group-edit, single field for single-sub edit #} {% if group_subs %} {# Group edit: show all queues with remove buttons #}
{% for gs in group_subs %}
{% if not is_dag_file %} {% endif %}
{% endfor %}
{% elif not sub %} {# Create: start with one queue, allow adding more #}
{% else %} {# Single-sub edit: single queue field #}
{% endif %} {% if not is_dag_file and (not sub or group_subs) %} {# Show "+ Add queue" button in create mode and group-edit mode #}
{% endif %}

Airflow connection ID pointing to the RabbitMQ instance.

0 = trigger DAG immediately on each message. >0 = trigger once after this many seconds; all messages within the window are ACKed.

Optional message filter in format {"filter_headers": {"key": "value"}}. Leave empty to trigger on any message.

Cancel
{% if not is_dag_file %} {% endif %} {% endblock %}