Class GenericMessageBinderTest.MyProcessor
java.lang.Object
test.de.iip_ecosphere.platform.transport.spring.binder.generic.GenericMessageBinderTest.MyProcessor
- Enclosing class:
GenericMessageBinderTest
A simple test processor.
- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.messaging.converter.MessageConverterCreates a custom message converter.in()Produces the inbound messages.Receives the bounced message from the binder.Transforms the received input.
-
Constructor Details
-
MyProcessor
public MyProcessor()
-
-
Method Details
-
in
Produces the inbound messages.- Returns:
- supplier for inbound messages
-
transform
Transforms the received input.- Returns:
- function transforming the input
-
receiveInput
Receives the bounced message from the binder.- Returns:
- consumer instance
-
customMessageConverter
@Bean public org.springframework.messaging.converter.MessageConverter customMessageConverter()Creates a custom message converter.- Returns:
- the custom message converter
-