public static interface JpaComponentBuilderFactory.JpaComponentBuilder extends ComponentBuilder<org.apache.camel.component.jpa.JpaComponent>
Modifier and Type | Method and Description |
---|---|
default JpaComponentBuilderFactory.JpaComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
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, register
default JpaComponentBuilderFactory.JpaComponentBuilder entityManagerFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
javax.persistence.EntityManagerFactory
type.
Group: commondefault JpaComponentBuilderFactory.JpaComponentBuilder joinTransaction(boolean joinTransaction)
boolean
type.
Default: true
Group: commondefault JpaComponentBuilderFactory.JpaComponentBuilder sharedEntityManager(boolean sharedEntityManager)
boolean
type.
Default: false
Group: commondefault JpaComponentBuilderFactory.JpaComponentBuilder transactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
org.springframework.transaction.PlatformTransactionManager
type.
Group: commondefault JpaComponentBuilderFactory.JpaComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean
type.
Default: false
Group: consumerdefault JpaComponentBuilderFactory.JpaComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean
type.
Default: false
Group: producerdefault JpaComponentBuilderFactory.JpaComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean
type.
Default: false
Group: advancedApache Camel