Grails& JMS Spring Integration:recipient-list-router中的'selector-expression'无法正常工作

时间:2011-06-23 22:06:20

标签: grails groovy grails-plugin spring-integration spring-jms

以下是无效的代码: SampleGrailsPlugin.groovy

def doWithSpring = {
 integration{
  'recipient-list-router'(id:'listenerRouter','input-channel':'inChannel')
  {
   recipient('selector-expression':"false",'channel':'outChannel')
  }
 }
}

我在'selector-expression'中给出了什么值,消息被路由到'outChannel'。有人可以帮忙吗?

谢谢

Keerthi

0 个答案:

没有答案