Re: [jgroups-dev] Queuing support in Jgroups
Bela Ban <[email protected]>
| Newsgroups | gmane.comp.java.javagroups.devel |
|---|---|
| Message-ID | <[email protected]> |
You can get the view: channel.getView(). If view.size() == 1, then you're the only member in the cluster ashishdna wrote: > I mean, whether any other member is available in group or not for message > consumption. > > Thanks, > Ashish > > Bela Ban wrote: > >> >> ashishdna wrote: >> >>> Thanks Bela for your answer. It helped me. >>> >>> I have one more question regarding this: >>> Is there any facility in JGroups in which i can test the channel >>> availibility before sending the message on the channel. >>> >> What do you mean by 'available' ? When do create a channel, after >> connect() returns, the channel is ready to send and receive messages... >> >> >> > > -- Bela Ban Lead JGroups / Clustering Team JBoss ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Javagroups-development mailing list