-
1. Re: Regex Content Based Routing Question
tcunning Dec 7, 2011 6:29 PM (in response to davidjcook10)<route-to destination-name="Payroll" service-category="Payroll" service-name=expression="1540RP10" />
Didn't take a long look at this but service-name=expression= obviously a problem. If you fix that does it help?
-
2. Re: Regex Content Based Routing Question
davidjcook10 Dec 7, 2011 6:48 PM (in response to tcunning)DOH! Sorry to waste time with that silly typo. Unfortunately that wasn't the issue. Still getting same errors. I'm sure, it's some basic knob I haven't turned the right way, but I can't find the right knob or the right way to turn it.
I've attached my complete jboss.esb file rather than trying to copy and paste it in.
djc
-
jboss-esb.xml 3.5 KB
-
-
3. Re: Regex Content Based Routing Question
tcunning Dec 8, 2011 12:40 PM (in response to davidjcook10)Okay, it looks like the problem is your expressions. This is what is being tested :
return regexExpression.matcher((CharSequence) objectToTest).matches();
where objectToTest is the file contents and regexExpression is your expression as a java.util.regex.Pattern, which are somewhat different from Perl-style regexes. I bet if you compile a small example program focusing on testing your input and regexes with just that line above, you could have this worked out in minutes.