Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
</p>
<br/>

This library provides the stamps and middlewares which configures the sulu message bus.
It can be used independently in any symfony installation.
This library provides the stamps and middlewares which configures the Sulu message bus.
It can be used independently in any Symfony installation.

## Installation

Expand Down Expand Up @@ -57,7 +57,7 @@ The `UnpackExceptionMiddleware` will unpack the `HandlerFailedException` which
is created by the Symfony [`HandleMessageMiddleware`](https://github.com/symfony/symfony/blob/c7dbcc954366f92f66360f3960a10dc1ef5f2584/src/Symfony/Component/Messenger/Middleware/HandleMessageMiddleware.php#L129).
This way we make sure that the real exception is thrown out by this message
bus, and a controller can catch or convert it to a specific http status code.
This middleware is always activated in the sulu message bus.
This middleware is always activated in the Sulu message bus.

### LockMiddleware

Expand All @@ -78,7 +78,7 @@ $this->handle(new Envelope(new YourMessage(), [new LockStamp('lock-key', 300.0,
$this->handle(new Envelope(new YourMessage(), [new LockStamp('lock-key-1'), new LockStamp('lock-key-2')]));
```

This middleware is always activated in the sulu message bus.
This middleware is always activated in the Sulu message bus.

### DoctrineFlushMiddleware

Expand All @@ -91,4 +91,4 @@ use Sulu\Messenger\Infrastructure\Symfony\Messenger\FlushMiddleware\EnableFlushS
$this->handle(new Envelope(new YourMessage(), [new EnableFlushStamp()]));
```

This middleware is always activated in the sulu message bus.
This middleware is always activated in the Sulu message bus.
Loading