You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/feature/rejection/_index.en.md
+33-22Lines changed: 33 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ The rejection feature allows you to manage the rejections that may occur in your
19
19
20
20
## Installation
21
21
22
-
This plugin is already integrated into the Satellite package, so you can't require it with the composer.
22
+
This plugin is already integrated into the Satellite package, so you can't require it with composer.
23
23
24
24
## Usage
25
25
@@ -28,29 +28,39 @@ When you configure your pipeline, you can add the configuration of this feature
28
28
First, you must use the `rejection` option.
29
29
30
30
```yaml
31
-
rejection:
32
-
# ...
31
+
- example_step:
32
+
foo: bar
33
+
rejection:
34
+
# ...
33
35
```
34
36
35
37
### With RabbitMQ
36
38
37
-
This feature supports sending to RabbitMQ instances.
39
+
This feature supports sending to RabbitMQ instances. For this feature to work you will need to install [`bunny/bunny`](https://packagist.org/packages/bunny/bunny):
40
+
41
+
```shell
42
+
composer require bunny/bunny
43
+
```
38
44
39
45
#### Basic configuration
40
46
41
-
To enable a connection to your RabbitMQ application, you need at least 3 options which are `host`, `vhost`and `topic`.
47
+
To enable a connection to your RabbitMQ application, you need at least 4 options which are `host`, `vhost`, `topic`and `port`.
42
48
43
49
-`host`: the name of your host name
44
50
-`vhost`: the virtual host of your RabbitMQ instance
45
51
-`topic`: the name of the queue to which the rejects will be sent
52
+
-`port`: the port that your RabbitMQ application uses
46
53
47
54
```yaml
48
-
rejection:
49
-
destinations:
50
-
- rabbitmq:
51
-
host: rabbitmq.example.com
52
-
vhost: /
53
-
topic: foo.rejects
55
+
- example_step:
56
+
# ...
57
+
rejection:
58
+
destinations:
59
+
- rabbitmq:
60
+
host: rabbitmq.example.com
61
+
vhost: /
62
+
topic: foo.rejects
63
+
port: 5672
54
64
```
55
65
56
66
#### Additional options
@@ -59,18 +69,19 @@ This feature additionally takes some options that can be used when configuring t
59
69
60
70
- `user`: the username of your user
61
71
- `password`: the password of your user
62
-
- `port`: the port that your RabbitMQ application uses
0 commit comments