public static interface JpaEndpointBuilderFactory.JpaEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
| Modifier and Type | Method and Description |
|---|---|
default JpaEndpointBuilderFactory.AdvancedJpaEndpointProducerBuilder |
advanced() |
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
findEntity(boolean findEntity)
If enabled then the producer will find a single entity by using the
message body as key and entityType as the class type.
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
findEntity(String findEntity)
If enabled then the producer will find a single entity by using the
message body as key and entityType as the class type.
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
flushOnSend(boolean flushOnSend)
Flushes the EntityManager after the entity bean has been persisted.
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
flushOnSend(String flushOnSend)
Flushes the EntityManager after the entity bean has been persisted.
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
joinTransaction(boolean joinTransaction)
The camel-jpa component will join transaction by default.
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
joinTransaction(String joinTransaction)
The camel-jpa component will join transaction by default.
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
maximumResults(int maximumResults)
Set the maximum number of results to retrieve on the Query.
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
maximumResults(String maximumResults)
Set the maximum number of results to retrieve on the Query.
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
namedQuery(String namedQuery)
To use a named query.
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
nativeQuery(String nativeQuery)
To use a custom native query.
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
persistenceUnit(String persistenceUnit)
The JPA persistence unit used by default.
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
query(String query)
To use a custom query.
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
remove(boolean remove)
Indicates to use entityManager.remove(entity).
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
remove(String remove)
Indicates to use entityManager.remove(entity).
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
resultClass(Class<Object> resultClass)
Defines the type of the returned payload (we will call
entityManager.createNativeQuery(nativeQuery, resultClass) instead of
entityManager.createNativeQuery(nativeQuery)).
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
resultClass(String resultClass)
Defines the type of the returned payload (we will call
entityManager.createNativeQuery(nativeQuery, resultClass) instead of
entityManager.createNativeQuery(nativeQuery)).
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
useExecuteUpdate(Boolean useExecuteUpdate)
To configure whether to use executeUpdate() when producer executes a
query.
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
useExecuteUpdate(String useExecuteUpdate)
To configure whether to use executeUpdate() when producer executes a
query.
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
usePersist(boolean usePersist)
Indicates to use entityManager.persist(entity) instead of
entityManager.merge(entity).
|
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder |
usePersist(String usePersist)
Indicates to use entityManager.persist(entity) instead of
entityManager.merge(entity).
|
default JpaEndpointBuilderFactory.AdvancedJpaEndpointProducerBuilder advanced()
default JpaEndpointBuilderFactory.JpaEndpointProducerBuilder joinTransaction(boolean joinTransaction)
boolean type.
Default: true
Group: commondefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder joinTransaction(String joinTransaction)
boolean type.
Default: true
Group: commondefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder maximumResults(int maximumResults)
int type.
Default: -1
Group: commondefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder maximumResults(String maximumResults)
int type.
Default: -1
Group: commondefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder namedQuery(String namedQuery)
java.lang.String type.
Group: commondefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder nativeQuery(String nativeQuery)
java.lang.String type.
Group: commondefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder persistenceUnit(String persistenceUnit)
java.lang.String type.
Required: true
Default: camel
Group: commondefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder query(String query)
java.lang.String type.
Group: commondefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder resultClass(Class<Object> resultClass)
java.lang.Class<java.lang.Object>
type.
Group: commondefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder resultClass(String resultClass)
java.lang.Class<java.lang.Object> type.
Group: commondefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder findEntity(boolean findEntity)
boolean type.
Default: false
Group: producerdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder findEntity(String findEntity)
boolean type.
Default: false
Group: producerdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder flushOnSend(boolean flushOnSend)
boolean type.
Default: true
Group: producerdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder flushOnSend(String flushOnSend)
boolean type.
Default: true
Group: producerdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
boolean type.
Default: false
Group: producerdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder remove(boolean remove)
boolean type.
Default: false
Group: producerdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder remove(String remove)
boolean type.
Default: false
Group: producerdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder useExecuteUpdate(Boolean useExecuteUpdate)
java.lang.Boolean type.
Group: producerdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder useExecuteUpdate(String useExecuteUpdate)
java.lang.Boolean
type.
Group: producerdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder usePersist(boolean usePersist)
boolean type.
Default: false
Group: producerdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder usePersist(String usePersist)
boolean type.
Default: false
Group: producerApache Camel