org.apache.camel.component.language
Class LanguageProducer
java.lang.Object
org.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.language.LanguageProducer
- All Implemented Interfaces:
- IsSingleton, Processor, Producer, Service, ShutdownableService, StatefulService, SuspendableService
public class LanguageProducer
- extends DefaultProducer
Language producer.
- Version:
Methods inherited from class org.apache.camel.support.ServiceSupport |
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
LanguageProducer
public LanguageProducer(LanguageEndpoint endpoint)
process
public void process(Exchange exchange)
throws Exception
- Description copied from interface:
Processor
- Processes the message exchange
- Parameters:
exchange
- the message exchange
- Throws:
Exception
- if an internal processing error has occurred.
getEndpoint
public LanguageEndpoint getEndpoint()
- Description copied from interface:
Producer
- Gets the endpoint this producer sends to.
- Specified by:
getEndpoint
in interface Producer
- Overrides:
getEndpoint
in class DefaultProducer
- Returns:
- the endpoint
Apache CAMEL