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:
parent
3ae67b77e4
commit
11958a4099
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user