搜索

第 13 章 简介

download PDF

摘要

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

13.1. 语言概述

表达式和 predicate 语言表

表 13.1 “表达式和 predicates 语言” 概述调用表达式和 predicate 语言的不同语法。

表 13.1. 表达式和 predicates 语言
语言静态方法fluent DSL 方法XML 元素注解工件

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

bean()

EIP().method()

方法

@Bean

Camel core

第 14 章 常数

constant()

EIP().constant()

constant

@Constant

Camel core

第 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 core

第 19 章 JavaScript

javaScript()

EIP().javaScript()

javaScript

@JavaScript

camel-script

第 20 章 JoSQL

sql()

EIP().sql()

sql

@SQL

camel-josql

第 21 章 JsonPath

None

EIP().jsonpath()

jsonpath

@JsonPath

camel-jsonpath

第 22 章 jxpath

None

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 (DEPRECATED)

php()

EIP().php()

php

@PHP

camel-script

第 26 章 Exchange Property

property()

EIP().property()

属性

@Property

Camel core

第 27 章 Python (DEPRECATED)

python()

EIP().python()

python

@Python

camel-script

第 28 章 Ref

ref()

EIP().ref()

ref

N/A

Camel core

第 29 章 Ruby (DEPRECATED)

ruby()

EIP().ruby()

ruby

@Ruby

camel-script

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

simple ()

EIP().simple()

simple

@Simple

Camel core

第 31 章 SpEL

spel()

EIP().spel()

spel

@SpEL

camel-spring

第 32 章 XPath 语言

xpath()

EIP().xpath()

XPath

@XPath

Camel core

第 33 章 XQuery

xquery()

EIP().xquery()

XQuery

@XQuery

camel-saxon

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.