Former-commit-id:0b3565ed1c
[formerlyc7cfc6aaf6
] [formerly4a17225301
] [formerly0b3565ed1c
[formerlyc7cfc6aaf6
] [formerly4a17225301
] [formerlyae9e1160e8
[formerly4a17225301
[formerly 6fda3bf42a0735ecb5ae9f7ef1ae0e08dac22a5b]]]] Former-commit-id:ae9e1160e8
Former-commit-id:4f7d1ac3cd
[formerly5d12980041
] [formerly 5436916453fe5d858877adf4340a0548d19ce74f [formerly297109c181
]] Former-commit-id: 07c1302941990b451ac3adb9dc4c93611ada94da [formerlyf4dd1f3983
] Former-commit-id:5dd3cd6c64
30 lines
1.2 KiB
XML
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&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>
|