<commit_before>## Publishing messages on an AMQP topic exchange

After every update to a content item, a message will be published to RabbitMQ.
It will be published to the `content-store` topic exchange with the routing_key
`format.update_type`.  Additional components will likely be added to this over
time, but they will be added to the end of the key so as to not break any
existing bindings.

The message body will be the content item serialised as JSON in the
[output_format](output_examples/generic.json) with the addition of the `update_type` field.<commit_msg>Correct the exchange name in RabbitMQ docs.<commit_after>## Publishing messages on an AMQP topic exchange

After every update to a content item, a message will be published to RabbitMQ.
It will be published to the `published_documents` topic exchange with the routing_key
`format.update_type`.  Additional components will likely be added to this over
time, but they will be added to the end of the key so as to not break any
existing bindings.

The message body will be the content item serialised as JSON in the
[output_format](output_examples/generic.json) with the addition of the `update_type` field.
{'fraction_non_alphanumeric': 0.042662116040955635, 'fraction_numerical': 0.0, 'mean_word_length': 4.9543147208121825, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2457020', 'n_tokens_mistral': 302, 'n_tokens_neox': 284, 'n_words': 175}