The best way is to use a JCA endpoint with a fixed number of synchronous receiver threads, so that all the jms messages are not consumed and put in the jbi bus, which would obviously be overloaded. This will improve in future versions (currently, you have to use JCA to completely control that).
Btw, you should upgrade to ServiceMix 3.1 and configure the thread pools to suite your needs (http://incubator.apache.org/servicemix/thread-pools.html). On 2/16/07, Moksha <[EMAIL PROTECTED]> wrote:
Hi, I am trying to receive 50,000 messages per minute from an activemq topic using the jms receiver component . But the container hangs.I have configured a work manager as well but i am not quite sure how to make this receiver component aware of this work manager so that it can spawn more threads. Could you please tell me how do i do this? Cheers, Moksha gnodet wrote: > > I'm wondering how this can work with sendSync. > Well, the only option is to just not wait for it of course ... > And all errors would be lost, but yeah, this is a possibility, > but it completely breaks the JBI compliance ... > > On 2/15/07, jlo_gestalt <[EMAIL PROTECTED]> wrote: >> >> Guillaume, >> Here are some ideas from the Petals JBI container: >> http://wiki.petals.objectweb.org/xwiki/bin/view/Documentation.UserGuide/Optimisation. >> >> Might be some thoughts to incorporate into SM. I especially like the >> noack >> option. In fact I plan on submitting it to the jbi 2.0 spec group. >> >> >> >> gnodet wrote: >> > >> > No :-( >> > To enable it, you just have to change the autoStart attribute to true >> ... >> > >> > On 2/14/07, Felipe Gaucho <[EMAIL PROTECTED]> wrote: >> >> >> >> great.. Any documentation about how to use (enable) this JdbcAudit >> >> component >> >> ? >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/performance-question---72%E2%80%99000-messages-per-hour-tf3226134s12049.html#a8962617 >> >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> >> >> >> >> > >> > >> > -- >> > Cheers, >> > Guillaume Nodet >> > ------------------------ >> > Architect, LogicBlaze (http://www.logicblaze.com/) >> > Blog: http://gnodet.blogspot.com/ >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/performance-question---72%E2%80%99000-messages-per-hour-tf3226134s12049.html#a8987699 >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> >> > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Architect, LogicBlaze (http://www.logicblaze.com/) > Blog: http://gnodet.blogspot.com/ > > -- View this message in context: http://www.nabble.com/performance-question---72%E2%80%99000-messages-per-hour-tf3226134s12049.html#a9013472 Sent from the ServiceMix - User mailing list archive at Nabble.com.
-- Cheers, Guillaume Nodet ------------------------ Architect, LogicBlaze (http://www.logicblaze.com/) Blog: http://gnodet.blogspot.com/
