Announcement Announcement Module
Collapse
No announcement yet.
How to enable JMS recovery when broker is up Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to enable JMS recovery when broker is up

    I am using following DefaultMessageListenerContainer configuration.

    <bean id="dataRetrievalReqContainer" class="org.springframework.jms.listener.DefaultMes sageListenerContainer">
    <property name="connectionFactory" ref="connectionFactory"/>
    <property name="messageListener" ref="dataRetrievalReqListener"/>^M
    <property name="destination" ref="dataRetrievalQueueDest" />
    <property name="recoveryInterval" value="5000" />
    <property name="concurrentConsumers" value="1"/>
    <property name="maxConcurrentConsumers" value="2"/>
    <property name="autoStartup" value="true" />
    <property name="cacheLevelName" value="CACHE_CONNECTION"/>
    </bean>


    I want enable above configuration to recover automatcally whenever broker is down and up. Here broker is running on webmethods and JMS listener is running on spring 2.5.

    1)first question is what parameters useful for above automatic recovery? we have very limited spring and webmethods integration document.

    2)second question is for multithreading "concurrentconsumers and MaxConcurrentConsumers are enough? any other parametrs are required?

    Please help me to get solutions...
Working...
X