Class JpaEndpointBuilderFactory.JpaHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.JpaEndpointBuilderFactory.JpaHeaderNameBuilder
- Enclosing interface:
- JpaEndpointBuilderFactory
The builder of headers' name for the JPA component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe JPA EntityManager object.Defines the position of the first result to retrieve; takes precedence over the value set on the endpoint, if any.Defines the maximum number of results to retrieve on the query; takes precedence over the value set on the endpoint, if any.Alternative way for passing query parameters as an Exchange header.
-
Constructor Details
-
JpaHeaderNameBuilder
public JpaHeaderNameBuilder()
-
-
Method Details
-
entityManager
The JPA EntityManager object. The option is a:jakarta.persistence.EntityManager
type. Group: common- Returns:
- the name of the header
EntityManager
.
-
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
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
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
.
-