Skip to content

Commit

Permalink
Merge pull request #15 from Clearfacts/CLEARFACTS-8881
Browse files Browse the repository at this point in the history
[CLEARFACTS-8881] correlation id for symfony messenger
  • Loading branch information
ctrl-f5 authored Aug 8, 2023
2 parents 79e6f90 + d3a2614 commit ea971cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Correlation/Messenger/CorrelationIdSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function decode(array $encodedEnvelope): Envelope
public function encode(Envelope $envelope): array
{
$encodedEnvelope = $this->serializer->encode($envelope);
$encodedEnvelope['headers']['correlation_id'] = $this->correlation::getId();
$encodedEnvelope['headers']['correlation_id'] = $this->correlation->getId();

return $encodedEnvelope;
}
Expand Down

0 comments on commit ea971cb

Please sign in to comment.