Bulat Nigmatullin wrote:
> Hi all!
>
> I want to use DistributedLockManager for cluster locking and
> MessageDispatcher for remote method invocation. Is it possible at all?
> I've tried, but LockManager fails.
You cannot run LockManager and MessageDispatcher on the same channel, or
else they would 'eat' each other's messages !
What you could do is to set up a shared transport and then create 2
channels on top of it, one for the MessageDispatcher, the other one for
the LockManager. However, messages from these 2 channels are completely
independent, there is no ordering between them, and this may not be what
you want. Unless, of course, you provide synchronization in your
application code...
Another option could be to write locking code yourself, using the
existing MessageDispatcher, so you only have 1 channel.
--
Bela Ban
Lead JGroups / Clustering Team
JBoss
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
javagroups-users mailing list
javagroups-users@...
https://lists.sourceforge.net/lists/listinfo/javagroups-users