I'm a newbie to WSO2 and I'm searching how to declare a registry property in the ESB to use it as a parameter to an inbound endpoint.
I saw that I could use it like this:
<parameter key="conf:/repository/esb/esb-configurations/AdhesionSituations" name="transport.vfs.FileURI"/>
I also tried this:
<parameter key="synapse:get-property('AdhesionSituations') name="transport.vfs.FileURI"/>
But I can't find how to declare the property in the registry. I try to define a local entry, a metadata on a collection in the registry but no matter what, indbound endpoint can't find my property.
Help will be appreciated ^^
Julien
The second parameter definition you tried is obsolete now. First one is the correct way to specify inbound endpoint as a registry entry.
Declaring a property in registry can be done using this guide and this.
Further, it seems you are using an older ESB version. It is recommended to use latest ESB version which is 5.0.0.
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With