Package org.springframework.integration.json

Examples of org.springframework.integration.json.JsonOutboundMessageMapper


public class ApplicationContext {
 
  @Bean MessageConverter jsonConverter() {
    SimpleMessageConverter converter = new SimpleMessageConverter();
    JsonInboundMessageMapper inbound = new JsonInboundMessageMapper(HashMap.class);
    JsonOutboundMessageMapper outbound = new JsonOutboundMessageMapper();
    converter.setInboundMessageMapper(inbound);
    converter.setOutboundMessageMapper(outbound);   
    return converter;
  }
View Full Code Here

TOP

Related Classes of org.springframework.integration.json.JsonOutboundMessageMapper

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.