Skip to content

Commit

Permalink
Added comment about messages (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm committed Sep 22, 2016
1 parent 9b719f4 commit 59634a8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,16 @@ you should make sure they all have the same secret key.
happyr_mq2php:
secret_key: '4e10upv918856xxp7g9c'
```

## Reduce the number of messages

In the SimpleBus documentation you may find that all events will be handled synchronous then
asynchronous. That means that for every event your application dispatches there will be an async message. If
you want to reduce the number of messages you may configure the SimpleBus AsyncBundle to only handle those events
that are marked as asynchronous.

```yaml
simple_bus_asynchronous:
events:
strategy: 'predefined'
```

0 comments on commit 59634a8

Please sign in to comment.