Skip to main content
Version: 2.5.0

Publish a direct AIP dissemination request

Introduction​

This guide describes the AMQP event used to request the direct dissemination of one AIP to one Notifier recipient. The product is identified by its providerId.

The dissemination request is processed asynchronously through the following steps:

  1. The client publishes an AipDirectDisseminationEvent with the product's providerId and the target recipient.
  2. rs-ingest groups events received in the same batch by recipient, applies a strict provider identifier filter to each group, and registers one dissemination creator request per recipient.
  3. The regular rs-ingest dissemination workflow retrieves the matching AIPs and sends them to rs-notifier for the specified recipient.
  4. rs-notifier forwards each notification through the configured recipient sender plugin, without applying rule matcher filters.

The recipient must be configured in rs-notifier with a sender plugin whose directNotificationEnabled parameter is true. See the Notifier recipient sender plugins guide.

Unlike SIP submission requests, this event does not provide a client-supplied requestId or dedicated request status responses. See Responses format for monitoring options.

AMQP API​

How to​

The REGARDS AMQP API concept describes how to submit events or subscribe to events through AMQP interfaces.

Exchange​

Publish the event to the REGARDS RabbitMQ exchange below:

ExchangeVirtual host
regards.broadcast.fr.cnes.regards.modules.ingest.dto.request.event.AipDirectDisseminationEventregards.multitenant.manager

Request content​

Properties​

ParameterTypeDescription
app_idStringStandard RabbitMQ property to track message origin.
priorityIntegerStandard RabbitMQ property to sort messages by priority.
content_encodingStringStandard RabbitMQ property for the message encoding.
content_typeStringStandard RabbitMQ property for the MIME type of the message.
delivery_modeIntegerStandard RabbitMQ property for message persistence.

Headers​

ParameterTypeDescription
regards.tenantStringTenant on which the dissemination request must be processed.
regards.typeStringFully qualified class name of the AMQP event.
Example of the properties and headers of a direct AIP dissemination event
{
"priority": 1,
"delivery_mode": 2,
"content_encoding": "UTF-8",
"content_type": "application/json",
"headers": [
{
"regards.tenant": "REGARDS",
"regards.type": "fr.cnes.regards.modules.ingest.dto.request.event.AipDirectDisseminationEvent"
}
]
}

Body​

{
"providerId": "DS_PHR1A_202604241011256_FR1_PX_E012N42_0307_00596",
"recipient": "reference"
}
ParameterTypeDescription
providerIdStringExact provider identifier of the AIP to disseminate.
recipientStringNotifier recipient label that must receive the dissemination request.

Responses format​

No dedicated AMQP response is published for an AipDirectDisseminationEvent. This interface does not provide GRANTED, DENIED, ERROR or SUCCESS responses correlated with the original event.

To receive the disseminated AIP, subscribe to the destination configured by the recipient sender plugin. For a RabbitMQSender recipient, this is the queue configured by its queueName parameter, not a predefined response queue for this event.

The AIP's dissemination information records the recipient, dissemination date and acknowledgement date, as described in Products dissemination. Whether an acknowledgement is expected depends on the recipient sender configuration (ackRequired). This acknowledgement concerns the recipient's processing of the notification, not a dedicated response to the initial AipDirectDisseminationEvent.