You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Nelson, Randy J" <ra...@bankofamerica.com> on 2004/03/16 18:20:54 UTC

[Hivemind] Services based on commandline options

I am trying to choose a service-point based on some -Dmy_namelookup=xxx
passed on the command line along with a substitution symbol like
name-lookup-service-id="${my_namelookup}".  

I assume that I might need to use the SystemPropertiesSymbolSource mentioned
in the docs?  However, I've been unable to create the proper xml
configurations for this.

If this is the correct approach, can anyone give me the proper xml config I
need for the SystemPropertiesSymbolSource?  If there is a better approach,
those suggestions would be helpful as well.

Thanks
Randy


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [Hivemind] Services based on commandline options

Posted by Geoff Longman <gl...@intelligentworks.com>.
<!--
Pull properties from the System Properties
Commonly used to override symbols on the command line
-->
<contribution configuration-id="hivemind.SymbolSource">
<source order="1000"
class="org.apache.hivemind.impl.SystemPropertiesSymbolSource"/>
</contribution>

Geoff

----- Original Message -----
From: "Nelson, Randy J" <ra...@bankofamerica.com>
To: <co...@jakarta.apache.org>
Sent: Tuesday, March 16, 2004 12:20 PM
Subject: [Hivemind] Services based on commandline options


>
> I am trying to choose a service-point based on some -Dmy_namelookup=xxx
> passed on the command line along with a substitution symbol like
> name-lookup-service-id="${my_namelookup}".
>
> I assume that I might need to use the SystemPropertiesSymbolSource
mentioned
> in the docs?  However, I've been unable to create the proper xml
> configurations for this.
>
> If this is the correct approach, can anyone give me the proper xml config
I
> need for the SystemPropertiesSymbolSource?  If there is a better approach,
> those suggestions would be helpful as well.
>
> Thanks
> Randy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org