how do i parse a DSL

2013-08-18 Thread Ernest Lu
hi If I have a DSL like this : route id=cool from uri=direct:start/ to uri=mock:result/ /route how do i parse the DSL which is stored in an external file to generate a route,then add it into the context. Best Regards -- View

Re: how do i parse a DSL

2013-08-18 Thread Willem jiang
://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Sunday, August 18, 2013 at 10:32 PM, Ernest Lu wrote: hi If I have a DSL like this : route id=cool from uri=direct:start/ to uri=mock:result/ /route how do i parse the DSL which is stored in an external