{% for l in listeners %} {% set owner_class = l.owner.split('.')[0] %} {% if owner_class in l.handler_name %} {{ l.handler_name.split(".")[-1] }} {% else %} {{ l.handler_name }} {% endif %} {% if instance_owner_map and l.owner in instance_owner_map %} {{ l.owner }} {% elif app_owner_map and l.owner in app_owner_map %} {{ l.owner }} {% else %} {{ l.owner }} {% endif %} {% set topic_parts = l.topic.split('.') %} {% if topic_parts | length > 3 %} {{ topic_parts[-3:] | join(".") }} {% else %} {{ l.topic }} {% endif %} {{ l.total_invocations }} {{ l.successful }} {{ l.failed }} {{ "%.1f" | format(l.avg_duration_ms) }}ms {% else %} No bus listeners registered. {% endfor %}