Re: Combination of filters

2009-02-26 Thread Ashwin Karpe
Hi, No. There is no simple way to do this unless you do this using something like from("SourceURL"). filter().method("myBean", "isAtrributeQueue13or14"). to("TargetURL"); Obviously you will need to parse the payload and determine whether the queue attribute is 13 or 14. Yo

Re: Combination of filters

2009-02-25 Thread Claus Ibsen
On Wed, Feb 25, 2009 at 2:32 PM, Roman Kalukiewicz wrote: > 2009/2/25 david_geary : >> >> Hi, >> >> I'm using an xpath filter in the xml configuration eg >> >> >> //cs:case/@queue="13" >> >> >> >> What's the easiest way to combine filters eg I want to accept it if its on >> queue 13 OR 14 (or i

Re: Combination of filters

2009-02-25 Thread Roman Kalukiewicz
2009/2/25 david_geary : > > Hi, > > I'm using an xpath filter in the xml configuration eg > > > //cs:case/@queue="13" > > > > What's the easiest way to combine filters eg I want to accept it if its on > queue 13 OR 14 (or if on queue 13 AND some other attribute is a particular > value?) > > I kn

Re: Combination of filters

2009-02-25 Thread James Strachan
2009/2/25 david_geary : > > Hi, > > I'm using an xpath filter in the xml configuration eg > > > //cs:case/@queue="13" > > > > What's the easiest way to combine filters eg I want to accept it if its on > queue 13 OR 14 (or if on queue 13 AND some other attribute is a particular > value?) > > I kn