- Mastering Apache Camel
- Jean-Baptiste Onofré
- 132字
- 2021-07-16 13:50:20
Predicates and expressions
As we will see later, most of the EIP need a rule definition to apply a routing logic to a message. The rule is described using an expression.
It means that we have to define expressions or predicates in the Enterprise Integration Patterns. An expression returns any kind of value, whereas a predicate returns true or false only.
Camel supports a lot of different languages to declare expressions or predicates. It doesn't force you to use one, it allows you to use the most appropriate one.
For instance, Camel supports xpath, mvel, ognl, python, ruby, PHP, JavaScript, SpEL (Spring Expression Language), Groovy, and so on as expression languages. It also provides native Camel prebuilt functions and languages that are easy to use such as header, constant, or simple languages.
- 新編Visual Basic程序設計上機實驗教程
- FreeSWITCH 1.8
- 架構不再難(全5冊)
- 程序員考試案例梳理、真題透解與強化訓練
- Hands-On Enterprise Automation with Python.
- Android開發(fā):從0到1 (清華開發(fā)者書庫)
- 精通Python自動化編程
- Terraform:多云、混合云環(huán)境下實現基礎設施即代碼(第2版)
- Learning Continuous Integration with TeamCity
- Spring MVC+MyBatis開發(fā)從入門到項目實踐(超值版)
- 深入淺出Go語言編程
- Visual FoxPro 6.0程序設計
- Python面向對象編程(第4版)
- LabVIEW數據采集(第2版)
- Roslyn Cookbook