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
<[email protected]>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.
>