Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
package com.voterapi.voter.configuration;
import org.springframework.amqp.core.DirectExchange;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
public class VoterConfig {
public Queue candidateQueue() {
return new Queue("candidates.queue");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment