似乎selector-expression不支持消息驅動通道適配器。spring-integration jms selector-expression
<int-jms:message-driven-channel-adapter
selector-expression="workerGroup = '@environment.getDeploymentEnvironment().toString()'"
concurrent-consumers="1"
transaction-manager="transactionManager"
destination="queue" channel="channel"/>
==>
'selector-expression' is not allowed to appear in element 'int-jms:message-driven-channel-adapter'
如何,我可以使這項工作的任何提示。