Class JpaEndpointBuilderFactory.JpaHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.JpaEndpointBuilderFactory.JpaHeaderNameBuilder
-
- Enclosing interface:
- JpaEndpointBuilderFactory
public static class JpaEndpointBuilderFactory.JpaHeaderNameBuilder extends Object
The builder of headers' name for the JPA component.
-
-
Constructor Summary
Constructors Constructor Description JpaHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
entityManager()
The JPA EntityManager object.String
jpaFirstResult()
Defines the position of the first result to retrieve; takes precedence over the value set on the endpoint, if any.String
jpaMaximumResults()
Defines the maximum number of results to retrieve on the query; takes precedence over the value set on the endpoint, if any.String
jpaParameters()
Alternative way for passing query parameters as an Exchange header.
-
-
-
Method Detail
-
entityManager
public String entityManager()
The JPA EntityManager object. The option is a:javax.persistence.EntityManager
type. Group: common- Returns:
- the name of the header
EntityManager
.
-
jpaParameters
public String jpaParameters()
Alternative way for passing query parameters as an Exchange header. The option is a:Map<String, Object>
type. Group: producer- Returns:
- the name of the header
JpaParameters
.
-
jpaMaximumResults
public String jpaMaximumResults()
Defines the maximum number of results to retrieve on the query; takes precedence over the value set on the endpoint, if any. The option is a: type. Group: producer- Returns:
- the name of the header
JpaMaximumResults
.
-
jpaFirstResult
public String jpaFirstResult()
Defines the position of the first result to retrieve; takes precedence over the value set on the endpoint, if any. The option is a: type. Group: producer- Returns:
- the name of the header
JpaFirstResult
.
-
-