Skip to content

Commit 6729f00

Browse files
Minor refactoring
1 parent 8ef80df commit 6729f00

File tree

5 files changed

+14
-3500
lines changed

5 files changed

+14
-3500
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
/bin/
44
/tmp/
55
/.phpunit.cache/
6+
.idea/
67
composer.lock

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
[![Code Quality](https://img.shields.io/scrutinizer/g/Phauthentic/correlation-id-symfony-bundle/master.svg?style=for-the-badge)](https://scrutinizer-ci.com/g/Phauthentic/correlation-id-symfony-bundle/)
77
<!--[![Scrutinizer Coverage](https://img.shields.io/scrutinizer/coverage/g/Phauthentic/correlation-id-symfony-bundle/master.svg?style=for-the-badge)](https://scrutinizer-ci.com/g/Phauthentic/correlation-id-symfony-bundle/)-->
88

9-
109
This is a Symfony bridge for the framework agnostic [Correlation ID library](https://github.com/Phauthentic/correlation-id).
1110

12-
> A Correlation ID, also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. The Correlation Pattern, which depends on the use of Correlation ID is a well documented Enterprise Integration Pattern.
11+
## Features
1312

14-
* [The value of a correlation ID](https://blog.rapid7.com/2016/12/23/the-value-of-correlation-ids/)
15-
* [Identity Correlation on Wikipedia](https://en.wikipedia.org/wiki/Identity_correlation)
13+
* Adds the Correlation ID to the Request and Response automatically.
14+
* Header names can be configured for each separately.
15+
* Provides a messenger stamp and middleware, that will add the CorrelationIDStamp to each message.
1616

1717
## Installation
1818

@@ -37,6 +37,10 @@ correlation_id:
3737
pass_through: false
3838
```
3939
40+
## Messenger Middleware
41+
42+
The messenger middleware will add the Correlation ID to your messages. Just add the middleware to your bus.
43+
4044
## Copyright & License
4145
4246
Licensed under the [MIT license](LICENSE).

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"squizlabs/php_codesniffer": "^3.9",
1212
"symfony/config": "^6.0||^7.0",
1313
"symfony/dependency-injection": "^6.0||^7.0",
14+
"symfony/messenger": "^7.0",
1415
"symfony/phpunit-bridge": "^6.0||^7.0"
1516
},
1617
"license": "MIT",

0 commit comments

Comments
 (0)