Hi See the blockWhenFull option at http://camel.apache.org/seda
The default behavior would be an exception will be thrown if the queue is full. but that option allows you to wait and block instead. On Fri, Jun 22, 2012 at 6:56 PM, Edwin <edwin.rabbi...@gmail.com> wrote: > Hi Folks, > > If I have a route (route1) where I send messages to a seda queue and I have > another route (route2) that consumes messages from this seda queue and the > maximum size of the queue is set at 1000. > > And, lets say that route2 cannot consume messages from the queue as quick as > route1 is placing them on and the 1000 limit is reached > > I am wondering what will happen to message 1001 coming from route1? > > Will route1 wait until route2 removes enough messages from the queue so that > the current size of the queue is < 1000 - allowing message 1001 to proceed > through the flow? > > Any thoughts are much appreciated > > Thanks, > Edwin > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/SEDA-queue-max-size-behaviour-tp5714933.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen