public class Interceptor2ProducerAdapter extends Object implements org.apache.camel.Producer, org.apache.camel.DelegateProcessor, org.apache.camel.ServicePoolAware
Producer
s.Constructor and Description |
---|
Interceptor2ProducerAdapter(org.apache.camel.Processor interceptor,
org.apache.camel.Producer originalProducer) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Exchange |
createExchange() |
org.apache.camel.Exchange |
createExchange(org.apache.camel.Exchange exchange)
Deprecated.
|
org.apache.camel.Exchange |
createExchange(org.apache.camel.ExchangePattern pattern) |
org.apache.camel.Endpoint |
getEndpoint() |
org.apache.camel.Processor |
getProcessor() |
boolean |
isSingleton() |
void |
process(org.apache.camel.Exchange exchange) |
void |
start() |
void |
stop() |
public Interceptor2ProducerAdapter(org.apache.camel.Processor interceptor, org.apache.camel.Producer originalProducer)
public org.apache.camel.Processor getProcessor()
getProcessor
in interface org.apache.camel.DelegateProcessor
public void process(org.apache.camel.Exchange exchange) throws Exception
process
in interface org.apache.camel.Processor
Exception
public org.apache.camel.Endpoint getEndpoint()
getEndpoint
in interface org.apache.camel.EndpointAware
public org.apache.camel.Exchange createExchange()
createExchange
in interface org.apache.camel.Producer
public org.apache.camel.Exchange createExchange(org.apache.camel.ExchangePattern pattern)
createExchange
in interface org.apache.camel.Producer
@Deprecated public org.apache.camel.Exchange createExchange(org.apache.camel.Exchange exchange)
createExchange
in interface org.apache.camel.Producer
public void start() throws Exception
start
in interface org.apache.camel.Service
Exception
public void stop() throws Exception
stop
in interface org.apache.camel.Service
Exception
public boolean isSingleton()
isSingleton
in interface org.apache.camel.IsSingleton
Copyright © 2018 Open eHealth Foundation. All rights reserved.