I have a question:
"Can I publish an advertisement to an entire peer group with the remotePublish?"
And if not
"How can I publish an advertisemento tu an entire peerGroup?"
Thanks in advance.
Thanks for help.....
remotePublish defines a ttl of 1, therefore expect the scope to be limited to local subnet (if multicast is enabled) and the rendezvous if any.
ok, thanks a lot for this suggestion.....
Now I understand why the other Peer can't find my advertisement, but the problem is that I want propagate the advertisement to an entire peerGroup, and I don't how.
Does Anyone know a solution for my problem?
remotePublish scope is limited to avoid network flooding. if the intention is to propagate information to a limited set of nodes, then the propagated pipe is more appropriate.
I want send an advertisement to all the peer in a peerGroup (that I joined before), but I'm also member of other peerGroup.
I try with remotePublish(null, advertisement) but onother peer that join the same peerGroup, don't receive nothing.
It's right this way?
The intent of remote publish is to make available an advertisement without requiring the presence of originator on the network. It is not intended to flood the network (it won't scale).
If this mechanism is used as a form of presence, you are better off using alternate methods. A propagated pipe would be a good start. you might want to take a look at http://shoal.dev.java.net use of pipes, creation of Identifiers, and node discovery.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.