Hi Isuru, I kind a ported in to synapse and tested locally. Can code can be found here.
This is something I wrote more than a year ago. I am rewriting this using java 8 features. code can be found here https://github.com/asanka88/apache-synapse Thanks, Asanka On Mon, Sep 11, 2017 at 11:21 PM, Isuru Udana <isud...@gmail.com> wrote: > Hi Asanka, > > On Tue, Sep 12, 2017 at 5:32 AM, Asanka Dissanayake <asanka...@gmail.com> > wrote: > >> Hi Devs, >> I see an item with >> >> - *PayloadFactory support with JSON* >> >> >> I built something that can replace payload factory mediator and it has >> much more features. Behind the scene it uses Velocity . >> >> https://github.com/asanka88/VelocityTemplateMediator >> >> >> Have a look and let me know, I will port it to synapse. >> > > Great, we will have a look and get back to you soon. > > Thanks. > >> >> Thanks, >> Asanka >> >> >> >> On Mon, Sep 11, 2017 at 1:48 PM, Vanjikumaran Sivajothy <va...@apache.org >> > wrote: >> >>> Hey isuru, >>> >>> I have already started to work on couple of aspects focusing on >>> improvements and bug fixings. >>> >>> Best regards, >>> Vanji >>> >>> On Sun, Jul 30, 2017 at 9:46 AM, Isuru Udana <isud...@gmail.com> wrote: >>> >>>> Hi All, >>>> >>>> Are we in a position to resume the work for 3.1.0 ? Please let us know >>>> your availability. >>>> >>>> On Thu, Jul 6, 2017 at 8:27 AM, Vanjikumaran Sivajothy < >>>> vanjikuma...@gmail.com> wrote: >>>> >>>>> After the initial discussion, we did not move forward further. Let me >>>>> start with applying my own patches and start to plan as you mention for >>>>> 3.1.0. >>>>> >>>>> Best Regards, >>>>> Vanji >>>>> >>>>> >>>>> On Wed, Jul 5, 2017 at 3:46 PM, Hiranya Jayathilaka < >>>>> hiranya...@gmail.com> wrote: >>>>> >>>>>> Has anybody made any progress towards this? Perhaps we can pick a few >>>>>> items from Dushan's list and release as 3.1.0? >>>>>> >>>>>> On Thu, May 18, 2017 at 10:34 AM, Vanjikumaran Sivajothy < >>>>>> va...@apache.org> wrote: >>>>>> >>>>>>> I am little hesitated to accept for full blown changes! It may slow >>>>>>> down the release process :( >>>>>>> >>>>>>> Can we please select the Important items and then move on? >>>>>>> >>>>>>> >>>>>>> On Tue, May 16, 2017 at 10:37 PM Dushan Abeyruwan <dus...@apache.org> >>>>>>> wrote: >>>>>>> >>>>>>>> [re-send with apache.org] >>>>>>>> >>>>>>>> Hi All, >>>>>>>> I guess we should go with the theme of synapse 4.0. What I would >>>>>>>> like to focus such as pretty much on the radical changes introduced to >>>>>>>> synapse >>>>>>>> >>>>>>>> - The call mediator implementation (blocking and none blocking) >>>>>>>> and the depreciation of callout mediator. So, we have task now to >>>>>>>> get the >>>>>>>> latest merge to SYNAPSE-975 >>>>>>>> <https://issues.apache.org/jira/browse/SYNAPSE-975> >>>>>>>> - Then we should bring the JSON changes done. >>>>>>>> - JSONFormatter/JSONBuilder based top >>>>>>>> of staxon implementation 'org.apache.synapse.commons.st >>>>>>>> axon.core.json' >>>>>>>> - JSONPath in Filter, Switch, Property, Payload Factory and >>>>>>>> Log mediators >>>>>>>> - PayloadFactory support with JSON >>>>>>>> - *For-Each* mediator implementation >>>>>>>> - Introducing *HTTP EP *for RESTful invocations >>>>>>>> - SSLTunneling >>>>>>>> - We should bring JMSStore (I guess for the time being still we >>>>>>>> do support In memory store) >>>>>>>> - Should give priority on RESTful invocation rather focusing >>>>>>>> SOAP integrations much (so we need to select all the bugs reported >>>>>>>> and >>>>>>>> fixed while adding addressing REST APIs, uri-template improvements >>>>>>>> and >>>>>>>> expression evaluation changes) >>>>>>>> - If time permits, I would like to see the integration of *basic >>>>>>>> InboundEndpoint can merge with apache synapse* starts with HTTP >>>>>>>> inbound transport *@Chanaka is this feasible or will there be >>>>>>>> any dependencies from external?* >>>>>>>> - VFS related improvements such as providing two new throttling >>>>>>>> parameters, FileProcessCount and FileProcessInterval, which allow >>>>>>>> you to >>>>>>>> control the number of files processed in each batch and time between >>>>>>>> batches. >>>>>>>> - Recent PTT related changes and improvements. >>>>>>>> >>>>>>>> There may be more we can add, but I guess still we have lots of >>>>>>>> merge and integrations to be done like writing test cases etc etc. >>>>>>>> >>>>>>>> I mean we can invite volunteers to do merge especially for Callout, >>>>>>>> HTTP-EPs, PayloadFactory and JSON improvements if possible Inbound >>>>>>>> integration to the next release. that's why I'm telling, we should do >>>>>>>> sort >>>>>>>> of radical release rather conventional release. >>>>>>>> >>>>>>>> Just drop your thoughts WDYT? >>>>>>>> >>>>>>>> Cheers, >>>>>>>> Dushan >>>>>>>> >>>>>>>> On Tue, May 16, 2017 at 10:34 PM, Dushan Abeyruwan < >>>>>>>> dushanabeyru...@gmail.com> wrote: >>>>>>>> >>>>>>>>> Hi All, >>>>>>>>> I guess we should go with the theme of synapse 4.0. What I would >>>>>>>>> like to focus there pretty much on the radical changes introduced to >>>>>>>>> synapse >>>>>>>>> >>>>>>>>> - The call mediator implementation (blocking and none >>>>>>>>> blocking) and the depreciation of callout mediator. So, we have >>>>>>>>> task now to >>>>>>>>> get the latest merge to SYNAPSE-975 >>>>>>>>> <https://issues.apache.org/jira/browse/SYNAPSE-975> >>>>>>>>> - Then we should bring the JSON changes done. >>>>>>>>> - JSONFormatter/JSONBuilder based top >>>>>>>>> of staxon implementation 'org.apache.synapse.commons.st >>>>>>>>> axon.core.json' >>>>>>>>> - JSONPath in Filter, Switch, Property, Payload Factory and >>>>>>>>> Log mediators >>>>>>>>> - PayloadFactory support with JSON >>>>>>>>> - *For-Each* mediator implementation >>>>>>>>> - Introducing *HTTP EP *for RESTful invocations >>>>>>>>> - SSLTunneling >>>>>>>>> - We should bring JMSStore (I guess for the time being still >>>>>>>>> we do support In memory store) >>>>>>>>> - Should give priority on RESTful invocation rather focusing >>>>>>>>> SOAP integrations much (so we need to select all the bugs reported >>>>>>>>> and >>>>>>>>> fixed while adding addressing REST APIs, uri-template improvements >>>>>>>>> and >>>>>>>>> expression evaluation changes) >>>>>>>>> - If time permits, I would like to see the integration of *basic >>>>>>>>> InboundEndpoint can merge with apache synapse* starts with >>>>>>>>> HTTP inbound transport *@Chanaka is this feasible or will >>>>>>>>> there be any dependencies from external?* >>>>>>>>> - VFS related improvements such as providing two new >>>>>>>>> throttling parameters, FileProcessCount and FileProcessInterval, >>>>>>>>> which >>>>>>>>> allow you to control the number of files processed in each batch >>>>>>>>> and time >>>>>>>>> between batches. >>>>>>>>> - Recent PTT related changes and improvements. >>>>>>>>> >>>>>>>>> There may be more we can add, but I guess still we have lots of >>>>>>>>> merge and integrations to be done like writing test cases etc etc. >>>>>>>>> >>>>>>>>> I mean we can invite volunteers to do merge especially for >>>>>>>>> Callout, HTTP-EPs, PayloadFactory and JSON improvements if possible >>>>>>>>> Inbound >>>>>>>>> integration to the next release. that's why I'm telling, we should do >>>>>>>>> sort >>>>>>>>> of radical release rather conventional release. >>>>>>>>> >>>>>>>>> Just drop your thoughts WDYT? >>>>>>>>> >>>>>>>>> Cheers, >>>>>>>>> Dushan >>>>>>>>> >>>>>>>>> On Tue, May 16, 2017 at 8:21 PM, Ravi Undupitiya <r...@apache.org> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> +1 >>>>>>>>>> >>>>>>>>>> On 16 May 2017 at 15:28, Dushan Abeyruwan <dus...@apache.org> >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> +1 >>>>>>>>>>> >>>>>>>>>>> On Mon, May 15, 2017 at 9:28 PM, Chanaka Udaya Kumara Fernando < >>>>>>>>>>> chanaka.leaders...@gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> +1 for a new release. >>>>>>>>>>>> >>>>>>>>>>>> On Mon, May 15, 2017 at 9:51 AM, prabath <prabathm...@gmail.com >>>>>>>>>>>> > wrote: >>>>>>>>>>>> >>>>>>>>>>>>> +1 >>>>>>>>>>>>> >>>>>>>>>>>>> On Sun, May 14, 2017 at 2:31 PM, Isuru Udana < >>>>>>>>>>>>> isud...@gmail.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> +1. >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Sun, May 14, 2017 at 3:02 AM, Vanjikumaran Sivajothy < >>>>>>>>>>>>>> va...@apache.org> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hi folks, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> It's been a while since we released Apache Synapse 3.0, >>>>>>>>>>>>>>> There are number of issues raised in the JIRA[1]. that includes >>>>>>>>>>>>>>> New >>>>>>>>>>>>>>> Feature, Improvements, Bugs and Documentation. I would like to >>>>>>>>>>>>>>> invite all >>>>>>>>>>>>>>> of the contributors to get participated in the upcoming release >>>>>>>>>>>>>>> and make it >>>>>>>>>>>>>>> successful again. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> [1]https://issues.apache.org/jira/browse/SYNAPSE-1093?jql=pr >>>>>>>>>>>>>>> oject%20%3D%20SYNAPSE%20AND%20resolution%20%3D%20Unresolved% >>>>>>>>>>>>>>> 20ORDER%20BY%20priority%20DESC >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Sent from Gmail Mobile >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> *Isuru Udana* >>>>>>>>>>>>>> Senior Technical Lead >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> *; WSO2 Inc.; http://wso2.com <http://wso2.com>email: >>>>>>>>>>>>>> isud...@gmail.com <isud...@gmail.com> blog: >>>>>>>>>>>>>> http://mytecheye.blogspot.com/ >>>>>>>>>>>>>> <http://mytecheye.blogspot.com/>* >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Prabath Ariyarathna. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Hiranya Jayathilaka >>>>>> Mayhem Lab/RACE Lab; >>>>>> Dept. of Computer Science, UCSB; http://cs.ucsb.edu >>>>>> E-mail: hira...@cs.ucsb.edu <hira...@wso2.com>; Mobile: +1 (805) >>>>>> 895-7443 <+1%20805-895-7443> >>>>>> Blog: http://techfeast-hiranya.blogspot.com >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Best Regards, >>>>> Vanji >>>>> >>>> >>>> >>>> >>>> -- >>>> *Isuru Udana* >>>> Senior Technical Lead >>>> >>>> >>>> >>>> >>>> *; WSO2 Inc.; http://wso2.com <http://wso2.com>email: isud...@gmail.com >>>> <isud...@gmail.com> blog: http://mytecheye.blogspot.com/ >>>> <http://mytecheye.blogspot.com/>* >>>> >>>> >>>> >>>> >>> >> > > > -- > *Isuru Udana* > Senior Technical Lead > > > > > *; WSO2 Inc.; http://wso2.com <http://wso2.com>email: isud...@gmail.com > <isud...@gmail.com> blog: http://mytecheye.blogspot.com/ > <http://mytecheye.blogspot.com/>* > > > >