awips2/ncep/gov.noaa.nws.ncep.edex.plugin.ntrans/res/spring/ntrans-ingest.xml

62 lines
2 KiB
XML
Raw Normal View History

<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
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<bean id="ntransDao" class="gov.noaa.nws.ncep.common.dataplugin.ntrans.dao.NtransDao">
<constructor-arg ref="ntransPluginName"/>
</bean>
<bean id="ntransDecoder" class="gov.noaa.nws.ncep.edex.plugin.ntrans.decoder.NtransDecoder"/>
<bean id="ntransDistRegistry" factory-bean="distributionSrv"
factory-method="register">
<constructor-arg value="ntrans" />
Merge branch 'master_14.1.1' (-21) into 'master_14.2.1' (-8) merge performed by Richard Peter Conflicts: cave/build/static/common/cave/etc/gfe/userPython/procedures/MergeHazards.py cave/build/static/common/cave/etc/gfe/userPython/utilities/SmartScript.py edexOsgi/build.edex/esb/conf/log4j-ingest.xml edexOsgi/build.edex/esb/conf/log4j-registry.xml edexOsgi/build.edex/esb/conf/log4j.xml edexOsgi/com.raytheon.edex.plugin.airep/res/spring/airep-ingest.xml edexOsgi/com.raytheon.edex.plugin.gfe/res/spring/gfe-common.xml edexOsgi/com.raytheon.edex.plugin.gfe/res/spring/gfe-request.xml edexOsgi/com.raytheon.edex.plugin.gfe/res/spring/gfe-spring.xml edexOsgi/com.raytheon.edex.plugin.grib/res/spring.deprecated/grib-decode.xml edexOsgi/com.raytheon.edex.plugin.grib/res/spring.future/grib-decode.xml edexOsgi/com.raytheon.edex.plugin.grib/res/spring/grib-distribution.xml edexOsgi/com.raytheon.edex.plugin.modelsounding/res/spring/modelsounding-ingest.xml edexOsgi/com.raytheon.edex.plugin.pirep/res/spring/pirep-ingest.xml edexOsgi/com.raytheon.edex.plugin.shef/src/com/raytheon/edex/plugin/shef/alarms/AlertalarmStdTextProductUtil.java edexOsgi/com.raytheon.edex.plugin.shef/src/com/raytheon/edex/plugin/shef/alarms/Constants.java edexOsgi/com.raytheon.edex.plugin.taf/src/com/raytheon/edex/plugin/taf/common/ChangeGroup.java edexOsgi/com.raytheon.edex.plugin.taf/src/com/raytheon/edex/plugin/taf/common/TafRecord.java edexOsgi/com.raytheon.edex.plugin.warning/res/spring/warning-ingest.xml edexOsgi/com.raytheon.uf.common.jms/src/com/raytheon/uf/common/jms/JmsPooledConnectionFactory.java edexOsgi/com.raytheon.uf.common.jms/src/com/raytheon/uf/common/jms/JmsPooledSession.java edexOsgi/com.raytheon.uf.edex.cpgsrv/res/spring/cpgsrv-spring.xml edexOsgi/com.raytheon.uf.edex.grid.staticdata/res/spring/grid-staticdata-process.xml edexOsgi/com.raytheon.uf.edex.ohd/res/spring/ohd-common.xml edexOsgi/com.raytheon.uf.edex.ohd/res/spring/satpre-spring.xml ncep/gov.noaa.nws.ncep.common.dataplugin.nctaf/src/gov/noaa/nws/ncep/common/dataplugin/nctaf/NcTafRecord.java ncep/gov.noaa.nws.ncep.common.dataplugin.ncuair/src/gov/noaa/nws/ncep/common/dataplugin/ncuair/NcUairRecord.java ncep/gov.noaa.nws.ncep.edex.plugin.ncairep/res/spring/ncairep-ingest.xml ncep/gov.noaa.nws.ncep.edex.plugin.ncccfp/res/spring/ncccfp-ingest.xml ncep/gov.noaa.nws.ncep.edex.plugin.ncgrib/res/spring/ncgrib-distribution.xml ncep/gov.noaa.nws.ncep.edex.plugin.ncgrib/res/spring/ncgrib-ingest.xml ncep/gov.noaa.nws.ncep.edex.plugin.ncpirep/res/spring/ncpirep-ingest.xml ncep/gov.noaa.nws.ncep.edex.plugin.ncscat/res/spring/ncscat-ingest.xml ncep/gov.noaa.nws.ncep.edex.plugin.ntrans/res/spring/ntrans-ingest.xml rpms/awips2.core/Installer.ant/scripts/profile.d/awips2Ant.csh Former-commit-id: 52226061e900d0f5daee754c4444ef1fd8b012f8 [formerly 3ba28aabea0487e00144cd5f366887b8d1cf80cf] [formerly 069093884fb22a4c422f33fadb29a9a8dab427c3] [formerly 52226061e900d0f5daee754c4444ef1fd8b012f8 [formerly 3ba28aabea0487e00144cd5f366887b8d1cf80cf] [formerly 069093884fb22a4c422f33fadb29a9a8dab427c3] [formerly ffcc34f8d4f83d5401a63da836216f217c1a4d75 [formerly 069093884fb22a4c422f33fadb29a9a8dab427c3 [formerly 889200c9eb3fbb835f8fef067476799f30a7a7e0]]]] Former-commit-id: ffcc34f8d4f83d5401a63da836216f217c1a4d75 Former-commit-id: d2a6b0c18b9fc40f34e5294ccae2fddfa386ad1d [formerly 587f15a95d0ef6a0a103a7f5a4ff25cc16ecfc4a] [formerly 075449ff82fabd2fc67648dd472bd7d35adee380 [formerly 96658d8ce04465918f29ec62aac8038e6282a0d4]] Former-commit-id: 988fe07191d81cd8942573f69248d26d68d20315 [formerly 36a0533f193a4dbebcfbc16b216c9ead04a82ee9] Former-commit-id: 2db5dcf6eb5e77809949d111012a938d24872f98
2014-03-06 08:33:22 -06:00
<constructor-arg value="jms-durable:queue:Ingest.Ntrans" />
</bean>
<camelContext id="ntrans-camel"
xmlns="http://camel.apache.org/schema/spring"
errorHandlerRef="errorHandler">
<endpoint id="ntransFileEndpoint" uri="file:${edex.home}/data/sbn/ntrans??noop=true&amp;idempotent=false" />
<!-- Begin Ntrans routes -->
<route id="ntransFileConsumerRoute">
<from ref="ntransFileEndpoint" />
<bean ref="fileToString" />
<setHeader headerName="pluginName">
<constant>ntrans</constant>
</setHeader>
<to uri="jms-durable:queue:Ingest.Ntrans" />
</route>
<route id="ntransIngestRoute">
<from uri="jms-durable:queue:Ingest.Ntrans" />
<!-- <setHeader headerName="pluginName">
<constant>ntrans</constant>
</setHeader>-->
<doTry>
<pipeline>
<bean ref="stringToFile" />
<doTry>
<pipeline>
<bean ref="ntransDecoder" method="decode" />
<to uri="direct-vm:persistIndexAlert" />
</pipeline>
<doCatch>
<exception>java.lang.Throwable</exception>
<to uri="log:ntrans?level=ERROR" />
</doCatch>
</doTry>
</pipeline>
<doCatch>
<exception>java.lang.Throwable</exception>
<to uri="log:ntrans?level=ERROR" />
</doCatch>
</doTry>
<!-- bean ref="processUtil" method="delete" /-->
</route>
</camelContext>
</beans>