Spring AMQP

org.springframework.amqp.config
Class AbstractAmqpConfiguration

java.lang.Object
  extended by 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

Constructor Summary
AbstractAmqpConfiguration()
           
 
Method Summary
abstract  AmqpAdmin amqpAdmin()
           
 DirectExchange defaultExchange()
          Provides convenient access to the default exchange which is always declared on the broker.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAmqpConfiguration

public AbstractAmqpConfiguration()
Method Detail

amqpAdmin

@Bean
public abstract AmqpAdmin amqpAdmin()

defaultExchange

public DirectExchange defaultExchange()
Provides convenient access to the default exchange which is always declared on the broker.


Spring AMQP

Copyright © 2011. All Rights Reserved.