Package org.springframework.integration.handler

Examples of org.springframework.integration.handler.MethodInvokingMessageProcessor


              Map<String, SignedHeaderValueMessageProcessor<String>> urlHeaderToSign = new HashMap<String, SignedHeaderValueMessageProcessor<String>>();
              URI su = URI.create(uri);
              urlHeaderToSign.put("x-url", new SignedHeaderValueMessageProcessor<String>(su.getPath()));
              urlHeaderToSign.put("x-user", new SignedHeaderValueMessageProcessor<String>("notification"));
              NotificationMessageEnricher signer = new NotificationMessageEnricher(urlHeaderToSign);
              signer.setMessageProcessor(new MethodInvokingMessageProcessor(notificationUtils, "signMessageHeaders"));

              MessageTransformingHandler mth = new MessageTransformingHandler(signer);
              mth.setBeanName(platformType + "Signer");
              mth.setBeanFactory(context.getBeanFactory());
              mth.setChannelResolver(channelResolver);
View Full Code Here

TOP

Related Classes of org.springframework.integration.handler.MethodInvokingMessageProcessor

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.