May be it's a bug. If you stop camel via JMX, after restart queue subscriptions aren't restored. Clause, do you know anything about it?
On Fri, Nov 20, 2009 at 6:31 PM, titexe <tit...@yahoo.fr> wrote: > > the problem, when i look of the attributes of this queue, i found > ConsumerCount 0 and the route of camel is started. > > What can you explain this ? > > Thank you in advance, > > titexe > > > dulanov wrote: > > > > Do you just write to db or read/write? May be the problem would be solved > > by > > creating indexes for db. > > > > On Thu, Nov 19, 2009 at 12:15 PM, Claus Ibsen <claus.ib...@gmail.com> > > wrote: > > > >> On Thu, Nov 19, 2009 at 9:58 AM, titexe <tit...@yahoo.fr> wrote: > >> > > >> > Hello; > >> > > >> > I have a route camel that makes the following actions : > >> > > >> > get a message in the queue IN and log into the database, > >> > > >> > this flow was stopped and the queue was filled with 300,000 post > >> messages > >> > persistent. > >> > > >> > When I restart the broker, he spends much time in indexing and > >> processes > >> > messages that are in the queue of a very slow.(3 messages per second) > >> > > >> > there's a best practice for this case or recommendations to do? > >> > > >> > Thank you for your help > >> > > >> > >> Hi > >> > >> I think you gotta check with the JMS broker vendor as its the broker > >> which is causing the slow flow. > >> Camel just uses Spring JMS to listen to the queues and route messages > >> when the onMessge method is invoked. > >> Underneath its the Spring DefaultMessageListenerContainer that is > running > >> > >> > >> > Best regards, > >> > > >> > titexe > >> > -- > >> > View this message in context: > >> > http://old.nabble.com/Camel-%3A-slow-processing-of-messages-tp26421240p26421240.html > >> > Sent from the Camel - Users mailing list archive at Nabble.com. > >> > > >> > > >> > >> > >> > >> -- > >> Claus Ibsen > >> Apache Camel Committer > >> > >> Author of Camel in Action: http://www.manning.com/ibsen/ > >> Open Source Integration: http://fusesource.com > >> Blog: http://davsclaus.blogspot.com/ > >> Twitter: http://twitter.com/davsclaus > >> > > > > > > -- > View this message in context: > http://old.nabble.com/Camel-%3A-slow-processing-of-messages-tp26421240p26443285.html > Sent from the Camel - Users mailing list archive at Nabble.com. > >