Hi Dhanuka,
Looks like your syntax is wrong. Please use this.
<property name="REG_PROPERTY"
expression="get-property('registry','gov:/endpoints/test')"/>
The above configuration sets the value stored in the registry resource to
the REG_PROPERTY variable.
Thanks,
Chanaka
On Thu, Nov 6, 2014 at 7:53 PM, Dhanuka Ranasinghe <[email protected]> wrote:
> Hi,
>
> Is there way to get end point URI using property mediator without using a
> class mediator. Something like below. I tried but it gives me null value as
> content.
>
> <property name="some name"
> expression="get-property('registry',gov:resource/path')"/>
>
>
> Cheers,
>
> Dhanuka
>
> *Dhanuka Ranasinghe*
>
> Senior Software Engineer
> WSO2 Inc. ; http://wso2.com
> lean . enterprise . middleware
>
> phone : +94 715381915
>
--
--
Chanaka Fernando
Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware
mobile: +94 773337238
Blog : http://soatutorials.blogspot.com
LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
Twitter:https://twitter.com/chanakaudaya
Wordpress:http://chanakaudaya.wordpress.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev