awips2/edexOsgi/com.raytheon.edex.plugin.obs/res/spring/obs-ingest.xml
Brian Clements 316bfe3b6f Omaha #2733 changes to match ufcore distribution pattern changes
this change depends on changes from #3151
required plugins will prevent edex from starting if there are no valid dist patterns
removed distribution registration from geomag since it did not contain any valid patterns


Former-commit-id: e917569da8e837a1c340b0e992a0c59f0a3507f3
2014-05-12 09:14:28 -05:00

33 lines
No EOL
1.4 KiB
XML

<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-3.1.xsd">
<bean id="obsDecoder" class="com.raytheon.edex.plugin.obs.ObsDecoder" />
<bean id="metarPointData" class="com.raytheon.edex.plugin.obs.metar.MetarPointDataTransform" />
<bean id="obsSeparator" class="com.raytheon.edex.plugin.obs.metar.MetarSeparator" />
<bean id="obsDistRegistry" factory-bean="distributionSrv" factory-method="register">
<constructor-arg value="obs" />
<constructor-arg value="jms-durable:queue:Ingest.obs" />
<constructor-arg value="true" /> <!-- require valid distribution file for startup -->
</bean>
<bean id="mtrListener" class="com.raytheon.edex.plugin.obs.ingest.MTRSubscriber" />
<bean factory-bean="ndmProc" factory-method="registerListener">
<constructor-arg value="MTR.spi" />
<constructor-arg ref="mtrListener" />
</bean>
<bean factory-bean="ndmProc" factory-method="registerListener">
<constructor-arg value="MTR.goodness" />
<constructor-arg ref="mtrListener" />
</bean>
<bean factory-bean="ndmProc" factory-method="registerListener">
<constructor-arg value="MTR.primary" />
<constructor-arg ref="mtrListener" />
</bean>
</beans>