how can i parse a “complex” template-like SpEL expression that mixes literal text and actual #{SpEL expressions}? for example:
the dog says #{dog.getSound()}
Apache Camel supports this template-like capability in its expression languages (including SpEL), but i haven’t been able to root out how to accomplish this directly with vanilla SpEL.
as described in the user guide, evaluate the Expression in a TemplateParserContext: