public class InputTransformerProducer extends TransformerProducer
Producer
would map to a Camel
catalog:inputtransformer
Constructor and Description |
---|
InputTransformerProducer(CatalogEndpoint endpoint)
Constructs the
Producer for the custom Camel CatalogComponent. |
Modifier and Type | Method and Description |
---|---|
protected Object |
transform(org.apache.camel.Message in,
Object obj,
String mimeType,
String transformerId,
MimeTypeToTransformerMapper mapper) |
process
createExchange, createExchange, createExchange, doStart, doStop, getEndpoint, isSingleton, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public InputTransformerProducer(CatalogEndpoint endpoint)
Producer
for the custom Camel CatalogComponent. This
producer would map to a Camel catalog:inputtransformer
endpoint
- the Camel endpoint that created this consumerprotected Object transform(org.apache.camel.Message in, Object obj, String mimeType, String transformerId, MimeTypeToTransformerMapper mapper) throws MimeTypeParseException, IOException, CatalogTransformerException
transform
in class TransformerProducer
MimeTypeParseException
IOException
CatalogTransformerException
This work is licensed under a Creative Commons Attribution 4.0 International License.