public class DefaultInflightRepository
extends org.apache.camel.support.service.ServiceSupport
implements org.apache.camel.spi.InflightRepository
InflightRepository
.Constructor and Description |
---|
DefaultInflightRepository() |
Modifier and Type | Method and Description |
---|---|
void |
add(org.apache.camel.Exchange exchange) |
void |
add(org.apache.camel.Exchange exchange,
String routeId) |
void |
addRoute(String routeId) |
Collection<org.apache.camel.spi.InflightRepository.InflightExchange> |
browse() |
Collection<org.apache.camel.spi.InflightRepository.InflightExchange> |
browse(int limit,
boolean sortByLongestDuration) |
Collection<org.apache.camel.spi.InflightRepository.InflightExchange> |
browse(String fromRouteId) |
Collection<org.apache.camel.spi.InflightRepository.InflightExchange> |
browse(String fromRouteId,
int limit,
boolean sortByLongestDuration) |
protected void |
doStart() |
protected void |
doStop() |
boolean |
isInflightBrowseEnabled() |
org.apache.camel.spi.InflightRepository.InflightExchange |
oldest(String fromRouteId) |
void |
remove(org.apache.camel.Exchange exchange) |
void |
remove(org.apache.camel.Exchange exchange,
String routeId) |
void |
removeRoute(String routeId) |
void |
setInflightBrowseEnabled(boolean inflightBrowseEnabled) |
int |
size() |
int |
size(String routeId) |
build, doBuild, doInit, doResume, doShutdown, doSuspend, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public void add(org.apache.camel.Exchange exchange)
add
in interface org.apache.camel.spi.InflightRepository
public void remove(org.apache.camel.Exchange exchange)
remove
in interface org.apache.camel.spi.InflightRepository
public void add(org.apache.camel.Exchange exchange, String routeId)
add
in interface org.apache.camel.spi.InflightRepository
public void remove(org.apache.camel.Exchange exchange, String routeId)
remove
in interface org.apache.camel.spi.InflightRepository
public int size()
size
in interface org.apache.camel.spi.InflightRepository
public void addRoute(String routeId)
addRoute
in interface org.apache.camel.spi.InflightRepository
public void removeRoute(String routeId)
removeRoute
in interface org.apache.camel.spi.InflightRepository
public int size(String routeId)
size
in interface org.apache.camel.spi.InflightRepository
public boolean isInflightBrowseEnabled()
isInflightBrowseEnabled
in interface org.apache.camel.spi.InflightRepository
public void setInflightBrowseEnabled(boolean inflightBrowseEnabled)
setInflightBrowseEnabled
in interface org.apache.camel.spi.InflightRepository
public Collection<org.apache.camel.spi.InflightRepository.InflightExchange> browse()
browse
in interface org.apache.camel.spi.InflightRepository
public Collection<org.apache.camel.spi.InflightRepository.InflightExchange> browse(String fromRouteId)
browse
in interface org.apache.camel.spi.InflightRepository
public Collection<org.apache.camel.spi.InflightRepository.InflightExchange> browse(int limit, boolean sortByLongestDuration)
browse
in interface org.apache.camel.spi.InflightRepository
public Collection<org.apache.camel.spi.InflightRepository.InflightExchange> browse(String fromRouteId, int limit, boolean sortByLongestDuration)
browse
in interface org.apache.camel.spi.InflightRepository
public org.apache.camel.spi.InflightRepository.InflightExchange oldest(String fromRouteId)
oldest
in interface org.apache.camel.spi.InflightRepository
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.service.ServiceSupport
Exception
Apache Camel