Package org.springframework.integration.http.outbound

Examples of org.springframework.integration.http.outbound.HttpRequestExecutingMessageHandler


              String[] names = {"Accept", "x-url", "x-signature", "x-user"};
              hm.setBeanFactory(context.getBeanFactory());
              hm.setOutboundHeaderNames(names);
              hm.setInboundHeaderNames(names);

              HttpRequestExecutingMessageHandler statusNotifier = new HttpRequestExecutingMessageHandler(uri);
              statusNotifier.setBeanName(platformType + "StatusNotifier");
              statusNotifier.setBeanFactory(context.getBeanFactory());
              statusNotifier.setChannelResolver(channelResolver);
              statusNotifier.setHttpMethod(HttpMethod.POST);
              statusNotifier.setCharset("UTF-8");
              statusNotifier.setHeaderMapper(hm);
              statusNotifier.setExtractPayload(true);
              statusNotifier.setOrder(3);
              statusNotifier.setRequiresReply(false);
              statusNotifier.setExpectReply(false);

              outputChannel.subscribe(statusNotifier);
            }
          }
View Full Code Here

TOP

Related Classes of org.springframework.integration.http.outbound.HttpRequestExecutingMessageHandler

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.