I want to be able to pass a target server host and port as properties to a java callout policy. Is there a way to accomplish this?
I'm thinking some usage like:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <JavaCallout async="false" continueOnError="false" enabled="true" name="Java-Callout-1"> <DisplayName>Java Callout-1</DisplayName> <Properties> <Property name="host" ref="target_server_host"/> </Properties> <ClassName>com.myorg.callouts.MyCallout</ClassName> <ResourceURL>java://my-callouts.jar</ResourceURL> </JavaCallout>