Eric, It's done.

Thanks,
Ruwan

Ruwan Linton wrote:
Hi Eric,

I am sorry, your correct it's my fault. Due to the work on synapse and I was on leave yesterday, I forgot to change the ESB code to reflect the refactoring I did in synapse endpoints.

This fix is not exactly correct ideally you need to call the EndpointFactory.getEndpointFromElement(elem) method. DefaultEndpointFactory is just a single Factory implementation.

I will fix this up correctly ASAP.

Thanks,
Ruwan

Hubert, Eric wrote:
Hi all,
I just tried to build synapse and wso2 esb but had no luck. Synapse build did succeed (only a bunch of script mediator tests failed for me) but, wso2 esb build stopped with the following error: [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
D:\repos\wso2esb\modules\core\src\main\java\org\wso2\esb\services\EndpointAdmin.
java:[28,46] cannot find symbol
symbol  : class EndpointAbstractFactory
location: package org.apache.synapse.config.xml.endpoints
D:\repos\wso2esb\modules\core\src\main\java\org\wso2\esb\services\EndpointAdmin.
java:[340,30] cannot find symbol
symbol  : variable EndpointAbstractFactory
location: class org.wso2.esb.services.EndpointAdmin
D:\repos\wso2esb\modules\core\src\main\java\org\wso2\esb\services\EndpointAdmin. java:[342,35] createEndpoint(org.apache.axiom.om.OMElement,boolean) has protecte
d access in org.apache.synapse.config.xml.endpoints.EndpointFactory
D:\repos\wso2esb\modules\core\src\main\java\org\wso2\esb\services\EndpointAdmin.
java:[427,32] cannot find symbol
symbol  : variable EndpointAbstractFactory
location: class org.wso2.esb.services.EndpointAdmin
Ruwan, it seems to me as you have refactored synapse but forgotten to reflect that changes in the wso2 esb code base. Am I right? Just to go ahead I had a quick look at EndpointAdmin and tried to make it compilable. I just did what looked somehow logical to me. Though it may be completely wrong, as I don't know you actual change and didn't like to take the time for investigation. :-) Please find attached a diff! This fixed the build issue and I could go ahead. I will see whether the changes had been correct or not. ;-) 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



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

Reply via email to