Class Interceptor2ProducerAdapter
java.lang.Object
org.openehealth.ipf.platform.camel.ihe.core.Interceptor2ProducerAdapter
- All Implemented Interfaces:
AutoCloseable
,DelegateProcessor
,EndpointAware
,IsSingleton
,Processor
,Producer
,Service
Adapter for interceptors which allows them
to be exposed as Camel
Producer
s.- Author:
- Dmytro Rud
-
Constructor Summary
ConstructorDescriptionInterceptor2ProducerAdapter
(Processor interceptor, Producer originalProducer) -
Method Summary
-
Constructor Details
-
Interceptor2ProducerAdapter
-
-
Method Details
-
getProcessor
- Specified by:
getProcessor
in interfaceDelegateProcessor
-
process
-
getEndpoint
- Specified by:
getEndpoint
in interfaceEndpointAware
-
start
public void start() -
stop
public void stop() -
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceIsSingleton
-