Package org.springframework.integration.transformer

Examples of org.springframework.integration.transformer.ObjectToStringTransformer


  @Bean
  @DependsOn("errorFlow")
  public IntegrationFlow flow() {
    return IntegrationFlows.from("requestChannel")
        .transform(new ObjectToStringTransformer())
        .filter((String p) -> p.startsWith("#spring"),
            f -> f.discardChannel("rejected"))
        .handle(twitterGate())
        .transform("payload[0]")
        .transform(new ObjectToJsonTransformer())
View Full Code Here


//  }

  @Bean
  @Transformer(inputChannel="requestChannel", outputChannel="searchChannel")
  public org.springframework.integration.transformer.Transformer converttoString() {
    return new ObjectToStringTransformer();
  }
View Full Code Here

TOP

Related Classes of org.springframework.integration.transformer.ObjectToStringTransformer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.