public static interface JpaComponentBuilderFactory.JpaComponentBuilder extends ComponentBuilder<org.apache.camel.component.jpa.JpaComponent>
| Modifier and Type | Method and Description |
|---|---|
default JpaComponentBuilderFactory.JpaComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
default JpaComponentBuilderFactory.JpaComponentBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default JpaComponentBuilderFactory.JpaComponentBuilder |
entityManagerFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
To use the EntityManagerFactory.
|
default JpaComponentBuilderFactory.JpaComponentBuilder |
joinTransaction(boolean joinTransaction)
The camel-jpa component will join transaction by default.
|
default JpaComponentBuilderFactory.JpaComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default JpaComponentBuilderFactory.JpaComponentBuilder |
sharedEntityManager(boolean sharedEntityManager)
Whether to use Spring's SharedEntityManager for the
consumer/producer.
|
default JpaComponentBuilderFactory.JpaComponentBuilder |
transactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
To use the PlatformTransactionManager for managing transactions.
|
build, build, doSetProperty, registerdefault JpaComponentBuilderFactory.JpaComponentBuilder entityManagerFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
entityManagerFactory - the value to setdefault JpaComponentBuilderFactory.JpaComponentBuilder joinTransaction(boolean joinTransaction)
joinTransaction - the value to setdefault JpaComponentBuilderFactory.JpaComponentBuilder sharedEntityManager(boolean sharedEntityManager)
sharedEntityManager - the value to setdefault JpaComponentBuilderFactory.JpaComponentBuilder transactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
transactionManager - the value to setdefault JpaComponentBuilderFactory.JpaComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault JpaComponentBuilderFactory.JpaComponentBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault JpaComponentBuilderFactory.JpaComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setApache Camel