第 13 章 简介

摘要

本章概述 Apache Camel 支持的所有表达式语言。

13.1. 语言概述

表达式和 predicate 语言表

表 13.1 “表达式和优先级语言” 概述了调用表达式和 predicate 语言的不同语法。

表 13.1. 表达式和优先级语言

语言静态方法Fluent DSL MethodXML 元素注解工件

请参阅客户门户网站的 Apache Camel 开发指南中的 Bean 集成

bean()

EIP().method()

method

@Bean

Camel 内核

第 14 章 常数

constant()

EIP().constant()

constant

@Constant

Camel 内核

第 15 章 EL

el()

EIP().el()

el

@EL

Camel-juel

第 17 章 groovy

groovy()

EIP().groovy()

groovy

@Groovy

Camel-groovy

第 18 章 标头

header()

EIP().header()

header

@Header

Camel 内核

第 19 章 JavaScript

javaScript()

EIP().javaScript()

javaScript

@JavaScript

camel-script

第 20 章 JoSQL

sql()

EIP().sql()

sql

@SQL

camel-josql

第 21 章 JsonPath

EIP().jsonpath()

jsonpath

@JsonPath

camel-jsonpath

第 22 章 JXPath

EIP().jxpath()

jxpath

@JXPath

camel-jxpath

第 23 章 MVEL

mvel()

EIP().mvel()

mvel

@MVEL

camel-mvel

第 24 章 Object-Graph 导航语言(OGNL)

ognl()

EIP().ognl()

ognl

@OGNL

camel-ognl

第 25 章 PHP(已弃用)

php()

EIP().php()

php

@PHP

camel-script

第 26 章 Exchange Property

attribute()

EIP().property()

属性

@property

Camel 内核

第 27 章 Python(DEPRECATED)

python()

EIP().python()

Python

@Python

camel-script

第 28 章 Ref

ref()

EIP().ref()

Ref

N/A

Camel 内核

第 29 章 Ruby(DEPRECATED)

ruby()

EIP().ruby()

Ruby

@Ruby

camel-script

第 30 章 简单语言/第 16 章 文件语言

simple()

EIP().simple()

simple

@Simple

Camel 内核

第 31 章 SpEL

spel()

EIP().spel()

spel

@SpEL

Camel-spring

第 32 章 XPath 语言

xpath()

EIP().xpath()

XPath

@XPath

Camel 内核

第 33 章 XQuery

XQuery()

EIP().xquery()

XQuery

@XQuery

Camel-saxon