Hi all,
On testing the developer studio 3.8.0 I could observe that the
"defaultValue" field for attribute parameters in the Publish Event Mediator
[1] is always empty and will not store any values.
On referring the documentation [2] for ESB 4.9.0 in the sample displayed
also I could observe the same. Could you please explain the purpose of
having this field in the said mediator and whether this is the correct
use-case to be implemented from Developer Studio end?
[1] <attributes>
<meta>
<attribute *defaultValue=""*
expression="get-property('axis2', 'HTTP_METHOD')"
name="http_method" type="STRING"/>
<attribute *defaultValue=""* expression="get-property('To')"
name="destination" type="STRING"/>
</meta>
<correlation>
<attribute *defaultValue=""*
expression="get-property('SYSTEM_DATE')" name="date"
type="STRING"/>
</correlation>
<payload>
<attribute *defaultValue=""*
expression="$body/m0:getQuote/m0:request/m0:symbol"
name="symbol" type="STRING" xmlns:m0="http://services.samples
"/>
</payload>
<arbitrary/>
</attributes>
[2] https://docs.wso2.com/display/ESB490/Publish+Event+Mediator
Regards
Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev