Interface JpaEndpointBuilderFactory.AdvancedJpaEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,JpaEndpointBuilderFactory.AdvancedJpaEndpointConsumerBuilder
,JpaEndpointBuilderFactory.AdvancedJpaEndpointProducerBuilder
- Enclosing interface:
- JpaEndpointBuilderFactory
public static interface JpaEndpointBuilderFactory.AdvancedJpaEndpointBuilder
extends JpaEndpointBuilderFactory.AdvancedJpaEndpointConsumerBuilder, JpaEndpointBuilderFactory.AdvancedJpaEndpointProducerBuilder
Advanced builder for endpoint for the JPA component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()
entityManagerProperties
(String key, Object value) Additional properties for the entity manager to use.entityManagerProperties
(Map values) Additional properties for the entity manager to use.sharedEntityManager
(boolean sharedEntityManager) Whether to use Spring's SharedEntityManager for the consumer/producer.sharedEntityManager
(String sharedEntityManager) Whether to use Spring's SharedEntityManager for the consumer/producer.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.JpaEndpointBuilderFactory.AdvancedJpaEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, exceptionHandler, exceptionHandler, exchangePattern, exchangePattern, parameters, parameters, pollStrategy, pollStrategy
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.JpaEndpointBuilderFactory.AdvancedJpaEndpointProducerBuilder
lazyStartProducer, lazyStartProducer, usePassedInEntityManager, usePassedInEntityManager
-
Method Details
-
basic
- Specified by:
basic
in interfaceJpaEndpointBuilderFactory.AdvancedJpaEndpointConsumerBuilder
- Specified by:
basic
in interfaceJpaEndpointBuilderFactory.AdvancedJpaEndpointProducerBuilder
-
entityManagerProperties
default JpaEndpointBuilderFactory.AdvancedJpaEndpointBuilder entityManagerProperties(String key, Object value) Additional properties for the entity manager to use. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. The option is multivalued, and you can use the entityManagerProperties(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced- Specified by:
entityManagerProperties
in interfaceJpaEndpointBuilderFactory.AdvancedJpaEndpointConsumerBuilder
- Specified by:
entityManagerProperties
in interfaceJpaEndpointBuilderFactory.AdvancedJpaEndpointProducerBuilder
- Parameters:
key
- the option keyvalue
- the option value- Returns:
- the dsl builder
-
entityManagerProperties
Additional properties for the entity manager to use. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. The option is multivalued, and you can use the entityManagerProperties(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced- Specified by:
entityManagerProperties
in interfaceJpaEndpointBuilderFactory.AdvancedJpaEndpointConsumerBuilder
- Specified by:
entityManagerProperties
in interfaceJpaEndpointBuilderFactory.AdvancedJpaEndpointProducerBuilder
- Parameters:
values
- the values- Returns:
- the dsl builder
-