181.6. 消息标头

Camel 向交换中添加以下消息标头:

标头类型描述

CamelJpaTemplate

JpaTemplate

不再支持 Camel 2.12: 用于访问实体 bean 的 JpaTemplate 对象。在某些情况下,您需要这个对象,例如在类型转换器或执行某些自定义处理时的实例。有关此标头的支持的原因,请参阅 CAMEL-5932

CamelEntityManager

EntityManager

Camel 2.12: JPA consumer / Camel 2.12.2: JPA producer: JPA EntityManager 对象由 JpaConsumerJpaProducer 使用。

CamelJpaParameters

map<String, Object>

Camel 2.23:JPA 制作者: 将查询参数作为交换标头的另一种方式。