camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé BARRAULT <herve.barra...@gmail.com>
Subject Re: Resequencer EIP
Date Wed, 15 Feb 2012 09:18:26 GMT
Hi,

In your documentation i see for the Stream Resequencing :
"This sets the resequencer's capacity to 5000 and the timeout to 4000 ms
(by default, the capacity is *100* and the timeout is 1000 ms).
Alternatively, you can provide a configuration object."

With the test it seems that there is a capacity of 1000.


When setting jms.prefetchPolicy.queuePrefetch=0, the test stops after 5
minutes (waiting the destruction of the JMSConsumer since is waiting for a
message).

I added in the spring context which decrease the shutdown time to 5 seconds:
<bean id="ShutdownStrategy"
class="org.apache.camel.impl.DefaultShutdownStrategy">
      <property name="timeout" value="5" />
    </bean>

Could JMSComponent stop more gracefully when prefetch is zero ?

Regards
Hervé



On Tue, Feb 14, 2012 at 8:55 PM, Babak Vahdat
<babak.vahdat@swissonline.ch>wrote:

> Set the prefetch size to 0 and in case not already done check this:
>
>
> http://activemq.apache.org/i-do-not-receive-messages-in-my-second-consumer.html
>
> Babak
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Resequencer-EIP-tp5482502p5483660.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message