Multi-Tenant aware Dead Letter

When executing Dead Letter Console Command we will lack of Context of the Tenant we are using. To handle that we may use Ecotone's support for passing Message Headers together with Console Command.


Listing current error messages for non-tenant applications would look like this:

bin/console ecotone:deadletter:list

However if we want to provide context of the Tenant, then we can execute it in following way:

bin/console ecotone:deadletter:list --header="tenant:tenant_a"

Last updated