2013-12-03 09:55:59 -06:00
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
2014-06-26 16:49:53 -05:00
|
|
|
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">
|
2013-12-03 09:55:59 -06:00
|
|
|
|
|
|
|
<bean factory-bean="eventBus" factory-method="register">
|
|
|
|
<constructor-arg ref="RegistrySubscriptionManager" />
|
|
|
|
</bean>
|
2014-02-20 12:17:32 -06:00
|
|
|
|
|
|
|
<bean factory-bean="eventBus" factory-method="register">
|
|
|
|
<constructor-arg ref="RegistryFederationManager" />
|
|
|
|
</bean>
|
2013-12-03 09:55:59 -06:00
|
|
|
|
|
|
|
<bean factory-bean="eventBus" factory-method="register">
|
|
|
|
<constructor-arg ref="AuditableEventService" />
|
|
|
|
</bean>
|
2014-04-11 10:58:12 -05:00
|
|
|
|
2014-06-26 16:49:53 -05:00
|
|
|
<bean factory-bean="eventBus" factory-method="register">
|
2014-04-11 10:58:12 -05:00
|
|
|
<constructor-arg ref="RegistryGarbageCollector" />
|
|
|
|
</bean>
|
2014-06-26 16:49:53 -05:00
|
|
|
|
2014-07-10 13:58:05 -05:00
|
|
|
<bean factory-bean="eventBus" factory-method="register">
|
|
|
|
<constructor-arg ref="credentialCache" />
|
|
|
|
</bean>
|
|
|
|
|
2014-06-26 16:49:53 -05:00
|
|
|
<!-- TODO: This is a sample external endpoint for registry events.
|
|
|
|
It is dormant as long as the ${registry.event.external.publish} prop
|
|
|
|
is set to false. Which by default until Hazard Services uses this, will be.
|
|
|
|
When Hazard Services comes on line, the sampleExternalMessageHandler and the
|
|
|
|
route can go away. -->
|
|
|
|
|
|
|
|
<bean id="sampleExternalMessageHandler"
|
|
|
|
class="com.raytheon.uf.edex.registry.ebxml.publish.SampleExternalMessageHandler">
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<camelContext id="externalRegistryEventDelivery-camel"
|
|
|
|
xmlns="http://camel.apache.org/schema/spring" errorHandlerRef="errorHandler">
|
|
|
|
<endpoint id="externalRegistryEventDelivery"
|
|
|
|
uri="jms-generic:topic:registryExternalPublishTopic" />
|
|
|
|
<route id="registryExternalPublishTopic">
|
|
|
|
<from ref="externalRegistryEventDelivery" />
|
|
|
|
<doTry>
|
|
|
|
<pipeline>
|
|
|
|
<bean ref="serializationUtil" method="transformFromThrift"/>
|
|
|
|
<bean ref="sampleExternalMessageHandler" method="notify" />
|
|
|
|
</pipeline>
|
|
|
|
<doCatch>
|
|
|
|
<exception>java.lang.Throwable</exception>
|
|
|
|
<to uri="log:externalRegistryEventDelivery?level=ERROR" />
|
|
|
|
</doCatch>
|
|
|
|
</doTry>
|
|
|
|
</route>
|
|
|
|
</camelContext>
|
2013-12-03 09:55:59 -06:00
|
|
|
</beans>
|