Example usage for org.springframework.amqp.core Queue Queue

List of usage examples for org.springframework.amqp.core Queue Queue

Introduction

In this page you can find the example usage for org.springframework.amqp.core Queue Queue.

Prototype

public Queue(String name, boolean durable) 

Source Link

Document

Construct a new queue, given a name and durability flag.

Usage

From source file:com.nkapps.billing.configs.RabbitMQConfig.java

@Bean
public Queue smstPaymentSubmitQueue() {
    return new Queue(BILLING_PG_SMST_PAYMENT_SUBMIT_QUEUE, true);
}

From source file:com.nkapps.billing.configs.RabbitMQConfig.java

@Bean
public Queue smstPaymentSubmitErrorQueue() {
    return new Queue(BILLING_PG_SMST_PAYMENT_SUBMIT_ERROR_QUEUE, true);
}

From source file:com.nkapps.billing.configs.RabbitMQConfig.java

@Bean
public Queue munisPaymentSubmitQueue() {
    return new Queue(BILLING_PG_MUNIS_PAYMENT_SUBMIT_QUEUE, true);
}

From source file:com.nkapps.billing.configs.RabbitMQConfig.java

@Bean
public Queue munisPaymentSubmitErrorQueue() {
    return new Queue(BILLING_PG_MUNIS_PAYMENT_SUBMIT_ERROR_QUEUE, true);
}