INT-1848 Add order Attribute (mail)
This commit is contained in:
@@ -45,6 +45,7 @@ public class MailOutboundChannelAdapterParserTests {
|
||||
DirectFieldAccessor fieldAccessor = new DirectFieldAccessor(handler);
|
||||
MailSender mailSender = (MailSender) fieldAccessor.getPropertyValue("mailSender");
|
||||
assertNotNull(mailSender);
|
||||
assertEquals(23, fieldAccessor.getPropertyValue("order"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
http://www.springframework.org/schema/integration/mail/spring-integration-mail.xsd">
|
||||
|
||||
<mail:outbound-channel-adapter id="adapterWithMailSenderReference"
|
||||
order="23"
|
||||
mail-sender="mailSender"/>
|
||||
|
||||
<mail:outbound-channel-adapter id="adapterWithHostProperty"
|
||||
|
||||
Reference in New Issue
Block a user