activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Thomas Lichti <roland.lic...@telefonica.de>
Subject Re: Exclusive consumer problem using ActiveMQ and JBoss annotations
Date Wed, 01 Apr 2009 07:14:51 GMT
Hi Brad,

bwarren wrote:

[MDB with exclusive consumer gets called 10 times the same time (with
different messages).]
> I suspect this is a JBoss issue, but I was hoping someone might have run
> across this and knows of a fix or workaround or can spot what I'm doing
> wrong.
>   
I think you have to reduce the bean pool size of the message driven bean
to 1. There is a singleton-message-driven-bean configuration in JBoss -
that's what you are looking for. Otherwise the JBoss will connect to
activeMq with the consumer exclusive but will internally use the full
bean pool to work on the messages ...

bye,
    Roland

-- 
Roland Thomas Lichti
IT
Telefónica Deutschland GmbH
Hülshorstweg 30, D-33415 Verl
Tel +49(0)5246-80-1121
Mobil +49(0)160-98949570
Fax +49(0)5246-80-2121
Roland.Lichti@telefonica.de

Telefónica Deutschland GmbH || Georg-Brauchle-Ring 23-25 || 80992 München || www.telefonica.de
Telefon: 05246 80-1080 || Fax: 05246 80-2080  || E-Mail: info@telefonica.de
Ust.-Id.-Nr. DE 167 388 434 || Amtsgericht München HRB 108 006
Geschäftsführer: Johannes Pruchnow, Dr. Dirk Schmelzer, Michael Fränkle
Bankverbindung: Konto 158 09 76 || BLZ 478 400 65 || Commerzbank Gütersloh 


Mime
View raw message