Hi Amila, It works more or less similar to axis2 archive file (.aar) and class-loading is very similar (ie:- loads classes from top level of the archive or from .jar files located in /lib ).. However each time a mediation library archive is deployed it will load (ie:- lazy loading) the content in to memory, construct class-loading , etc . And only after users explicitly import (ie:- through <import ..> synapse construct ) the library package , would synapse load its artifacts and made available to its users at runtime... More information on this can be found in docs/userguide/template_library.html . Also set of samples can be found in samples catalog -- samples 850 - 857 If you want to test above samples EIP core library will be located in "modules/core/target/library_repos/synapse-eipcore-lib.zip" and copy the file into synapse distribution "repository/conf/synapse-libs" path..
Regards, Udayanga On Sun, Apr 7, 2013 at 11:22 AM, Amila Suriarachchi < [email protected]> wrote: > > > > On Sun, Apr 7, 2013 at 3:36 AM, Udayanga Wickramasinghe < > [email protected]> wrote: > >> Hi Amila, >> If you look up at the newly added synapse mediation library archive >> (.zip) feature , has the same functionality you are looking for. You should >> be able to hot update/deploy custom mediators (deploy custom mediators at >> /lib of the archive) and/or almost any other synapse artifact , through >> that. >> > > Do you know how that works? How do we have to deploy the custom mediators > and how synapse load classes? > > Basically if that provides hot update/deploy that is fine. > > thanks, > Amila. > >> >> Regards, >> Udayanga >> >> >> On Sun, Apr 7, 2013 at 6:01 AM, Amila Suriarachchi < >> [email protected]> wrote: >> >>> hi, >>> >>> Currently Synapse custom mediators has to deploy as a jar and should be >>> available at the server starts up time. But there are situations we need to >>> hot update/deploy these custom mediators. >>> >>> Can we have a method like in .aar files where we bundle synapse >>> mediators as an archive file possibly with a descriptor file and make it >>> hot update deploy? >>> >>> thanks, >>> Amila. >>> >>> >>> >>> -- >>> Amila Suriarachchi >>> WSO2 Inc. >>> blog: http://amilachinthaka.blogspot.com/ >>> >> >> >> >> -- >> http://www.udayangawiki.blogspot.com >> > > > > -- > Amila Suriarachchi > WSO2 Inc. > blog: http://amilachinthaka.blogspot.com/ > -- http://www.udayangawiki.blogspot.com
