org.springframework.amqp.core
Class CustomExchange
java.lang.Object
org.springframework.amqp.core.AbstractExchange
org.springframework.amqp.core.CustomExchange
- All Implemented Interfaces:
- Exchange
public class CustomExchange
- extends AbstractExchange
Simple container collecting information to describe a custom exchange. Custom exchange types are allowed by the AMQP
specification, and their names should start with "x-" (but this is not enforced here). Used in conjunction with
administrative operations.
- Author:
- Dave Syer
- See Also:
AmqpAdmin
CustomExchange
public CustomExchange(String name,
String type)
CustomExchange
public CustomExchange(String name,
String type,
boolean durable,
boolean autoDelete)
CustomExchange
public CustomExchange(String name,
String type,
boolean durable,
boolean autoDelete,
Map<String,Object> arguments)
getType
public final String getType()
- Description copied from interface:
Exchange
- The type of the exchange. See
ExchangeTypes
for some well-known examples.
- Specified by:
getType
in interface Exchange
- Specified by:
getType
in class AbstractExchange
- Returns:
- the type of the exchange
Copyright © 2011. All Rights Reserved.