Package org.apache.camel
Interface Processor
-
- All Known Subinterfaces:
AsyncProcessor
,AsyncProducer
,Channel
,DelegateProcessor
,ManagementInterceptStrategy.InstrumentationProcessor<T>
,Producer
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 aProcessor
in a Camel route, then make sure to write theProcessor
in a thread-safe way, as the Camel routes can potentially be executed by concurrent threads, and therefore multiple threads can call the sameProcessor
instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
process(Exchange exchange)
Processes the message exchange
-