users@glassfish.java.net

Re: mdb & cluster

From: Alexander Schell <DealeyLama_at_gmx.de>
Date: Wed, 04 Apr 2012 14:12:08 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Nigel

Thanks again...

Nah...haven't tried it yet...
I wanted to make sure that it would work the way I expected before
setting up all the servers...strangely I found not much helpful
information with google...

Best regards

Alexander Schell


On 03.04.2012 17:50, Nigel Deakin wrote:
>> In my MDB - It is listening on a queue - I'm using a stateless
>> session bean to process the incoming messages...The MDB obtains
>> the session bean by dependency injection and calls a processing
>> methond on it... I would like to know how I can make sure that
>> the actual processing is spread over all the cluster members...
>
> The delivery of messages to MDB instances will be "spread over all
> the cluster members", though the exact distribution is not
> guaranteed to follow any particular pattern and depends on various
> parameters. If each MDB is calling a local session bean to
> "process" the message then the actual processing will likewise be
> spread over the entire cluster.
>
> Have you tried it? Did you not get what you expected?
>
> Nigel
>
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk98OpgACgkQfkcoZSkNJQYfJwCgyTXLRUZTH1MD8mwnamqbqeNj
YmMAoJJpk/xQiGnpnL6jpa5nfOS0Lubt
=6Ptq
-----END PGP SIGNATURE-----