public interface InflightRepository extends StaticService
Exchange
s.Modifier and Type | Method and Description |
---|---|
void |
add(Exchange exchange)
Adds the exchange to the inflight registry to the total counter
|
void |
add(Exchange exchange,
String routeId)
Adds the exchange to the inflight registry associated to the given route
|
void |
remove(Exchange exchange)
Removes the exchange from the inflight registry to the total counter
|
void |
remove(Exchange exchange,
String routeId)
Removes the exchange from the inflight registry removing association to the given route
|
void |
removeRoute(String routeId)
Removes the route from the in flight registry.
|
int |
size()
Current size of inflight exchanges.
|
int |
size(Endpoint endpoint)
Deprecated.
will be removed in a future Camel release.
|
int |
size(String routeId)
Current size of inflight exchanges which are from the given route.
|
void add(Exchange exchange)
exchange
- the exchangevoid remove(Exchange exchange)
exchange
- the exchangevoid add(Exchange exchange, String routeId)
exchange
- the exchangerouteId
- the id of the routevoid remove(Exchange exchange, String routeId)
exchange
- the exchangerouteId
- the id of the routeint size()
@Deprecated int size(Endpoint endpoint)
void removeRoute(String routeId)
routeId
- the id of the routeApache Camel