Change-Id: I02d31a348c34aee48271dad291ae0f074e8e5158 Former-commit-id:1fcbeb41c9
[formerly08b9ce4c62
] [formerly6f1684b85c
[formerly 61921c6a5d4ae8d7e6b2546a11fb7407f780830f]] Former-commit-id:6f1684b85c
Former-commit-id:22c23492c4
38 lines
No EOL
1.7 KiB
XML
38 lines
No EOL
1.7 KiB
XML
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:amq="http://activemq.apache.org/schema/core" 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-2.0.xsd
|
|
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
|
|
<bean id="metarToHMDB" class="com.raytheon.uf.edex.metartohmdb.MetarToHMDBSrv" />
|
|
|
|
<!-- HMDB Database Configuration-->
|
|
<bean id="hmdbSessionFactory"
|
|
class="com.raytheon.uf.edex.database.DatabaseSessionFactoryBean">
|
|
<!-- No hibernate annotations should be loaded -->
|
|
<property name="configLocation">
|
|
<value>file:///${edex.home}/conf/db/hibernateConfig/hmdb/hibernate.cfg.xml</value>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="hmdbTxManager"
|
|
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
|
|
<property name="sessionFactory" ref="hmdbSessionFactory" />
|
|
</bean>
|
|
|
|
<bean id="metarToHMDBCamelRegistered" factory-bean="contextManager"
|
|
factory-method="register">
|
|
<constructor-arg ref="metarToHMDB-camel"/>
|
|
</bean>
|
|
|
|
<camelContext id="metarToHMDB-camel"
|
|
xmlns="http://camel.apache.org/schema/spring"
|
|
errorHandlerRef="errorHandler" autoStartup="false">
|
|
<endpoint id="metarToHMDBEndpoint" />
|
|
|
|
<route id="metarToHMDBRoute">
|
|
<from uri="directvm:metarToHMDB"/>
|
|
<bean ref="metarToHMDB" method="process"/>
|
|
</route>
|
|
</camelContext>
|
|
</beans> |