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)
joinTransaction - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder joinTransaction(String joinTransaction)
joinTransaction - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder maximumResults(int maximumResults)
maximumResults - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder maximumResults(String maximumResults)
maximumResults - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder namedQuery(String namedQuery)
namedQuery - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder nativeQuery(String nativeQuery)
nativeQuery - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder persistenceUnit(String persistenceUnit)
persistenceUnit - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder query(String query)
query - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder resultClass(Class<Object> resultClass)
resultClass - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder resultClass(String resultClass)
resultClass - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder findEntity(boolean findEntity)
findEntity - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder findEntity(String findEntity)
findEntity - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder flushOnSend(boolean flushOnSend)
flushOnSend - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder flushOnSend(String flushOnSend)
flushOnSend - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
lazyStartProducer - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder remove(boolean remove)
remove - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder remove(String remove)
remove - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder useExecuteUpdate(Boolean useExecuteUpdate)
useExecuteUpdate - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder useExecuteUpdate(String useExecuteUpdate)
useExecuteUpdate - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder usePersist(boolean usePersist)
usePersist - the value to setdefault JpaEndpointBuilderFactory.JpaEndpointProducerBuilder usePersist(String usePersist)
usePersist - the value to setApache Camel