@Configuration public class CamelConfig extends Object
Constructor and Description |
---|
CamelConfig() |
Modifier and Type | Method and Description |
---|---|
ApplicationContextsRegistry |
applicationContextsRegistry()
Configures
ApplicationContextsRegistry . |
org.apache.camel.processor.interceptor.Tracer |
camelTracer()
Configures Tracer for tracing routes.
|
DelegateConfirmationCallback |
confirmationCallback() |
org.apache.camel.spring.boot.CamelContextConfiguration |
contextConfiguration(org.apache.camel.spi.Registry registry) |
org.apache.camel.component.jpa.JpaComponent |
jpaComponent(org.springframework.transaction.PlatformTransactionManager transactionManager,
org.apache.camel.CamelContext camelContext,
javax.persistence.EntityManagerFactory entityManagerFactory)
Configures JPA component.
|
org.apache.camel.component.seda.PriorityBlockingQueueFactory |
priorityQueueFactory() |
org.apache.camel.processor.interceptor.DefaultTraceFormatter |
traceFormatter()
Configures Camel trace log.
|
@Bean public org.apache.camel.spring.boot.CamelContextConfiguration contextConfiguration(org.apache.camel.spi.Registry registry)
@Bean public ApplicationContextsRegistry applicationContextsRegistry()
ApplicationContextsRegistry
.@Bean public org.apache.camel.component.jpa.JpaComponent jpaComponent(org.springframework.transaction.PlatformTransactionManager transactionManager, org.apache.camel.CamelContext camelContext, javax.persistence.EntityManagerFactory entityManagerFactory)
@Bean(name="priorityQueueFactory") public org.apache.camel.component.seda.PriorityBlockingQueueFactory priorityQueueFactory()
@Bean public org.apache.camel.processor.interceptor.DefaultTraceFormatter traceFormatter()
@Bean public org.apache.camel.processor.interceptor.Tracer camelTracer()
@Bean @Profile(value="prod") public DelegateConfirmationCallback confirmationCallback()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.