Hello.

In the case of used JmsSource ,I don't know why it is ignored when
recieveTimeout is smaller than 1000.
If recieveTimeout is 2000, JMSSource is polling a Queue by intervals of two
seconds.
But recieveTimeout is 250, JMSSource is polling a Queue by intervals of a
second.

My Camel version is 2.7.3.

Please tell me.



--- correct ---
    <endpoint id="JMSSource__jmssource"
uri="JMSSourceJMSBeanSource:Q_TEST3?acknowledgementModeName=AUTO_ACKNOWLEDGE&amp;maxConcurrentConsumers=10&amp;concurrentConsumers=1&amp;maxMessagesPerTask=-1&amp;cacheLevel=0&amp;receiveTimeout=5000"/>

  <bean class="org.apache.camel.component.jms.JmsComponent"
id="JMSSourceJMSBeanSource">
    <property name="connectionFactory" ref="SampleFactory"/>
    <property name="transacted" value="false"/>
  </bean>

    <route id="route_JMSSource">
      <from ref="JMSSource__jmssource"/>
      <setExchangePattern pattern="InOnly"/>
      <to uri="Process"/>
    </route>

--- fault ---
    <endpoint id="JMSSource__jmssource"
uri="JMSSourceJMSBeanSource:Q_TEST3?acknowledgementModeName=AUTO_ACKNOWLEDGE&amp;maxConcurrentConsumers=10&amp;concurrentConsumers=1&amp;maxMessagesPerTask=-1&amp;cacheLevel=0&amp;receiveTimeout=250"/>

  <bean class="org.apache.camel.component.jms.JmsComponent"
id="JMSSourceJMSBeanSource">
    <property name="connectionFactory" ref="SampleFactory"/>
    <property name="transacted" value="false"/>
  </bean>

    <route id="route_JMSSource">
      <from ref="JMSSource__jmssource"/>
      <setExchangePattern pattern="InOnly"/>
      <to uri="Process"/>
    </route>

--
View this message in context: 
http://camel.465427.n5.nabble.com/JMS-option-recieveTimeout-tp4855928p4855928.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to