Class RecordedBinding
- java.lang.Object
-
- com.rabbitmq.client.impl.recovery.RecordedEntity
-
- com.rabbitmq.client.impl.recovery.RecordedBinding
-
- Direct Known Subclasses:
RecordedExchangeBinding
,RecordedQueueBinding
public abstract class RecordedBinding extends RecordedEntity
- Since:
- 3.3.0
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,java.lang.Object>
arguments
protected java.lang.String
destination
protected java.lang.String
routingKey
protected java.lang.String
source
-
Fields inherited from class com.rabbitmq.client.impl.recovery.RecordedEntity
channel
-
-
Constructor Summary
Constructors Constructor Description RecordedBinding(AutorecoveringChannel channel)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description RecordedBinding
arguments(java.util.Map<java.lang.String,java.lang.Object> value)
RecordedBinding
destination(java.lang.String value)
boolean
equals(java.lang.Object o)
java.util.Map<java.lang.String,java.lang.Object>
getArguments()
java.lang.String
getDestination()
java.lang.String
getRoutingKey()
java.lang.String
getSource()
int
hashCode()
abstract void
recover()
RecordedBinding
routingKey(java.lang.String value)
void
setDestination(java.lang.String destination)
RecordedBinding
source(java.lang.String value)
-
Methods inherited from class com.rabbitmq.client.impl.recovery.RecordedEntity
getChannel, getDelegateChannel
-
-
-
-
Constructor Detail
-
RecordedBinding
public RecordedBinding(AutorecoveringChannel channel)
-
-
Method Detail
-
source
public RecordedBinding source(java.lang.String value)
-
destination
public RecordedBinding destination(java.lang.String value)
-
routingKey
public RecordedBinding routingKey(java.lang.String value)
-
arguments
public RecordedBinding arguments(java.util.Map<java.lang.String,java.lang.Object> value)
-
getSource
public java.lang.String getSource()
-
getDestination
public java.lang.String getDestination()
-
getRoutingKey
public java.lang.String getRoutingKey()
-
getArguments
public java.util.Map<java.lang.String,java.lang.Object> getArguments()
-
setDestination
public void setDestination(java.lang.String destination)
-
recover
public abstract void recover() throws java.io.IOException
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-