For some ad hoc testing of a custom Spring XD processor, I would like to specify a Java system property during the definition of the stream to be passed to the processor. Is this possible?
Asked
Active
Viewed 113 times
2
-
You can access java system property at any moment (processor included) with `System.getProperty()` – Thrax Dec 18 '15 at 08:12
-
Yes, thanks. But I want to set one during the definition of my stream. Is that possible? Do i have to tweak one of the module's configuration XMLs? – Arne Dec 18 '15 at 08:15
-
Here's how you set System properties from XML and from Java : http://stackoverflow.com/a/3340970/4140367 – Thrax Dec 18 '15 at 10:47