开发者

Grails & JMS Spring Integration: 'selector-expression' in recipient-list-router not working

开发者 https://www.devze.com 2023-03-14 20:44 出处:网络
Following is the code which is not workin开发者_如何学运维g: SampleGrailsPlugin.groovy def doWithSpring = {

Following is the code which is not workin开发者_如何学运维g: SampleGrailsPlugin.groovy

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

What ever value I give in 'selector-expression', message is getting routed to 'outChannel'. Can somebody help?

Thank you

Keerthi

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号