Re: How to set "use only configured seed rendezvous" attribute using ext.config.Configurator?
Vanessa Williams <[email protected]> Thu, 1 Sep 2005 12:11:45 -0400
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
In the profile, use:
<network>
<rendezVous bootstrap="">
<address>http://x.x.x.x:9700</address>
</rendezVous>
</network>
I don't know if it's possible using the API, because the method
setRendezVousBootstrapAddress(URI) looks like it will not accept an
empty string.
Cheers,
Vanessa
On 1-Sep-05, at 9:07 AM, Joan Esteve wrote:
> Hi,
>
> When i configure my jxta nodes i need to activatethe option "[ ]
> Use only configured seed rendezvous" that appears in the default
> jxta configurator. I need to change this setting from the platform
> config:
>
> <Parm type="jxta:RdvConfig" config="client" xmlns:jxta="http://
> jxta.org">
> <seeds useOnlySeeds="true">
> <addr>
> http://x.x.x.x:9700
> </addr>
> <addr seeding="true">
> http://rdv.jxtahosts.net/cgi-bin/rendezvous.cgi?2
> </addr>
> </seeds>
> </Parm>
>
> I want to change this config with this another one:
>
> <Parm type="jxta:RdvConfig" config="client" xmlns:jxta="http://
> jxta.org">
> <seeds useOnlySeeds="true">
> <addr>
> http://x.x.x.x:9700
> </addr>
> <addr seeding="false">
> </addr>
> </seeds>
> </Parm>
>
> What is the best way to do this using the API packaged in
> net.jxta.ext.config?
>
> Thank you very much
>
> Joan
>