Skip to content

Commit 8f69450

Browse files
vjiksamdark
andauthored
Update docs/guide/en/messages-and-handlers.md
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
1 parent 42c7082 commit 8f69450

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/guide/en/messages-and-handlers.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ This means the producer and consumer can be:
3030

3131
## Message: payload only
3232

33-
A message carries just enough data to perform the work. Defining a dedicated class for each message type makes your code
33+
A message carries just enough data to perform the work. Usually data has some parameters but not the full context to process. Getting full context is better to be moved to the handler unless processing is done in another application that doesn't have access to data storage.
34+
Defining a dedicated class for each message type makes your code
3435
self-documenting and type-safe:
3536

3637
```php

0 commit comments

Comments
 (0)