tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: MDB is not processing message concurrently
Date Mon, 11 Feb 2013 18:37:04 GMT
if the server doesn't need 10 instances it will use a single one

i think  you only *see* a MDB instance which is != not concurrent

a simple test: synchronize your MDB bench with 10 client threads then
remove the synchronize ;)

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/2/11 BKumar <bibhuti.kumar@creditpointe.com>

> yes it is hello world only and i stop at break point through my
> editor.Considering this when my maxSessions(ejb-jar.xml) is set to  10 then
> it should stop at 10 thread. but it stop  for one thread and for rest  of
> the message it is throwing exception some AMQ internal  error.  When I make
> this maxSessions = 1 it works fine as it is running one message at  time.
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/MDB-is-not-processing-message-concurrently-tp4660682p4660695.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message