public class RabbitBusCleaner extends java.lang.Object implements BusCleaner
BusCleaner
for the RabbitMessageBus
.Constructor and Description |
---|
RabbitBusCleaner() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
clean(java.lang.String entity,
boolean isJob)
Clean up all resources for the supplied stream/job.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
clean(java.lang.String adminUri,
java.lang.String user,
java.lang.String pw,
java.lang.String vhost,
java.lang.String busPrefix,
java.lang.String entity,
boolean isJob) |
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> clean(java.lang.String entity, boolean isJob)
BusCleaner
clean
in interface BusCleaner
entity
- the stream or job; may be terminated with a simple wild card '*', in which
case all streams with names starting with the characters before the '*' will be cleaned.isJob
- true if the entity is a job.public java.util.Map<java.lang.String,java.util.List<java.lang.String>> clean(java.lang.String adminUri, java.lang.String user, java.lang.String pw, java.lang.String vhost, java.lang.String busPrefix, java.lang.String entity, boolean isJob)