Hi Eric

There is a minor mistake. 'esb_1.6' is incorrect and it should be 'esb-1.6'.

<registry provider="org.wso2.esb.registry.WSO2Registry">
<parameter name="root">file:registry/</parameter> + <Registry>
       <type>esb-1.6</type>
</Registry></registry>

=

<registry provider="org.wso2.esb.registry.ESBRegistry">
       <parameter name="root">file:registry/</parameter>
</registry>


This is because , we had to support all type of wso2 registry + previous ESB registry. The configuration in the server.xml is used by ESB and configuration in the synapse.xml is used by the synapse. These two can not be merged. The provider 'org.wso2.esb.registry.WSO2Registry' hides all type of wso2 registry + previous ESB registry. you can even use the SimpleUrlregistry from synapse with 'org.wso2.esb.registry.WSO2Registry' .In this case <type>url<type>. But, there isn't GUI support for that registry.

Using 'org.wso2.esb.registry.WSO2Registry' , you can access all registries. The registry configuration part within the server.xml provides required protection variation to capture all regisrty implementation under the 'org.wso2.esb.registry.WSO2Registry'.

Thanks
Indika


Hubert, Eric wrote:
Hi Indika,

one short question to your registry changes:

Will this entry:
 <Registry>
        <type>esb_1.6</type>
 </Registry>

be equivalent to

<registry provider="org.wso2.esb.registry.ESBRegistry">
        <parameter name="root">file:registry/</parameter>
</registry>

Regards,
   Eric

_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev


_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to