Class GenericMessageBinderTest.MyProcessor

java.lang.Object
test.de.iip_ecosphere.platform.transport.spring.binder.generic.GenericMessageBinderTest.MyProcessor
Enclosing class:
GenericMessageBinderTest

@SpringBootApplication public static class GenericMessageBinderTest.MyProcessor extends Object
A simple test processor.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • MyProcessor

      public MyProcessor()
  • Method Details

    • in

      @Bean public Supplier<String> in()
      Produces the inbound messages.
      Returns:
      supplier for inbound messages
    • transform

      @Bean public Function<String,String> transform()
      Transforms the received input.
      Returns:
      function transforming the input
    • receiveInput

      @Bean public Consumer<String> 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