Skip to content

Commit 2b960c0

Browse files
committed
fix: SnsInboundChannelAdapterParser set requestChannelName property
1 parent 8c1e0de commit 2b960c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

int-aws-support/src/main/java/org/springframework/integration/aws/config/xml/SnsInboundChannelAdapterParser.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ protected AbstractBeanDefinition doParse(Element element, ParserContext parserCo
1717
.setPropertyIfAttributeDefined("send-timeout", "requestTimeout")
1818
.setPropertyIfAttributeDefined("error-channel", "errorChannelName")
1919
.setPropertyIfAttributeDefined("payload-expression", "payloadExpression", ValueFactory.expressionBean())
20-
.build();
20+
.getBeanDefinitionBuilder()
21+
.addPropertyReference("requestChannelName", channelName)
22+
.getBeanDefinition();
2123
}
2224
}

0 commit comments

Comments
 (0)