Spel Expression Spring 5
Spel is an exression language supporting the features of querying and manipulating an object graph at runtime.
Spel expression spring 5. There are many expression languages available such as jsp el ognl mvel and jboss el. Name email dev id roles organization. Spring expression language spel you can configure many spring integration components by using expressions written in the spring expression language.
Spel provides some additional features such as method invocation and string templating functionality. The spring expression language spel is an expression language that supports querying and manipulating an object graph at runtime. Spring expression language usually referred as spel is one of the modules available under spring s core module.
As the name suggests it is a powerful expression language mainly used in spring framework for evaluating expressions such as mathematical relational logical operations conditional regular expressions etc at runtime. The code samples in this article are available in the linked github repository. The expression language supports the following functionality.
In most cases the root object is the message which has two properties headers and payload that allow such expressions as payload payload thing headers my header and so on. Spring expression language spel tutorial. It can be used to configure spring applications or to write parsers to perform more general tasks in any application.