Class RecordedExchange
- java.lang.Object
-
- com.rabbitmq.client.impl.recovery.RecordedEntity
-
- com.rabbitmq.client.impl.recovery.RecordedNamedEntity
-
- com.rabbitmq.client.impl.recovery.RecordedExchange
-
public class RecordedExchange extends RecordedNamedEntity
- Since:
- 3.3.0
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.lang.Object>
arguments
private boolean
autoDelete
private boolean
durable
private java.lang.String
type
-
Fields inherited from class com.rabbitmq.client.impl.recovery.RecordedNamedEntity
name
-
Fields inherited from class com.rabbitmq.client.impl.recovery.RecordedEntity
channel
-
-
Constructor Summary
Constructors Constructor Description RecordedExchange(AutorecoveringChannel channel, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecordedExchange
arguments(java.util.Map<java.lang.String,java.lang.Object> value)
RecordedExchange
autoDelete(boolean value)
RecordedExchange
durable(boolean value)
boolean
isAutoDelete()
void
recover()
java.lang.String
toString()
RecordedExchange
type(java.lang.String value)
-
Methods inherited from class com.rabbitmq.client.impl.recovery.RecordedNamedEntity
getName
-
Methods inherited from class com.rabbitmq.client.impl.recovery.RecordedEntity
getChannel, getDelegateChannel
-
-
-
-
Constructor Detail
-
RecordedExchange
public RecordedExchange(AutorecoveringChannel channel, java.lang.String name)
-
-
Method Detail
-
recover
public void recover() throws java.io.IOException
- Specified by:
recover
in classRecordedNamedEntity
- Throws:
java.io.IOException
-
durable
public RecordedExchange durable(boolean value)
-
autoDelete
public RecordedExchange autoDelete(boolean value)
-
type
public RecordedExchange type(java.lang.String value)
-
arguments
public RecordedExchange arguments(java.util.Map<java.lang.String,java.lang.Object> value)
-
isAutoDelete
public boolean isAutoDelete()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-