Re: NotifyBuilder Behaviour

2016-11-12 Thread sohrab
actual commits, it only applies to wereSentTo: https://issues.apache.org/jira/browse/CAMEL-4551 -- View this message in context: http://camel.465427.n5.nabble.com/NotifyBuilder-Behaviour-tp5789988p5790087.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: NotifyBuilder Behaviour

2016-11-12 Thread Tomohisa Igarashi
ctlyDone(1).from('direct:route1').create(), new NotifyBuilder(context).whenExactlyDone(1).from('direct:route2').create(), new NotifyBuilder(context).whenExactlyDone(1).from('direct:route3').create() ] context.createProducerTemplate().requestBody 'direct:route1&#

Re: NotifyBuilder Behaviour

2016-11-11 Thread Tomohisa Igarashi
ntext.createProducerTemplate().requestBody 'direct:route1', 'something' notifies.eachWithIndex { it, i -> println "$i: ${it.matches()}" } STDOUT === 0: true 1: false 2: false 3: true 4: true 5: true I understand the predicates are stacked but can someone please explain the above behaviour to me? -- View this message in context: http://camel.465427.n5.nabble.com/NotifyBuilder-Behaviour-tp5789988.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: NotifyBuilder Behaviour

2016-11-10 Thread Tomohisa Igarashi
.create() ] context.createProducerTemplate().requestBody 'direct:route1', 'something' notifies.eachWithIndex { it, i -> println "$i: ${it.matches()}" } STDOUT === 0: true 1: false 2: false 3: true 4: true 5: true I understand the predicates are stacked but can someone please explain the above behaviour to me? -- View this message in context: http://camel.465427.n5.nabble.com/NotifyBuilder-Behaviour-tp5789988.html Sent from the Camel - Users mailing list archive at Nabble.com.

NotifyBuilder Behaviour

2016-11-10 Thread sohrab
ntln "$i: ${it.matches()}" } STDOUT === 0: true 1: false 2: false 3: true 4: true 5: true I understand the predicates are stacked but can someone please explain the above behaviour to me? -- View this message in context: http://camel.465427.n5.nabble.com/NotifyBuilder-Behaviour-tp5789988.html Sent from the Camel - Users mailing list archive at Nabble.com.