I am storing the servername and port as a JVM argument (e.g. -Dservername=blah,-Dserverport=blah
Is there any way to set an endpoint address to read from these values? Is there an easier way than creating a custom mediator to store the variables in the message context?
Thanks!
If you read the system property from class mediator, set properties to synapsecontext, then use that within sequence..
Check this similar thread