I need to publish a service with the same name that i had published before, but the other peers stored the old advertisement of this service, is there a way of remove the old advertisement before publish this new service?
A solution to your answer can be found here:
Also have a look at the flush advertisement methods under discovery service in the JXTA 2.5 api.
Hope this helps,
Than k you for ztoyr reply dc5!
But the problem is clear the advertsiment of all peers. I think thats is not possible, however, i guess that is possible publish a service with the same name just using the same pipeId.]
I encounter the same problem.. How did you solve it ?
Here is brief description of the scenario:
A peer publishes a service with name say S. When this peer leaves the network and again joins, it publishes a service with the same name S. Problem is that the rest peers will still get the old advertisement. How to make sure that the rest peer gets the new service advertisement for the service with name S instead of using the old one?
Thanks in advance.
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.