org.springframework.amqp.config
Class AbstractAmqpConfiguration
java.lang.Object
org.springframework.amqp.config.AbstractAmqpConfiguration
- Direct Known Subclasses:
- AbstractRabbitConfiguration
@Configuration
public abstract class AbstractAmqpConfiguration
- extends Object
Abstract base class for code based configuration of Spring managed AMQP infrastructure,
i.e. Exchanges, Queues, and Bindings.
Subclasses are required to provide an implementation of AmqpAdmin.
The BindingBuilder class can be used to provide a fluent API to declare bindings.
- Author:
- Mark Pollack, Mark Fisher
- See Also:
Exchange
,
Queue
,
Binding
,
BindingBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAmqpConfiguration
public AbstractAmqpConfiguration()
amqpAdmin
@Bean
public abstract AmqpAdmin amqpAdmin()
defaultExchange
public DirectExchange defaultExchange()
- Provides convenient access to the default exchange which is always declared on the broker.
Copyright © 2011. All Rights Reserved.