add custom route (#1772)

This commit is contained in:
Yaron Schneider 2021-09-09 15:00:12 -07:00 committed by GitHub
parent a73e0a1827
commit e480b03d58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -91,6 +91,20 @@ In order to tell Dapr that the event wasn't processed correctly in your applicat
res.status(500).send()
```
### Specifying a custom route
By default, incoming events will be sent to an HTTP endpoint that corresponds to the name of the input binding.
You can override this by setting the following metadata property:
```yaml
name: mybinding
spec:
type: binding.rabbitmq
metadata:
- name: route
value: /onevent
```
### Event delivery Guarantees
Event delivery guarantees are controlled by the binding implementation. Depending on the binding implementation, the event delivery can be exactly once or at least once.