<?xml version="1.0" encoding="UTF-8"?> <!-- Verb to collect UK-registered entities. --> <beans xmlns="http://www.springframework.org/schema/beans" default-lazy-init="true" xmlns:c="http://www.springframework.org/schema/c" xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util" 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://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"> <!-- Import commonly used beans. --> <import resource="classpath:common-beans.xml"/> <!-- Import channel-specific beans. --> <import resource="classpath:uk/beans.xml"/> <bean id="serializeCollected" parent="mda.SerializationStage"> <property name="serializer" ref="serializer"/> <property name="outputFile"> <bean parent="File"> <constructor-arg value="${mdx.dir}/uk/collected.xml"/> </bean> </property> </bean> <bean id="collect" parent="mda.SimplePipeline"> <property name="stages"> <list> <ref bean="uk_registeredEntities"/> <ref bean="uk_assemble"/> <ref bean="normaliseNamespaces"/> <ref bean="errorTerminatingFilter"/> <ref bean="serializeCollected"/> </list> </property> </bean> </beans>