Package org.localify.data
Class RabbitConfig
java.lang.Object
org.localify.data.RabbitConfig
Configuration for RabbitMQ queues.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.amqp.core.QueueCreates the BandsInTown request queue.org.springframework.amqp.core.QueueCreates the Google request queue.org.springframework.amqp.core.QueueCreates the Pollstar request queue.org.springframework.amqp.core.QueueCreates the scraper response queue.org.springframework.amqp.core.QueueCreates the Spotify request queue.
-
Constructor Details
-
RabbitConfig
public RabbitConfig()
-
-
Method Details
-
createBitQueue
@Bean public org.springframework.amqp.core.Queue createBitQueue()Creates the BandsInTown request queue.- Returns:
- The BandsInTown request queue.
-
createPollstarQueue
@Bean public org.springframework.amqp.core.Queue createPollstarQueue()Creates the Pollstar request queue.- Returns:
- The Pollstar request queue.
-
createGoogleQueue
@Bean public org.springframework.amqp.core.Queue createGoogleQueue()Creates the Google request queue.- Returns:
- The Google request queue.
-
createSpotifyQueue
@Bean public org.springframework.amqp.core.Queue createSpotifyQueue()Creates the Spotify request queue.- Returns:
- The Spotify request queue.
-
createResponsesQueue
@Bean public org.springframework.amqp.core.Queue createResponsesQueue()Creates the scraper response queue.- Returns:
- The scraper response queue.
-