Skip to content

Commit 9791680

Browse files
committed
Added output message format.
1 parent d26f6c5 commit 9791680

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

messageformats.rst

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ Message Formats
88
.. include:: messageformats/rerest-recore.rst
99
.. include:: messageformats/recore-reworkers.rst
1010
.. include:: messageformats/notification.rst
11+
.. include:: messageformats/output.rst

messageformats/output.rst

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Output Message Format
2+
----------------------
3+
4+
.. _output_message_format:
5+
6+
Notifications are sent out by workers connected to the Release Engine and follow a standard and very simple message format. This format is then consumed by the output worker who turns the standard format into messages in a file.
7+
8+
The Output Message Format has 1 key: message. The only other bit of information needed by an output worker is the correlation id which happens to be stored in the AMQP properties.
9+
10+
**Required Keys**:
11+
12+
* message: The message which should be written to a file.
13+
14+
15+
**Example**:
16+
17+
.. code-block:: json
18+
19+
{
20+
"message": "Something happened and you should know about it"
21+
}

0 commit comments

Comments
 (0)