All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.spring.beans.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
    
	<!-- Make config properties available to both spring and camel -->	
	<bean id="bridgePropertyPlaceholder" class="org.apache.camel.spring.spi.BridgePropertyPlaceholderConfigurer">
	   <property name="properties" ref="ciaoProperties" />
	</bean>
	
	<!-- Select 'dynamic' spring imports - determined via CIAO properties -->
	<import resource="classpath*:META-INF/spring/processors/${processorConfig}.xml"/>
	<import resource="classpath*:META-INF/spring/repositories/${repositoryConfig}.xml"/>
	<import resource="classpath*:META-INF/spring/messaging/${messagingConfig}.xml"/>
    
    <bean id="documentParserRoutes" class="uk.nhs.ciao.docs.parser.DocumentParserRoutes" />
    
	<camelContext xmlns="http://camel.apache.org/schema/spring" id="camel" trace="${camel.log.trace}" streamCache="true" useMDCLogging="${camel.log.mdc}">
		<properties>
			<property key="CamelLogDebugStreams" value="${camel.log.debugStreams}" />
		</properties>
		
		<routeBuilder ref="documentParserRoutes" /> 
	</camelContext>
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy