Issue #1845: Fix gfeNotify with java qpid broker
Change-Id: I792b4598a296dcd7a8bafbd89c184dc709fdc193 Former-commit-id: 9f3806e9579cef66d0a40a290d9d36a089f2b3d6
This commit is contained in:
parent
7303425900
commit
a6ffc663a9
1 changed files with 4 additions and 3 deletions
|
@ -119,7 +119,7 @@
|
||||||
|
|
||||||
<!-- Convert the topic into a queue so only one consumer gets each message and we still have competing consumers. -->
|
<!-- Convert the topic into a queue so only one consumer gets each message and we still have competing consumers. -->
|
||||||
<route id="gfeDataURINotificationQueueRoute">
|
<route id="gfeDataURINotificationQueueRoute">
|
||||||
<from uri="jms-gfe-notify:topic:edex.alerts?clientId=gfeNotify&durableSubscriptionName=gfeNotificationSubscription" />
|
<from uri="jms-gfe-notify:topic:edex.alerts?durableSubscriptionName=gfeNotificationSubscription" />
|
||||||
<doTry>
|
<doTry>
|
||||||
<to uri="jms-generic:queue:gfeDataURINotification"/>
|
<to uri="jms-generic:queue:gfeDataURINotification"/>
|
||||||
<doCatch>
|
<doCatch>
|
||||||
|
@ -144,12 +144,13 @@
|
||||||
<property name="connectionHoldTime" value="90000"/>
|
<property name="connectionHoldTime" value="90000"/>
|
||||||
<!-- Any resource that has been available in the pool for more than 1 minute will be closed -->
|
<!-- Any resource that has been available in the pool for more than 1 minute will be closed -->
|
||||||
<property name="resourceRetention" value="60000"/>
|
<property name="resourceRetention" value="60000"/>
|
||||||
<property name="maxSpareConnections" value="10"/>
|
<property name="maxSpareConnections" value="1"/>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<bean id="gfeNotifyJmsConfig" class="org.apache.camel.component.jms.JmsConfiguration"
|
<bean id="gfeNotifyJmsConfig" class="org.apache.camel.component.jms.JmsConfiguration"
|
||||||
factory-bean="jmsConfig" factory-method="copy">
|
factory-bean="jmsConfig" factory-method="copy">
|
||||||
<property name="listenerConnectionFactory" ref="gfeNotifyPooledConnectionFactory" />
|
<property name="listenerConnectionFactory" ref="gfeNotifyPooledConnectionFactory" />
|
||||||
|
<property name="templateConnectionFactory" ref="gfeNotifyPooledConnectionFactory" />
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<bean id="gfeNotifyThreadPool"
|
<bean id="gfeNotifyThreadPool"
|
||||||
|
|
Loading…
Add table
Reference in a new issue