Package org.apache.camel
Interface Processor
-
- All Known Subinterfaces:
AsyncProcessor,AsyncProducer,Channel,DelegateProcessor,ErrorHandler,InternalProcessor,ManagementInterceptStrategy.InstrumentationProcessor<T>,Producer,SharedInternalProcessor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Processor
A processor is used to implement the Event Driven Consumer and Message Translator patterns and to process message exchanges. Notice if you use aProcessorin a Camel route, then make sure to write theProcessorin a thread-safe way, as the Camel routes can potentially be executed by concurrent threads, and therefore multiple threads can call the sameProcessorinstance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocess(Exchange exchange)Processes the message exchange
-