awips2/ncep/gov.noaa.nws.ncep.edex.plugin.ncgrib/res/spring/ncgrib-file-endpoint.xml
Ben Steffensmeier c456e5acb5 Issue #2473 Clean up grib plugin.
Former-commit-id: 0b3565ed1c [formerly c7cfc6aaf6] [formerly 4a17225301] [formerly 0b3565ed1c [formerly c7cfc6aaf6] [formerly 4a17225301] [formerly ae9e1160e8 [formerly 4a17225301 [formerly 6fda3bf42a0735ecb5ae9f7ef1ae0e08dac22a5b]]]]
Former-commit-id: ae9e1160e8
Former-commit-id: 4f7d1ac3cd [formerly 5d12980041] [formerly 5436916453fe5d858877adf4340a0548d19ce74f [formerly 297109c181]]
Former-commit-id: 07c1302941990b451ac3adb9dc4c93611ada94da [formerly f4dd1f3983]
Former-commit-id: 5dd3cd6c64
2013-10-16 10:47:30 -05:00

30 lines
1.2 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
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<bean id="ncgribFilenameProcessor" class="gov.noaa.nws.ncep.edex.plugin.ncgrib.NcgribFileNameProcessor" />
<camelContext id="ncgrib-file-endpoint" xmlns="http://camel.apache.org/schema/spring"
errorHandlerRef="errorHandler"
autoStartup="false">
<endpoint id="gribFileEndpoint" uri="file:${edex.home}/data/sbn/grib?noop=true&amp;idempotent=false" />
<route id="gribFileConsumerRoute">
<from ref="gribFileEndpoint" />
<bean ref="fileToString" />
<bean ref="ncgribFilenameProcessor" />
<setHeader headerName="pluginName">
<constant>grid</constant>
</setHeader>
<to uri="jms-durable:queue:Ingest.GribSplit" />
</route>
</camelContext>
<bean factory-bean="clusteredCamelContextMgr"
factory-method="register">
<constructor-arg ref="ncgrib-file-endpoint" />
</bean>
</beans>