Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I have an ExtractText processor where I've added 3 expressions: balance, card and name. To extract these values I am using regular expressions. So for name, I have the parsed portion of the incoming stream that looks like this: (.*?),\d+,\d+(?:.\d+)? I have 2 PutKafka processors, 1 that accepts valid entries (matched) and one that accepts invalid entries (unmatched). So far, so good.

I wanted to add a specific test on a match, using the RouteOnAttribute processor against the name expression. The error I see is: 'name' validated against $(name:equals("CODE-01")} is invalid because No Expression Found. I think I have an expression. I obviously don't! :) Where did I take a wrong turn?

Thank you. Thank you. Thank you. I've been staring at this, bypassing the syntax--thinking there is something else I've missed. I appreciate the time you took to look at this @7632695 ! plditallo Feb 8, 2018 at 20:05

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .