<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?
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.
jboss-esb.xml 3.5 KB
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.