-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

The hiveutils project [1] has an option to provide properties files as a
source of values for the substitution (which is what you are looking for
I think).

The property file would be registered as a symbol source within
Hivemind, and hivemind would use the values from it when creating your
service.

Hope that helps,

Cheers,

Johan

[1]
http://hivetranse.sourceforge.net/web/quickstart.html#start.external.symbols

imorales wrote:
> Hi all. I´m using Hivemind1. Is it possible configure hivemodule.xml with a
> property file?
> 
> I would like to have a hivemodule.properties like this:
> 
> --------------------------------
> urlService=http://myservice.com
> urlService2=http://myservice2.com
> --------------------------------
> 
> And in the hivemodule xml do this: 
> ------------------------------------
> <service-point id="....." interface=".......">
>     <invoke-factory model="threaded">
>         <construct class="my.package.myService">
>               <string>${urlService}</string>
>          </construct>
>     </invoke-factory>
>   </service-point>
> ------------------------------------
> I would like to do something like that, it is posible in with hivemind do
> that ???
> 
> Thanks in advance.

- --
you too?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIR7RtpHYnED7evioRAnXyAJ48J+GhM5m/BpkdzrBS0m0vpBGQnQCeJled
WFzOPiEUK5g/+aaEYGkQdo8=
=zv9O
-----END PGP SIGNATURE-----

Reply via email to