Skip to main content
Version: 2.0

Acknowledge product

This section describes how to publish an acknowledge request event to REGARDS with AMQP message.

Introduction

Product acknowledgement by an external supplier is carried out as part of product distribution by the rs-fem service.

A recipient of a product broadcast by the rs-fem service can provide an acknowledgement information. This guide explains how to send this acknowledgement to the rs-fem service.

This acknowledgement method is not the only way to acknowledge a product. It is also possible to acknowledge the distribution of a product with a product update request.

Exchange

Acknowledge requests have to be published to this REGARDS RabbitMQ exchange:

ExchangeVirtual host
regards.broadcast.fr.cnes.regards.modules.feature.dto.event.in.DisseminationAckEventregards.multitenant.manager

AMQP message format

Properties

ParameterTypeOptionalDescription
app_idStringYesStandard RabbitMQ property to track message origin.
priorityStringYesStandard RabbitMQ property to sort messages by priority order.

Headers

"regards.tenant": "tenant"
"regards.request.owner": "owner"
ParameterTypeOptionalDescriptionMandatory
regards.tenantThe tenant or project to request. It must be an existing Regards tenant.True
regards.request.ownerStringNoName of the request provider.True

Body

{
"urn": "URN:...",
"recipientLabel": "xxx"
}
ParameterTypeDescriptionMandatory
urnStringProduct URN to acknowledgeTrue
recipientLabelStringName of the recipientTrue
caution

The name of the recipient or recipientLabel must be the same as the recipient name configured in rs-notifier service.