RED-6864 - Optimization of Upload and Download for Large Files in Azure Blob Storage and AWS S3/MinIO

- add @RabbitListener to the method
This commit is contained in:
Corina Olariu 2023-08-17 16:50:09 +03:00
parent 3ae67b77e4
commit 11958a4099

View File

@ -23,7 +23,6 @@ import lombok.extern.slf4j.Slf4j;
@Service
@RequiredArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE, makeFinal = true)
@RabbitListener(queues = MessagingConfiguration.PDFTRON_DLQ)
public class RedactionDlqMessageReceiver {
private static final String LINE_SEPARATOR = System.lineSeparator();
@ -34,6 +33,7 @@ public class RedactionDlqMessageReceiver {
@RabbitHandler
@RabbitListener(queues = MessagingConfiguration.PDFTRON_DLQ)
public void receive(Message message) throws IOException {
// Since we receive different message types here, we do not convert to an object here;