Weblogic also has this feature. You can choose the no of instances in the pool. However if you use any other mechanism also(eg synchronised block) that will also result in low through put.
Cheers Ashwani Kalra ----- Original Message ----- From: "Sachin Pandey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 03, 2002 10:21 AM Subject: Message Driven Bean > Hi, > > Is there a way to configure Message Driven Bean so that it doesn't process > concurrently. The problem is the onMessage function we are accessing a > resource that can be accessed by only one thread at at time (indexing data). > 2 MDB's try and index data at the same time which causes problem. > > The only way i can think of is having just one instance of the MDB in the > container. JBoss allows this but i am not sure of the other containers. This > will result in low through put with the messages and hamper performance. > > Is there a better way to do this?? > > Cheers > Sachin > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff EJB-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". > =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
