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

th.ipf.tutorials.ipf-tutorials-xds.5.0-m3.source-code.context.xml Maven / Gradle / Ivy

There is a newer version: 5.0-rc2
Show newest version
<!--
    Copyright 2009 the original author or authors. Licensed under the Apache
    License, Version 2.0 (the "License"); you may not use this file except
    in compliance with the License. You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable
    law or agreed to in writing, software distributed under the License is
    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied. See the License for the specific
    language governing permissions and limitations under the License.
-->

<!-- We can add more CXF related namespaces here if we need to add something to
     the default CXF configuration. -->
<beans xmlns="http://www.springframework.org/schema/beans" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:camel="http://camel.apache.org/schema/spring"
    xmlns:ipf="http://openehealth.org/schema/ipf-commons-core"
    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 
http://openehealth.org/schema/ipf-commons-core
http://openehealth.org/schema/ipf-commons-core.xsd">

    <!-- The following imports are required to configure CXF. cxf-servlet
         is imported to configure CXF to run with servlet support. This 
         allows us to use Tomcat with the CXFServlet instead of using CXF 
         with a standalone Jetty server. -->
    <import resource="classpath:META-INF/cxf/cxf.xml" />
    <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />

    <!-- Camel context and producer -->
    <camel:camelContext id="camelContext">
        <camel:jmxAgent id="agent" disabled="true" />
        <camel:routeBuilder ref="iti4142RouteBuilder"/>        
        <camel:routeBuilder ref="iti43RouteBuilder"/>        
        <camel:routeBuilder ref="iti18RouteBuilder"/>        
    </camel:camelContext>
    
	<ipf:globalContext id="globalContext"/>     
    
    <!-- Our route builders for the ITI transactions -->
    <bean id="iti4142RouteBuilder"
        class="org.openehealth.ipf.tutorials.xds.Iti4142RouteBuilder">
    </bean>

    <bean id="iti43RouteBuilder"
        class="org.openehealth.ipf.tutorials.xds.Iti43RouteBuilder">
    </bean>

    <bean id="iti18RouteBuilder"
        class="org.openehealth.ipf.tutorials.xds.Iti18RouteBuilder">
    </bean>

    <!-- The store that contains all the in-memory documents and their meta data -->    
    <bean id="dataStore" class="org.openehealth.ipf.tutorials.xds.DataStore" />

    <!-- Auditing -->
    <bean id="auditContext" class="org.openehealth.ipf.commons.audit.DefaultAuditContext">
        <property name="auditEnabled" value="true"/>
        <property name="auditSourceId" value="sourceId"/>
        <property name="auditMessageQueue" ref="mockedSender"/>
        <!-- default
        <property name="auditRepositoryHost" value="localhost"/>
        <property name="auditRepositoryPort" value="514"/>
        <property name="auditRepositoryTransport" value="UDP"/>
        -->
    </bean>

    <bean id="mockedSender" class="org.openehealth.ipf.commons.audit.queue.RecordingAuditMessageQueue"/>


</beans>
        
    <!--http-conf:conduit name="*.http-conduit">
        <http-conf:client ProxyServer="localhost" ProxyServerPort="8888" ProxyServerType="HTTP" AllowChunking="false"/>
    </http-conf:conduit-->

        




© 2015 - 2025 Weber Informatics LLC | Privacy Policy