fix: queue name

This commit is contained in:
Rodrigo Verdiani 2026-05-01 18:01:26 -03:00
parent c6605cb322
commit 90dab24ae8
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ import org.springframework.stereotype.Service;
public class UpdateMangaFollowChapterListConsumer {
private final UserMangaFollowService userMangaFollowService;
@RabbitListener(queues = "${rabbit-mq.queues.manga-follow-update-chapter}")
@RabbitListener(queues = "${queues.manga-follow-update-chapter}")
public void receiveMangaFollowUpdateChapterCommand(UpdateMangaFollowChapterListCommand command) {
log.info("Received update followed manga chapter list command: {}", command);
userMangaFollowService.checkForMangaUpdates(command.mangaProviderId());

View File

@ -13,7 +13,7 @@ import org.springframework.stereotype.Service;
public class UpdateMangaFollowChapterListProducer {
private final RabbitTemplate rabbitTemplate;
@Value("${rabbit-mq.queues.manga-follow-update-chapter}")
@Value("${queues.manga-follow-update-chapter}")
private String mangaFollowUpdateChapterQueue;
public void sendUpdateMangaFollowChapterListCommand(UpdateMangaFollowChapterListCommand command) {