|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.processor.interceptor.StreamCaching
@Deprecated public final class StreamCaching
InterceptStrategy implementation to configure stream caching on a RouteContext
| Constructor Summary | |
|---|---|
StreamCaching()
Deprecated. |
|
| Method Summary | |
|---|---|
static StreamCaching |
getStreamCaching(CamelContext context)
Deprecated. A helper method to return the StreamCaching instance for a given CamelContext if one is enabled |
static StreamCaching |
getStreamCaching(List<InterceptStrategy> interceptors)
Deprecated. A helper method to return the StreamCaching instance for a given list of interceptors |
static void |
noStreamCaching(List<InterceptStrategy> interceptors)
Deprecated. Remove the StreamCachingInterceptor from the given list of interceptors |
String |
toString()
Deprecated. |
Processor |
wrapProcessorInInterceptors(CamelContext context,
ProcessorDefinition<?> definition,
Processor target,
Processor nextTarget)
Deprecated. This method is invoked by ProcessorDefinition.wrapProcessor(RouteContext, Processor)
to give the implementor an opportunity to wrap the target processor
in a route. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StreamCaching()
| Method Detail |
|---|
public Processor wrapProcessorInInterceptors(CamelContext context,
ProcessorDefinition<?> definition,
Processor target,
Processor nextTarget)
throws Exception
InterceptStrategyProcessorDefinition.wrapProcessor(RouteContext, Processor)
to give the implementor an opportunity to wrap the target processor
in a route.
Important: See the class javadoc for advice on letting interceptor be compatible with the
asynchronous routing engine.
wrapProcessorInInterceptors in interface InterceptStrategycontext - Camel contextdefinition - the model this interceptor representstarget - the processor to be wrappednextTarget - the next processor to be routed to
Exception - can be thrownpublic static StreamCaching getStreamCaching(CamelContext context)
CamelContext if one is enabled
context - the camel context the stream cache is connected to
public static StreamCaching getStreamCaching(List<InterceptStrategy> interceptors)
interceptors - the list of interceptors
public static void noStreamCaching(List<InterceptStrategy> interceptors)
StreamCachingInterceptor from the given list of interceptors
interceptors - the list of interceptorspublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||