Anup, In this case you would want to use the "matches" function as opposed to "equals". Also, in the email I'm not seeing a closing quote on the value inside the parentheses. Please let us know if you have any other questions. Thanks.
All, I thought we had an expression language guide, but I couldn't find it on the site... Does anyone have that link, or am I just wrong? Brandon On Tue, Apr 28, 2015, 3:32 AM Sethuram, Anup <[email protected]> wrote: > > Configuration used: > > Routing Strategy: Route to Property name > > Added two custom properties: > > csv = ${filename:equals('.*.csv)} > log = ${filename:equals('.*.log)} > > On 28-Apr-2015, at 12:45 pm, Sethuram, Anup <[email protected] > <mailto:[email protected]>> wrote: > > > > Hi, > I was trying to use RouteOnAttribute to distribute my data based on the > type and configured it as below. But the below configuration didn't work. > I'd like to understand how the regex needs to be defined in the value > field. Is it java pattern matching? > > > > > Regards, > anup > > > ________________________________ > The information contained in this message may be confidential and legally > protected under applicable law. The message is intended solely for the > addressee(s). If you are not the intended recipient, you are hereby > notified that any use, forwarding, dissemination, or reproduction of this > message is strictly prohibited and may be unlawful. If you are not the > intended recipient, please contact the sender by return e-mail and destroy > all copies of the original message. > >
