Class MethodInvokingTransformer
java.lang.Object
org.springframework.integration.transformer.AbstractMessageProcessingTransformer
org.springframework.integration.transformer.MethodInvokingTransformer
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.context.Lifecycle
,GenericTransformer<org.springframework.messaging.Message<?>,
,org.springframework.messaging.Message<?>> ManageableLifecycle
,Transformer
A Message Transformer implementation that invokes the specified method
on the given object. The method's return value will be considered as
the payload of a new Message unless the return value is itself already
a Message.
-
Constructor Summary
ConstructorsConstructorDescriptionMethodInvokingTransformer
(Object object) MethodInvokingTransformer
(Object object, Method method) MethodInvokingTransformer
(Object object, String methodName) -
Method Summary
Methods inherited from class org.springframework.integration.transformer.AbstractMessageProcessingTransformer
getMessageBuilderFactory, isRunning, setBeanFactory, setNotPropagatedHeaders, start, stop, transform
-
Constructor Details
-
MethodInvokingTransformer
-
MethodInvokingTransformer
-
MethodInvokingTransformer
-