I am trying to use Greg to store the endpoint URL for services deployed in containers other than WSO2 (Weblogic / JBoss). I would like to use the WSO2 ESB to mediate and route data through these endpoints.
However, when I look at the WSB2 ESB samples, it is not clear how I instruct the ESB to use WSO2 Greg. The following is the xml used to use the ESB in a registry deployed to the file system.
<definitions xmlns="http://ws.apache.org/ns/synapse"> <registry provider="org.wso2.carbon.mediation.registry.ESBRegistry"> <parameter name="root">file:./repository/samples/resources/</parameter> <parameter name="cachableDuration">15000</parameter> </registry> </definitions>
My guess is that the registry tag provider element should probably be overridden by the web service address providing access to Greg.
When all is said and done, I would like to create simple BPMN configuration files that connect to Greg, get the URIs and URLs for the services used by this file, and then refer to them as properties later on the BPMN route.
First question: is this a standard configuration, or is there a better way to integrate the WSO ESB and Greg.
The second question: are there any examples that I can refer to that will answer this question?
source share