Extending Messaging (Middlewares)

Extending messaging with Interceptors and Middlewares in Ecotone PHP

Ecotone exposes hooks at every step of a message's lifecycle. Use Interceptors (Before/Around/After/Presend) to add cross-cutting behaviour like logging, authorization, retries, or transactions without touching your handlers. Use Message Headers to read and write metadata that flows alongside the payload. Use Custom Gateways to attach policies (retries, dedup, error channels) to typed bus interfaces.

Message HeadersInterceptors (Middlewares)Intercepting Asynchronous EndpointsExtending Message Buses (Gateways)

Last updated

Was this helpful?