INT-1129 modified the argument order for MessagingTemplate send(..) methods so that MessageChannel always comes first - consistent with Destination/destinationName being the first argument in all JmsTemplate send(..) methods

This commit is contained in:
Mark Fisher
2010-07-28 14:20:53 +00:00
parent f574a71259
commit af14b065f8
18 changed files with 45 additions and 43 deletions

View File

@@ -61,7 +61,7 @@ public class XmppHeaderEnricherParserTests {
logger.debug(String.format("%s=%s (class: %s)", h, message.getHeaders().get(h), message.getHeaders().get(h).getClass().toString()));
}
});
messagingTemplate.send(MessageBuilder.withPayload("foo").build(), input);
messagingTemplate.send(input, MessageBuilder.withPayload("foo").build());
}
}