Re: Defining routes dynamically

2010-11-17 Thread Craig Taylor
On 11/16/2010 07:35 PM, Donald Whytock wrote: I don't think choice() works that way. choice() is for selecting a single destination based on conditions; it does indeed stop at the first match. If you want multiple when() clauses to be hit, you'll need to give each one its own choice() end() wra

Re: Defining routes dynamically

2010-11-16 Thread Donald Whytock
I don't think choice() works that way. choice() is for selecting a single destination based on conditions; it does indeed stop at the first match. If you want multiple when() clauses to be hit, you'll need to give each one its own choice() end() wrapper. What do you mean by multiple filters occu

Re: Defining routes dynamically

2010-11-16 Thread Willem Jiang
You are making things complicate. Why don't you try to generate the spring DSL which is based on you business logic and use less simple expressions ? On 11/17/10 3:22 AM, Craig Taylor wrote: In an effort to avoid having to recompile / deploy our application for every customer / data iteration