Spring AMQP

org.springframework.amqp.core
Class Binding

java.lang.Object
  extended by org.springframework.amqp.core.Binding

public class Binding
extends Object

Simple container collecting information to describe a queue binding. Takes Queue and Exchange instances as arguments to facilitate wiring using @Bean code based configuration. Used in conjunction with AmqpAdmin.

Author:
Mark Pollack, Mark Fisher
See Also:
AmqpAdmin

Constructor Summary
Binding(Queue queue, DirectExchange exchange)
           
Binding(Queue queue, DirectExchange exchange, String routingKey)
           
Binding(Queue queue, FanoutExchange exchange)
           
Binding(Queue queue, HeadersExchange exchange, Map<String,Object> arguments)
           
Binding(Queue queue, TopicExchange exchange, String routingKey)
           
 
Method Summary
 Map<String,Object> getArguments()
           
 String getExchange()
           
 String getQueue()
           
 String getRoutingKey()
           
 void setArguments(Map<String,Object> arguments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Binding

public Binding(Queue queue,
               FanoutExchange exchange)

Binding

public Binding(Queue queue,
               HeadersExchange exchange,
               Map<String,Object> arguments)

Binding

public Binding(Queue queue,
               DirectExchange exchange)

Binding

public Binding(Queue queue,
               DirectExchange exchange,
               String routingKey)

Binding

public Binding(Queue queue,
               TopicExchange exchange,
               String routingKey)
Method Detail

getQueue

public String getQueue()

getExchange

public String getExchange()

getRoutingKey

public String getRoutingKey()

getArguments

public Map<String,Object> getArguments()

setArguments

public void setArguments(Map<String,Object> arguments)

Spring AMQP

Copyright © 2011. All Rights Reserved.