{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block toolbar %} {% if collector.count > 0 %} {% set icon %} {{ include('@Enqueue/Icon/icon.svg') }}
{% endset %} {% set text %} {% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { 'link': true }) }} {% endif %} {% endblock %} {% block menu %} {{ include('@Enqueue/Icon/icon.svg') }} Message Queue {% endblock %} {% block panel %} {% if collector.count > 0 %}# | Topic | Command | Message | Priority | Time |
---|---|---|---|---|---|
{{ loop.index }} | {{ sentMessage.topic|default(null) }} | {{ sentMessage.command|default(null) }} |
{% set body = collector.ensureString(sentMessage.body) %}
{{ body|length > 40 ? body|slice(0, 40) ~ '...' : body }}
{% if body|length > 40 %}
Show body
{{ body }} | {{ collector.prettyPrintPriority(sentMessage.priority) }} | {{ sentMessage.sentAt|date('i:s.v') }} |
No messages were sent.