Releases: Phauthentic/correlation-id-symfony-bundle
Releases · Phauthentic/correlation-id-symfony-bundle
Stamp and middleware for the Symfony messenger
- Added a CorrelationIdStamp
- Added a messenger middleware to add the stamp automatically
Configurable header names and pass-through
You can now configure three different settings to control the behavior:
response_header_name
- The name of the response header for the ID.request_header_name
- The name of the request header for the ID.pass_through
- If the ID from the request should be passed to the response enable this. This is useful if you are dealing with a microservice that is not exposed to the public but gets further actions delegated from the entry point and must retain the original ID.
See the readme.md for more information.
Initial release
This bundle will automatically add a correlation id to your request and response and maintain it through the whole application lifecycle.