miércoles, 6 de junio de 2012

VM Arguments in MULE ESB

Right this is one of those things that many consider tricky, and why not I mean is not like they have a whole page about this.

Any way if you work with Mule ESB one of the thing you may find your self trying to do is to run it from the command line. No eclipse plugin no Studio no nothing.

How do you pass VM arguments to the app running inside you Mule instance?
Well look no more for here is the answer:

mule -M-Dyour.envvar=envvar_value

As you can see it's the same as running any Java app from the command line BUT the folks at Mule change it a little bit adding the "-M".

And that's it.

No hay comentarios:

Publicar un comentario