MethodInvokingSplitter mis = new MethodInvokingSplitter(notificationUtils, "splitMessage");
mis.setBeanName(platformType + "Splitter");
mis.setBeanFactory(context.getBeanFactory());
mis.setChannelResolver(channelResolver);
mis.setOutputChannel(signChannel);
splitterChannel.subscribe(mis);
//sign messages and inject url into message headers via HeaderEnricher
Map<String, SignedHeaderValueMessageProcessor<String>> urlHeaderToSign = new HashMap<String, SignedHeaderValueMessageProcessor<String>>();
URI su = URI.create(uri);
urlHeaderToSign.put("x-url", new SignedHeaderValueMessageProcessor<String>(su.getPath()));