Re: [Dev] Carbon-Messaging for WebSocket Protocol

2016-11-30 Thread Isuru Ranawaka
Hi Irunika,

It is not necessary for one way messaging otherwise it should.

On Thu, Dec 1, 2016 at 12:07 PM, Irunika Weeraratne <irun...@wso2.com>
wrote:

> Hi,
> I'm currently working on adding WebSocket support for MSF4J. For incoming
> WebSocketFrames from the clients, there is a possibility to use existing
> Carbon-Messaging.
> But in Websocket, after receiving the CarbonMesssage to the correct
> endpoint it is not necessary to send a Callback to the client.
> So with the existing implementation is it necessary to call
> Callback.done() method?
>
> Thanks,
> Irunika
> *Irunika Weeraratne*
> *Software Engineer | WSO2, Inc. <http://wso2.com/>*
> *Email : irun...@wso2.com <irun...@wso2.com>*
> *LinkedIn : https://lk.linkedin.com/in/irunika
> <https://lk.linkedin.com/in/irunika>*
> *Mobile : +94712403314 <071%20240%203314>*
> *Lean . Enterprise . Middleware*
>
>


-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC Project: HTTP Load Balancer on Top of WSO2 Gateway Discussion

2016-08-22 Thread Isuru Ranawaka
;>> bottlenecks related to LB code.
>>>>>>>>>>>>
>>>>>>>>>>>> On Tue, Aug 9, 2016 at 4:18 PM, Venkat Raman <
>>>>>>>>>>>> vraman2...@gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Isuru & Kasun,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Please find the attached results document.  As discussed, I
>>>>>>>>>>>>> created a new VM for bench-marking.
>>>>>>>>>>>>>
>>>>>>>>>>>>> It seems like TPS of 20,000 (from yesterday's results) even at
>>>>>>>>>>>>> higher concurrency level is not accurate.  Sorry for the 
>>>>>>>>>>>>> confusion caused.
>>>>>>>>>>>>> Most of the time endpoints were marked as unHealthy and direct
>>>>>>>>>>>>> error response is returned by LB Mediator which resulted in high 
>>>>>>>>>>>>> TPS.  I
>>>>>>>>>>>>> tried multiple bench-marking from yesterday and I was never able 
>>>>>>>>>>>>> to achieve
>>>>>>>>>>>>> that result.
>>>>>>>>>>>>>
>>>>>>>>>>>>> In this test, to avoid such cases, higher no of
>>>>>>>>>>>>> unHealthyRetries count has been configured.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Also, I've bench-marked performance of GW-FMW using i-server
>>>>>>>>>>>>> with this simple
>>>>>>>>>>>>> <https://github.com/Venkat2811/product-http-load-balancer/blob/master/performance-benchmark/gw-framework/router.iflow>
>>>>>>>>>>>>> configuration.  It is a simple route even without if-else 
>>>>>>>>>>>>> conditions.
>>>>>>>>>>>>>
>>>>>>>>>>>>> As you can see, It is performing 2X faster than LB.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Next steps would be to do memory benchmark and plot graphs
>>>>>>>>>>>>> with these values.  Once repo, documentation and blog is ready, 
>>>>>>>>>>>>> I'll be
>>>>>>>>>>>>> using JFR to identify bottle necks and on fine-tuning LB's 
>>>>>>>>>>>>> performance.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Will be looking forward to hear your feedback on this.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> *Thanks,*
>>>>>>>>>>>>> *Venkat.*
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Tue, Aug 9, 2016 at 1:13 AM, Venkat Raman <
>>>>>>>>>>>>> vraman2...@gmail.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Sure Kasun, I'll do a perf-benchmark between iserver and LB
>>>>>>>>>>>>>> in a new VM as discussed.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>> Venkat.
>>>>>>>>>>>>>> On Aug 9, 2016 12:55 AM, "Kasun Indrasiri" <ka...@wso2.com>
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> - Compare GW framework perf vs LB (need to identify if any
>>>>>>>>>>>>>>> perf impact from the LB related code).
>>>>>>>>>>>>>>> - Identify the reason for the apparent perf bottleneck with
>>>>>>>>>>>>>>> high concurrency.
&g

Re: [Dev] GSoC Project: HTTP Load Balancer on Top of WSO2 Gateway Discussion

2016-08-03 Thread Isuru Ranawaka
Hi venkat,

Yes we can. lets have a call today around 9.30 p.m

On Thu, Aug 4, 2016 at 9:34 AM, Venkat Raman <vraman2...@gmail.com> wrote:

> Hi Isuru,
>
> Good morning.  Yesterday night, I spoke with Kasun regarding the latest
> update on bench-mark results. Even without any locking performance is not
> good after concurrency of 5000.
>
> As you have done bench-mark till concurrency of 3000, we both would like
> to do bench-marking on raw carbon-transport upto concurrency of 10,000 and
> 1,00,000 requests so that we get an idea on this.
>
> How do we do that ? Will a simple response from engine suffice ?  Can I
> use LB to send simple response directly without doing any mediation ?
>
>
>
>
> *Thanks,*
> *Venkat.*
>
> On Thu, Aug 4, 2016 at 12:19 AM, Venkat Raman <vraman2...@gmail.com>
> wrote:
>
>> Hi Isuru,
>>
>> Please find the attached bench-mark results.  As discussed,  I've
>> disabled health-checking and removed synchronized block and used atomic
>> Integer in one test and also did a test without any kind of lock or use of
>> atomic integers.
>>
>> Throughput and latency results are positive.  But, after concurrency
>> level of 5000 it is not that good.  So even If we use read-write lock or
>> stamped lock, we will get performance little performance gain only.
>>
>> I feel that If we can do bench-mark with integration-server upto 1
>> concurrent connections we'll get a better idea.  Is that okay ?
>>
>>
>>
>>
>> *Thanks,*
>> *Venkat.*
>>
>> On Tue, Aug 2, 2016 at 9:39 PM, Venkat Raman <vraman2...@gmail.com>
>> wrote:
>>
>>> Hi Isuru & Kasun,
>>>
>>> Please find the findings from today's code review.
>>>
>>> 1) Locking in getNextLBOutboundEndpoint() method in algorithm
>>> implementation is causing over-head.  We have to find a way to efficiently
>>> handle communication between threads to reduce locking overhead.
>>>
>>> 2) Code repo freeze by August 15th for the sake of GSoC.  If we can find
>>> a way to overcome locking over-head before August 15th that changes will be
>>> added to code repo.  Otherwise it will be added after GSoC.
>>>
>>> 3) TPS, Latency and Memory graphs to be added.
>>>
>>> 4) Blog post and PDF documentation.
>>>
>>>
>>>
>>>
>>> *Thanks,*
>>> *Venkat.*
>>>
>>> On Mon, Aug 1, 2016 at 9:25 AM, Venkat Raman <vraman2...@gmail.com>
>>> wrote:
>>>
>>>> Hi Isuru,
>>>>
>>>> Good morning.  Please find 10th week's progress.
>>>>
>>>> 1) Had discussion with Kasun.
>>>> 2) As suggested, did performance bench-marking using Netty BE, and it
>>>> turns out that our LB is beating Nginx till concurrency level of 6000 after
>>>> which it is not performing well.
>>>> I've attached the results.
>>>>
>>>> I've started a new thread as Conversation arrangement is not good in
>>>> previous one.
>>>>
>>>> It would be great if we can have a code review Isuru.  Based on your
>>>> feedback I'll be abe to make changes and we can do bench-marking again.
>>>> Can we do it today 9:30 PM ?  We have only 2 full weeks more.  The last
>>>> week will be for documentation.
>>>>
>>>>
>>>>
>>>> *Thanks,*
>>>> *Venkat.*
>>>>
>>>
>>>
>>
>


-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC Project: HTTP Load Balancer On Top Of WSO2 Gateway Discussion

2016-07-10 Thread Isuru Ranawaka
Hi Venkat
 I have scheduled a call on monday 9 30 p.m

On Sat, Jul 9, 2016 at 9:43 PM, Venkat Raman <vraman2...@gmail.com> wrote:

> Oh okay Kasun.  :)
>
>
>
>
> *Thanks,*
> *Venkat.*
>
> On Sat, Jul 9, 2016 at 9:36 PM, Kasun Indrasiri <ka...@wso2.com> wrote:
>
>> That's fine. I was referring to demo that we were planning. You guys can
>> discuss the HTTPS related things at any convenient time.
>>
>> On Sat, Jul 9, 2016 at 9:03 AM, Venkat Raman <vraman2...@gmail.com>
>> wrote:
>>
>>> Hi Kasun,
>>>
>>> I'll be available on Tue 10 PM IST.   Isuru and I were planning to have
>>> discussion on HTTPS, Transports-statistics and also about proceeding with
>>> load and performance testing tomorrow.  That's why I was asking him about
>>> his availability.
>>>
>>>
>>>
>>>
>>> *Thanks,*
>>> *Venkat.*
>>>
>>> On Sat, Jul 9, 2016 at 9:19 PM, Kasun Indrasiri <ka...@wso2.com> wrote:
>>>
>>>> I'm in PDT time zone and might not able to make it on Sunday night. How
>>>> about Tue night 10pm IST?
>>>>
>>>> On Sat, Jul 9, 2016 at 7:26 AM, Venkat Raman <vraman2...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Isuru,
>>>>>
>>>>> At what time can we have our call tomorrow.. ?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *Thanks,*
>>>>> *Venkat.*
>>>>>
>>>>> On Fri, Jul 8, 2016 at 8:04 AM, Venkat Raman <vraman2...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Isuru,
>>>>>>
>>>>>> My bad.  I shared the URL of no SSL again.  It is available under
>>>>>> samples\conf\transports
>>>>>>
>>>>>> Thanks,
>>>>>> Venkat.
>>>>>> On Jul 8, 2016 7:58 AM, "Isuru Ranawaka" <isu...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Venkat,
>>>>>>>
>>>>>>> SSL OFFLOAD  thing I can't see https is enabled.
>>>>>>>
>>>>>>> On Wed, Jul 6, 2016 at 10:11 PM, Venkat Raman <vraman2...@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Isuru,
>>>>>>>>
>>>>>>>> I'm blocked by this issue from yesterday.  We need have a small
>>>>>>>> discussion ASAP.  I'll try to explain the scenario more clearly here 
>>>>>>>> than I
>>>>>>>> did in hangouts.
>>>>>>>>
>>>>>>>> For LB these are the 3 different types netty-transports.yml configs
>>>>>>>> that we need to support.
>>>>>>>>
>>>>>>>> 1) For no ssl : no_SSL
>>>>>>>> <https://github.com/Venkat2811/product-http-load-balancer/blob/master/product/carbon-home/samples/conf/transports/no-ssl-netty-transports.yml>
>>>>>>>>
>>>>>>>> 2) SSL_OFFLOAD : (i.e) https listener and http sender ssl_offload
>>>>>>>> <https://github.com/Venkat2811/product-http-load-balancer/blob/master/product/carbon-home/samples/conf/transports/no-ssl-netty-transports.yml>
>>>>>>>>
>>>>>>>> 3) END_TO_END : (i.e) https listener and https sender end_to_end
>>>>>>>> <https://github.com/Venkat2811/product-http-load-balancer/blob/master/product/carbon-home/samples/conf/transports/end-to-end-netty-transports.yml>
>>>>>>>>
>>>>>>>> Are these configs correct..?
>>>>>>>>
>>>>>>>> So far I have been using (1) as we were dealing only with http.  It
>>>>>>>> was working fine.  Refer first screenshot for logs.  If you see, netty
>>>>>>>> listener is starting in both 8290 and 9090.
>>>>>>>>
>>>>>>>> 8290 is inboundEndpoint  port specified in router.iflow file and
>>>>>>>> 9090 is specified in netty-transports.yml
>>>>>>>>
>>>>>>>> Now, when I try (2)&(3), since we need to deal with https, netty
>>>>>>>> listener is starting only in 9292.  Refer second screenshot for logs.  
>>>>>>>> *We
>>

Re: [Dev] GSoC Project: HTTP Load Balancer On Top Of WSO2 Gateway Discussion

2016-07-07 Thread Isuru Ranawaka
o our code review tomorrow.
>>>>
>>>>
>>>> *Thanks,*
>>>> *Venkat.*
>>>>
>>>> On Sat, Jul 2, 2016 at 8:46 PM, Venkat Raman <vraman2...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Isuru,
>>>>>
>>>>> If you are free, can we have review tomorrow..?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *Thanks,*
>>>>> *Venkat.*
>>>>>
>>>>> On Wed, Jun 29, 2016 at 10:40 PM, Venkat Raman <vraman2...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>> I'm ready for our demo Isuru.  Awaiting your arrival.
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Thanks,*
>>>>>> *Venkat.*
>>>>>>
>>>>>> On Wed, Jun 29, 2016 at 7:13 AM, Venkat Raman <vraman2...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Kasun,
>>>>>>>
>>>>>>> Yea sure !
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Venkat.
>>>>>>> On Jun 29, 2016 4:37 AM, "Kasun Indrasiri" <ka...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Venkat,
>>>>>>>>
>>>>>>>> Good progress indeed!
>>>>>>>> Shall we do a demo/review on the current status and prioritize the
>>>>>>>> features that we expect for the final evaluation.
>>>>>>>> IsuruR will help you with arranging the meeting.
>>>>>>>>
>>>>>>>> On Mon, Jun 27, 2016 at 9:19 PM, Venkat Raman <vraman2...@gmail.com
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Hi Isuru,
>>>>>>>>>
>>>>>>>>> Good morning.  I'm currently working on few validations and
>>>>>>>>> writing unit-test cases.
>>>>>>>>>
>>>>>>>>> Kindly find the attached document of TODO list.  If there is
>>>>>>>>> anything more kindly let me know.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> *Thanks,*
>>>>>>>>> *Venkat.*
>>>>>>>>>
>>>>>>>>> On Tue, Jun 28, 2016 at 1:09 AM, Venkat Raman <
>>>>>>>>> vraman2...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi All,
>>>>>>>>>>
>>>>>>>>>> It's been a great journey with WSO2 community !!  I've passed my
>>>>>>>>>> mid-term evaluations. :D
>>>>>>>>>>
>>>>>>>>>> Thanks for your feedback IsuruR.  And sure, I will keep improving
>>>>>>>>>> OOP knowledge and analytical thinking.
>>>>>>>>>>
>>>>>>>>>> Will be working with same pace and dedication to make our project
>>>>>>>>>> successful.  It's been a great learning so far.
>>>>>>>>>>
>>>>>>>>>> Would also like to thank IsuruR, Senduran, IsuruU, Ravi and Kasun
>>>>>>>>>> for their valuable support and guidance :)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> *Thanks,*
>>>>>>>>>> *Venkat.*
>>>>>>>>>>
>>>>>>>>>> On Sat, Jun 25, 2016 at 3:10 PM, Venkat Raman <
>>>>>>>>>> vraman2...@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Isuru,
>>>>>>>>>>>
>>>>>>>>>>> Good morning.  Please find 5th week's progress.
>>>>>>>>>>>
>>>>>>>>>>> Algorithm : Weighted Round Robin and Weighted Random
>>>>>>>>>>> algorithms.  Kindly note that Client IP Hashing based is not 
>>>>>>>>>>> supported for
>>>>>>>>>>> weighted algori

Re: [Dev] GSoC Project: HTTP Load Balancer On Top Of WSO2 Gateway Discussion

2016-06-19 Thread Isuru Ranawaka
>>> On Mon, Jun 6, 2016 at 11:18 AM, Venkat Raman <vraman2...@gmail.com>
>>> wrote:
>>>
>>>> Hi Isuru,
>>>>
>>>> Good morning.  Kindly find the 2nd week's progress
>>>>
>>>> 1) Implementation of Cookie based persistence
>>>> a) LB cookie will be appended with the cookie in response to
>>>> maintain persistence. So this has the same timeout and other properties of
>>>> that cookie.
>>>> b) There won't be any cookie in response from backend.  So, LB will
>>>> insert its own cookie (session cookie).  It will be valid till client
>>>> browser is closed.
>>>>
>>>> 2) Laid ground work for Client IP Hashing based persistence.
>>>>
>>>> This week I'll be continuing to work on Client IP hashing.
>>>>
>>>> Your feedback would be very valuable and critical at this point. Will
>>>> be looking forward to hear from you.
>>>>
>>>>
>>>>
>>>>
>>>> *Thanks,*
>>>> *Venkat.*
>>>>
>>>> On Thu, Jun 2, 2016 at 12:02 PM, Venkat Raman <vraman2...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi IsuruR,
>>>>>
>>>>> I've added session persistence support Application & LB specific
>>>>> cookie.  Kindly find it in the repo here
>>>>> <https://github.com/Venkat2811/product-http-load-balancer>.
>>>>>
>>>>> Now, I am planning to start with Client IP hashing based persistence.
>>>>>
>>>>> Will be looking forward for your feedback. :)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *Thanks,*
>>>>> *Venkat.*
>>>>>
>>>>> On Tue, May 31, 2016 at 3:21 PM, Venkat Raman <vraman2...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I'm implementing cookie based persistence. I have found various JAVA
>>>>>> libriaries that support HTTP Cookies.
>>>>>>
>>>>>> 1) Netty Cookie link
>>>>>> <http://netty.io/4.0/api/io/netty/handler/codec/http/cookie/Cookie.html#name()>
>>>>>>
>>>>>>  Expiration date is not supported. Not supporting toString()
>>>>>> method, so, I have to write my custom toString conversion method so that 
>>>>>> I
>>>>>> can add it to carbonMessage header.
>>>>>>
>>>>>> 2) Javax Cookie link
>>>>>> <http://docs.oracle.com/javaee/6/api/javax/servlet/http/Cookie.html>
>>>>>>
>>>>>>   Expiration date is not supported. Javax is not supporting
>>>>>> toString() method so same case as Netty
>>>>>>
>>>>>> 3) java.net.HttpCookie link
>>>>>> <https://docs.oracle.com/javase/7/docs/api/java/net/HttpCookie.html>.
>>>>>>
>>>>>>   Supports toString().  But HTTPOnly has to appended manually.
>>>>>> Expiration date is not supported.
>>>>>>
>>>>>> 4) Apache commons http client Cookie link
>>>>>> <http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/Cookie.html>
>>>>>>
>>>>>>  Supports RFC Date for specifying expiration and toString() is
>>>>>> also supported.
>>>>>>
>>>>>> So shall I use Apache Commons http Client cookie..??
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Thanks,*
>>>>>> *Venkat.*
>>>>>>
>>>>>> On Mon, May 30, 2016 at 10:42 AM, Venkat Raman <vraman2...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Ok Isuru.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> *Thanks,*
>>>>>>> *Venkat.*
>>>>>>>
>>>>>>> On Mon, May 30, 2016 at 10:34 AM, Isuru Ranawaka <isu...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Venkat.
>>>>>>>>
>>>>>>>> Good.I will look at the implementation and setup a call for discuss
&g

Re: [Dev] [DEV] [MSF4J] Possible Memory Leak When Streaming

2016-06-14 Thread Isuru Ranawaka
va:846)
>>
>> io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
>>
>> io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
>>
>> io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
>>
>> io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
>> io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
>>
>> io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:110)
>>
>> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
>> java.lang.Thread.run(Thread.java:745)
>> #2:
>>
>> io.netty.buffer.AdvancedLeakAwareByteBuf.readSlice(AdvancedLeakAwareByteBuf.java:91)
>>
>> io.netty.handler.codec.http.HttpObjectDecoder.decode(HttpObjectDecoder.java:294)
>>
>> io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:327)
>>
>> io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:230)
>>
>> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
>>
>> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
>>
>> io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
>>
>> io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
>>
>> io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
>>
>> io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
>>
>> io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
>> io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
>>
>> io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:110)
>>
>> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
>> java.lang.Thread.run(Thread.java:745)
>> #1:
>>
>> io.netty.buffer.AdvancedLeakAwareByteBuf.writeBytes(AdvancedLeakAwareByteBuf.java:589)
>>
>> io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:242)
>>
>> io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119)
>>
>> io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
>>
>> io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
>>
>> io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
>> io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
>>
>> io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:110)
>>
>> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
>> java.lang.Thread.run(Thread.java:745)
>> Created at:
>>
>> io.netty.buffer.UnpooledByteBufAllocator.newDirectBuffer(UnpooledByteBufAllocator.java:55)
>>
>> io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:155)
>>
>> io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:146)
>>
>> io.netty.buffer.AbstractByteBufAllocator.ioBuffer(AbstractByteBufAllocator.java:107)
>>
>> io.netty.channel.AdaptiveRecvByteBufAllocator$HandleImpl.allocate(AdaptiveRecvByteBufAllocator.java:104)
>>
>> io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:117)
>>
>> io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
>>
>> io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
>>
>> io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
>> io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
>>
>> io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:110)
>>
>> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
>> java.lang.Thread.run(Thread.java:745)
>>
>>
> My wrapper class for msf4j request is [1]. Did I missed something here?
>
> [1] -
> https://github.com/thusithathilina/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/io/MSF4JRequestInputStream.java#L43
>
> [2] -
> https://github.com/wso2/carbon-transports/blob/v2.1.0/http/netty/components/org.wso2.carbon.transport.http.netty/src/main/java/org/wso2/carbon/transport/http/netty/NettyCarbonMessage.java#L62
>
> Thanks
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
>
>


-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MSF4J] How to enable mutual TLS..?

2016-06-12 Thread Isuru Ranawaka
Hi Parabth,

It will be available in 2.1.1(next release) release of carbon transport. We
are trying to release within next week.

Thanks

On Mon, Jun 13, 2016 at 12:05 AM, Prabath Siriwardana <prab...@wso2.com>
wrote:

> Any update on this please... which release we are planning this feature
> for..?
>
> Thanks & regards,
> -Prabath
>
>
> On Tue, May 24, 2016 at 9:10 PM, Prabath Siriwardana <prab...@wso2.com>
> wrote:
>
>> We would also need to support other properties too - like limiting cipher
>> suites in TLS...
>>
>> Thanks & regards,
>> -Prabath
>>
>>
>> On Tue, May 24, 2016 at 9:08 PM, Isuru Ranawaka <isu...@wso2.com> wrote:
>>
>>> Hi Kasun,
>>>
>>> Currently It is not supported and I will add it to transport layer.
>>>
>>>
>>>
>>> On Tue, May 24, 2016 at 11:01 PM, Kasun Indrasiri <ka...@wso2.com>
>>> wrote:
>>>
>>>> We might have not implemented this at the transport level.
>>>> @Ranawaka/Senduran any thoughts?
>>>>
>>>> On Tue, May 24, 2016 at 10:24 AM, Prabath Siriwardana <prab...@wso2.com
>>>> > wrote:
>>>>
>>>>> Looking at the doc [1] - and could not find any properties related to
>>>>> the $subject...
>>>>>
>>>>> [1]:
>>>>> https://docs.wso2.com/display/MSF4J110/Invoking+Your+Microservice+via+HTTPS
>>>>>
>>>>> --
>>>>> Thanks & Regards,
>>>>> Prabath
>>>>>
>>>>> Twitter : @prabath
>>>>> LinkedIn : http://www.linkedin.com/in/prabathsiriwardena
>>>>>
>>>>> Mobile : +1 650 625 7950
>>>>>
>>>>> http://facilelogin.com
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Kasun Indrasiri
>>>> Software Architect
>>>> WSO2, Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> cell: +94 77 556 5206
>>>> Blog : http://kasunpanorama.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards
>>> Isuru Ranawaka
>>> M: +94714629880
>>> Blog : http://isurur.blogspot.com/
>>>
>>
>>
>>
>> --
>> Thanks & Regards,
>> Prabath
>>
>> Twitter : @prabath
>> LinkedIn : http://www.linkedin.com/in/prabathsiriwardena
>>
>> Mobile : +1 650 625 7950
>>
>> http://facilelogin.com
>>
>
>
>
> --
> Thanks & Regards,
> Prabath
>
> Twitter : @prabath
> LinkedIn : http://www.linkedin.com/in/prabathsiriwardena
>
> Mobile : +1 650 625 7950
>
> http://facilelogin.com
>



-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [BPS] How to do blocking HTTP calls in C5

2016-06-08 Thread Isuru Ranawaka
HI Natasha,

Currently carbon transport sender operates in fully asynchronous nature
with callbacks.  what can we do is  writing a callback listener  which
operates as a Java future  and  blocks the calling thread until results are
available.we will look for implement an  API for blocking calls for
transport sender and this is  required by ESB as well.

On Tue, Jun 7, 2016 at 12:35 PM, Natasha Wijesekara <nata...@wso2.com>
wrote:

> Hi,
>
> With regards to the $subject, in BPS  currently we are using the  HTTP
> Client for external invocations as we need to do blocking HTTP calls to
> invoke partner services. In C5, what are the options available to do
> blocking HTTP calls ?  It seems that netty transport is only supporting
> non-blocking HTTP calls.
>
>
> Best Regards,
> *Natasha Wijesekare*
>
> *Software Engineering Intern, WSO2  Inc:  http://wso2.com
> <http://wso2.com/>*
> *email  : nata...@wso2.com <nata...@wso2.com>*
> *mobile: +94 771358651 <%2B94%20771358651>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is streaming input & output support working in MSF4J?

2016-06-02 Thread Isuru Ranawaka
Hi Azeez,

Please find the below sample code.

public class Test {

public static void main(String[] args) {
Thread t = new Thread(new Test.ContentFiller());
t.start();
}

static class ContentFiller implements Runnable {

@Override
public void run() {
CarbonMessage carbonMessage = new DefaultCarbonMessage();
String val = "This is a test";
byte[] array = val.getBytes();
Thread t = new Thread(new ContentReader(carbonMessage));
t.start();
for (int i = 0; i < 1000; i++) {

ByteBuffer byteBuffer = ByteBuffer.allocate(array.length);
byteBuffer.put(array);
System.out.println("Adding content");
carbonMessage.addMessageBody(byteBuffer);

}
carbonMessage.setEndOfMsgAdded(true);
}
}

static class ContentReader implements Runnable {

CarbonMessage carbonMessage;

ContentReader(CarbonMessage carbonMessage) {
this.carbonMessage = carbonMessage;
}

@Override
public void run() {
while (true) {
if (carbonMessage.isEmpty() &&
carbonMessage.isEndOfMsgAdded()) {
break;
} else {
ByteBuffer byteBuffer = carbonMessage.getMessageBody();
System.out.println("Content Reading " + new
String(byteBuffer.array()));
}
}
}
}
}

On Thu, Jun 2, 2016 at 9:55 PM, Afkham Azeez <az...@wso2.com> wrote:

> This CarbonMessage API is not intuitive. Please share code samples that
> demonstrate streaming input handling with CarbonMessage (request).
>
> On Thu, Jun 2, 2016 at 9:52 PM, Samiyuru Senarathne <samiy...@wso2.com>
> wrote:
>
>> I assume isEndOfMsgAdded only tell that all the chunks are loaded to the
>> blocking queue. So still we have to complete the total blocking queue.
>>
>> On Thu, Jun 2, 2016 at 9:50 PM, Afkham Azeez <az...@wso2.com> wrote:
>>
>>> while(!carbonMsg.isEndOfMsgAdded) {
>>>   ByteBuffer chunk = carbonMsg.getMessageBody();
>>>
>>> }
>>>
>>> In the above segment, carbonMsg is the request CarbonMessage and the
>>> above code segment doesn't work. Code inside the while loop never executes.
>>>
>>>
>>> On Thu, Jun 2, 2016 at 9:47 PM, Isuru Ranawaka <isu...@wso2.com> wrote:
>>>
>>>> Hi Azeez,
>>>>  yes that should work. Anyhow content needs to be added to carbonMsg
>>>> from one thread and read to be from another thread.
>>>>
>>>> thanks
>>>>
>>>> On Thu, Jun 2, 2016 at 9:23 PM, Afkham Azeez <az...@wso2.com> wrote:
>>>>
>>>>> Is the following code segment the way to read all the chunks;
>>>>>
>>>>> while(!carbonMsg.isEndOfMsgAdded) {
>>>>>   ByteBuffer chunk = carbonMsg.getMessageBody();
>>>>>
>>>>> }
>>>>>
>>>>> On Thu, Jun 2, 2016 at 9:21 PM, Afkham Azeez <az...@wso2.com> wrote:
>>>>>
>>>>>> Looks like we require changes for input streaming as well.
>>>>>>
>>>>>> Does CarbonMessage.getMessageBody() block until the next chunk is
>>>>>> received?
>>>>>>
>>>>>> On Thu, Jun 2, 2016 at 9:18 PM, Afkham Azeez <az...@wso2.com> wrote:
>>>>>>
>>>>>>> Samiyuru/Isuru,
>>>>>>> Does this mean that the input streaming in MSF4J is currently
>>>>>>> working without any issue and only output streaming requires some work?
>>>>>>>
>>>>>>> On Tue, May 3, 2016 at 2:29 PM, Isuru Ranawaka <isu...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> Following are the details on streaming support of carbon transport.
>>>>>>>> Basically we can looking to streaming support in request path and 
>>>>>>>> response
>>>>>>>> path separately.
>>>>>>>>
>>>>>>>> Request Path (Streaming is working)
>>>>>>>>
>>>>>>>> [image: requestpath.png]
>>>>>>>>
>>>>>>>> According to above diagram
>>>>>>>>
>>>>>>>>-
>>>>>>>>
>>>>>>>>We have 

Re: [Dev] Is streaming input & output support working in MSF4J?

2016-06-02 Thread Isuru Ranawaka
Hi Azeez,
 yes that should work. Anyhow content needs to be added to carbonMsg from
one thread and read to be from another thread.

thanks

On Thu, Jun 2, 2016 at 9:23 PM, Afkham Azeez <az...@wso2.com> wrote:

> Is the following code segment the way to read all the chunks;
>
> while(!carbonMsg.isEndOfMsgAdded) {
>   ByteBuffer chunk = carbonMsg.getMessageBody();
>
> }
>
> On Thu, Jun 2, 2016 at 9:21 PM, Afkham Azeez <az...@wso2.com> wrote:
>
>> Looks like we require changes for input streaming as well.
>>
>> Does CarbonMessage.getMessageBody() block until the next chunk is
>> received?
>>
>> On Thu, Jun 2, 2016 at 9:18 PM, Afkham Azeez <az...@wso2.com> wrote:
>>
>>> Samiyuru/Isuru,
>>> Does this mean that the input streaming in MSF4J is currently working
>>> without any issue and only output streaming requires some work?
>>>
>>> On Tue, May 3, 2016 at 2:29 PM, Isuru Ranawaka <isu...@wso2.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> Following are the details on streaming support of carbon transport.
>>>> Basically we can looking to streaming support in request path and response
>>>> path separately.
>>>>
>>>> Request Path (Streaming is working)
>>>>
>>>> [image: requestpath.png]
>>>>
>>>> According to above diagram
>>>>
>>>>-
>>>>
>>>>We have blocking queue in the carbon message which keeps the
>>>>content . when headers are received through Netty worker thread it will
>>>>create CarbonMessage with a blocking queue and publish carbon message to
>>>>engine level thread.
>>>>-
>>>>
>>>>Reference for blocking queue is cached in the connection and when
>>>>content is received it will be filled to that queue from Netty worker
>>>>thread.
>>>>-
>>>>
>>>>Meanwhile engine level threads can consume content through
>>>>queue(While IO worker is filling ) and can directly send to file system 
>>>> or
>>>>use sender for send messages to external  service.
>>>>-
>>>>
>>>>According to that streaming should work in Request path in
>>>>Integration Server or MSF4J without any problem.
>>>>
>>>>
>>>> Response Path (Streaming working scenario)
>>>>
>>>> [image: responsepathworking.png]
>>>>
>>>>
>>>> In Response path basic difference we have is we are handling responses
>>>> through callbacks.
>>>>
>>>>
>>>>-
>>>>
>>>>Similar to  Request path architecture  Sender side IO thread
>>>> creates a CM when response headers are received and publish to engine
>>>>level thread .
>>>>-
>>>>
>>>>Engine level thread calls carbonCallback.done() and waits on queue
>>>>for content.
>>>>-
>>>>
>>>>Meanwhile IO thread writes the content to the Queue .
>>>>-
>>>>
>>>>So writing to Queue and reading from queue happens parallel and
>>>>streaming should work properly.
>>>>-
>>>>
>>>>So streaming is working fine with Integration Server for this kind
>>>>of scenarios.
>>>>
>>>>
>>>>
>>>> Response Path (Streaming not working scenario)
>>>>
>>>> [image: responsepathnotworking.png]
>>>>
>>>> This scenario is basically, if we have a Echo mediator or assume MSF4J
>>>> has a service which is  reading a file as chunks and writes back to client 
>>>> .
>>>>
>>>>
>>>>-
>>>>
>>>>Basic difference with the previous one  is in this approach reading
>>>>a file chunk  or stream and writing that file chunk or stream to Queue 
>>>> is
>>>>happened  within the same engine level thread as well as with reading 
>>>> from
>>>>queue and writing to Listener side Netty worker threads.(Same thread
>>>>produce and consume causes for deadlock)
>>>>-
>>>>
>>>>In the previous example reading from stream and filling the queue
>>>>was happened  through Sender side IO thread and consuming the queue and
>>>> 

Re: [Dev] [ESB][INBOUND]I A way to dentify an inbound https request comes through mutual auth flow

2016-05-31 Thread Isuru Ranawaka
Hi Lalaji,

Same property needs to be there in Inbound https requests as well.

On Tue, May 31, 2016 at 3:58 PM, Lalaji Sureshika <lal...@wso2.com> wrote:

> Hi,
>
> Is there a transport level property available to identify whether an
> inbound https request hits WSO2 ESB after successfully passed mutual
> authentication layer..?
> With transport receiver level mutual authentication flow,it could use the
> axis2 property 'ssl.client.auth.cert.X509' to check if the request has
> come through successful mutual ssl flow.
>
> Thanks;
>
> --
> Lalaji Sureshika
> WSO2, Inc.;  http://wso2.com/
> email: lal...@wso2.com;
> blog: http://lalajisureshika.blogspot.com
>
>
>


-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC Project: HTTP Load Balancer On Top Of WSO2 Gateway Discussion

2016-05-29 Thread Isuru Ranawaka
Hi Venkat.

Good.I will look at the implementation and setup a call for discuss next
steps.

thanks

On Mon, May 30, 2016 at 10:27 AM, Venkat Raman <vraman2...@gmail.com> wrote:

> Hi Isuru,
>
> Good morning :) . Kindly find the 1st week's progress.
>
> 1) Implementation of Round-Robin algorithm for Outbound Endpoints.
> 2) Round-Robin algorithm with group support, but one .iflow config file
> can have only one group as of now as mentioned earlier.
> 3) Few input validations.
>
> Kindly find the repo here.
> <https://github.com/Venkat2811/product-http-load-balancer>
>
> In proposal I've mentioned that I'll be covering HTTPS 2nd week,since
> it'll be made available later in carbon-gateway-framework repo, I'm
> planning to proceed with adding session persistence.
>
> Will be looking forward for your feedback.
>
>
>
> *Thanks,*
> *Venkat.*
>
> On Wed, May 25, 2016 at 8:57 PM, Venkat Raman <vraman2...@gmail.com>
> wrote:
>
>> Hi Ravi,
>>
>> Thank you for the clear explanation :) .  Yes, I added  appropriate log
>> statements and I was able to understand the flow and I am clear with it
>> now.
>>
>>
>>
>>
>> *Thanks,*
>> *Venkat.*
>>
>> On Wed, May 25, 2016 at 8:09 PM, Ravi Undupitiya <r...@wso2.com> wrote:
>>
>>> Hi Venkat,
>>>
>>> Please find answers inline below.
>>>
>>> On Tue, May 24, 2016 at 9:29 PM, Venkat Raman <vraman2...@gmail.com>
>>> wrote:
>>>>
>>>>
>>>> 1) Why are we pushing variables in carbon message variables stack..??
>>>>
>>>
>>> One of the features of the language is to have variables we can declare
>>> and use throughout the mediation flow. We are able to populate variables
>>> during loading and during runtime and so variable stack is kept inside the
>>> carbon message so each thread has its own variable stack. Hope that
>>> clarifies.
>>>
>>>
>>>> 2) Also could you kindly explain how AbstractFlowController and
>>>> FlowControllerCallback are working together.  My understanding is not quite
>>>> clear on this.
>>>>
>>>
>>> AbstractFlowControllers are mediators that require controlling the flow
>>> (like filter mediator) where we the mediation flow branching out, in which
>>> case we want to mediate only the branch we're in and FlowControllerCallback
>>> is a CarbonCallback that we pass on to receive method of mediators of a
>>> particular branch. This allows us to continue mediation from the parent
>>> once a branch is complete. You can test this out by debugging the
>>> FilterMediator, try passing on the usual callback and then check by passing
>>> on a FlowControllerCallback.
>>>
>>> @IsuruR, please correct me if I'm wrong. :)
>>>
>>>
>>> Thanks,
>>> --
>>> *Ravi Undupitiya*
>>> Senior Software Engineer; WSO2 http://wso2.com
>>>
>>>
>>> *E-mail: r...@wso2.com <http://wso2.com>**M: **+94 772 930 712
>>> <%2B94%C2%A0772%20930%20712>*
>>>
>>> Lean . Enterprise . Middleware
>>>
>>
>>
>


-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MSF4J] How to enable mutual TLS..?

2016-05-24 Thread Isuru Ranawaka
Hi Kasun,

Currently It is not supported and I will add it to transport layer.



On Tue, May 24, 2016 at 11:01 PM, Kasun Indrasiri <ka...@wso2.com> wrote:

> We might have not implemented this at the transport level.
> @Ranawaka/Senduran any thoughts?
>
> On Tue, May 24, 2016 at 10:24 AM, Prabath Siriwardana <prab...@wso2.com>
> wrote:
>
>> Looking at the doc [1] - and could not find any properties related to the
>> $subject...
>>
>> [1]:
>> https://docs.wso2.com/display/MSF4J110/Invoking+Your+Microservice+via+HTTPS
>>
>> --
>> Thanks & Regards,
>> Prabath
>>
>> Twitter : @prabath
>> LinkedIn : http://www.linkedin.com/in/prabathsiriwardena
>>
>> Mobile : +1 650 625 7950
>>
>> http://facilelogin.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Kasun Indrasiri
> Software Architect
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> cell: +94 77 556 5206
> Blog : http://kasunpanorama.blogspot.com/
>



-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Streaming capabilities in the GW framework

2016-05-13 Thread Isuru Ranawaka
Hi Anupama,

Streaming support is already added in the transport level. So gateway
framework also inherently support it. For more information refer mail
thread in Dev

"[Dev] Is streaming input & output support working in MSF4J? "

thanks

On Fri, May 13, 2016 at 4:07 PM, Anupama Pathirage <anup...@wso2.com> wrote:

> Hi All,
>
> When implementing the Data Integration Server (DIS) which is based on the
> GW framework, Streaming functionality is identified as one of the core
> feature which is already there in the DSS as well. The streaming
> functionality should make sure that the full result set is not built
> completely at the server side before sending the response, but the records
> are streamed to the client side as they are made available. This will help
> to avoid, data getting piled up at the server side which can possibly cause
> OOM issues etc specially in the presence of a large data set [1] .
>
> Since this is a core feature required for DIS, appreciate input on
> followings, so we can make a decision on how to move forward.
>
> 1) What is the current status of streaming aspects in the gateway
> framework?
> 2) If it is not supported yet, what are the suggestions to start on that.
>
> [1]
> http://wso2.com/library/knowledge-base/large-scale-data-transfer-data-services-streaming/
>
> Regards.
> --
> Anupama Pathirage
> Associate Technical Lead
> WSO2, Inc.  http://wso2.com/
> Email: anup...@wso2.com
> Mobile:+94 71 8273 979
> Blog:http://mycodeideas.blogspot.com/
>
>
>


-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Best way to get the message size of a incoming request from a handler

2016-05-02 Thread Isuru Ranawaka
Hi Harsha,

I think we can read the InputStream without consuming and write it to
OutputStream.  There you can can calculate the length.No need to build in
to Object model . Refer [1]

[1]
https://github.com/wso2/wso2-synapse/blob/master/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/PassThroughHttpSender.java


On Mon, May 2, 2016 at 4:52 PM, Harsha Kumara <hars...@wso2.com> wrote:

> Hi All,
>
> We have requirement to get the message size of request coming to APIM
> Gateway to throttled based on bandwidth. To get the message size we have
> following below approach
>
> 1) First check the Content-Length transport header is coming with the
> request. If it present message length will be pick from the transport header
> 2) If the Content-Length is not present, we are proceed with building the
> message using RelayUtils and get the soapBody message size which is pretty
> expensive method.
>
> Is this the best way to calculate the message length. Or do we have any
> alternatives such as read the length from input stream?
>
> Thanks,
> Harsha
>
> --
> Harsha Kumara
> Software Engineer, WSO2 Inc.
> Mobile: +94775505618
> Blog:harshcreationz.blogspot.com
>



-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Proposal 10: [ESB/GW] Security Gateway on top of WSO2 Gateway

2016-03-21 Thread Isuru Ranawaka
;>>>>>
>>>>>>>>>> Disclaimer: This communication may contain privileged or other
>>>>>>>>>> confidential information and is intended exclusively for the 
>>>>>>>>>> addressee/s.
>>>>>>>>>> If you are not the intended recipient/s, or believe that you may have
>>>>>>>>>> received this communication in error, please reply to the sender 
>>>>>>>>>> indicating
>>>>>>>>>> that fact and delete the copy you received and in addition, you 
>>>>>>>>>> should not
>>>>>>>>>> print, copy, re-transmit, disseminate, or otherwise use the 
>>>>>>>>>> information
>>>>>>>>>> contained in this communication. Internet communications cannot be
>>>>>>>>>> guaranteed to be timely, secure, error or virus-free. The sender 
>>>>>>>>>> does not
>>>>>>>>>> accept liability for any errors or omissions.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Thank you and Best Regards,
>>>>>>>>> Chanaka Fernando
>>>>>>>>> Senior Technical Lead
>>>>>>>>> WSO2, Inc.; http://wso2.com
>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>
>>>>>>>>> mobile: +94 773337238
>>>>>>>>> Blog : http://soatutorials.blogspot.com
>>>>>>>>> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
>>>>>>>>> Twitter:https://twitter.com/chanakaudaya
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Thank you and Best Regards,
>>>>>>>> Chanaka Fernando
>>>>>>>> Senior Technical Lead
>>>>>>>> WSO2, Inc.; http://wso2.com
>>>>>>>> lean.enterprise.middleware
>>>>>>>>
>>>>>>>> mobile: +94 773337238
>>>>>>>> Blog : http://soatutorials.blogspot.com
>>>>>>>> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
>>>>>>>> Twitter:https://twitter.com/chanakaudaya
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Best regards,
>>>>>>> Samitha Palihawadana
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Kasun Indrasiri
>>>>>> Software Architect
>>>>>> WSO2, Inc.; http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>> cell: +94 77 556 5206
>>>>>> Blog : http://kasunpanorama.blogspot.com/
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best regards,
>>>>> Samitha Palihawadana
>>>>> Department of Computer Science and Engineering,
>>>>> Faculty of Engineering,
>>>>> University of Moratuwa.
>>>>> Sri lanka.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thank you and Best Regards,
>>>> Chanaka Fernando
>>>> Senior Technical Lead
>>>> WSO2, Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> mobile: +94 773337238
>>>> Blog : http://soatutorials.blogspot.com
>>>> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
>>>> Twitter:https://twitter.com/chanakaudaya
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Samitha Palihawadana
>>> Department of Computer Science and Engineering,
>>> Faculty of Engineering,
>>> University of Moratuwa.
>>> Sri lanka.
>>>
>>
>>
>>
>> --
>> Best regards,
>> Samitha Palihawadana
>> Department of Computer Science and Engineering,
>> Faculty of Engineering,
>> University of Moratuwa.
>> Sri lanka.
>>
>
>
>
> --
> Thank you and Best Regards,
> Chanaka Fernando
> Senior Technical Lead
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 773337238
> Blog : http://soatutorials.blogspot.com
> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
> Twitter:https://twitter.com/chanakaudaya
>
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Proposal 8: [ESB/GW] HTTP Load balancer on top of WSO2 Gateway - Reg

2016-03-19 Thread Isuru Ranawaka
Hi Venkat,

I have gone through your usecases document and it seems good.We need to
figure out a way how we can actually implement those usecases. As Kasun
mentioned please look in to carbon transport implementation and try to
write a simple engine . Basically we need figure out best way for configure
transport according to configurations given through engine . for  example
we need to configure transport for SSL support and those informations are
published by loadbalancer  engine to the transport any how those need to be
loosely couple with transport implementation .

thanks

On Tue, Mar 15, 2016 at 8:15 PM, Venkat Raman <vraman2...@gmail.com> wrote:

> Hi Kasun,
>
> Thank you for your valuable guidance.  I started drafting my proposal.
> I'll look into it and come up with design and share it with you.
>
>
>
> *Thanks,*
> *Venkat.*
>
> On Tue, Mar 15, 2016 at 7:53 PM, Kasun Indrasiri <ka...@wso2.com> wrote:
>
>> Hi Venkat,
>>
>> May be you should start going through the carbon http transport and GW
>> code[1]. Please not that we won't be using Camel as the message routing
>> engine for the loadbalancer as it too heavy weight. I think,
>> understanding[2] about OSGI and how carbon transport/messaging/engine works
>> together is important at this point.
>>
>> [1] source code locations
>> https://github.com/wso2/carbon-transports
>> https://github.com/wso2/carbon-messaging
>> https://github.com/wso2/product-gw
>>
>> [2]
>> http://shafreenanfar.blogspot.com/2016/03/write-your-own-engine-for-wso2-gw.html
>>
>> On Sun, Mar 13, 2016 at 10:04 AM, Venkat Raman <vraman2...@gmail.com>
>> wrote:
>>
>>> Hi Isuru & Kasun,
>>>
>>> Good morning.  Kindly find the attached document for comparison between
>>> few existing LBs.
>>>
>>> Looking forward to hear feedback from you regarding my initial design.
>>>
>>> Thanks,
>>> *Venkat.*
>>> Hi Isuru & Kasun,
>>>
>>> Kindly find the attached USE CASE document for HTTP Load balancing.
>>> This document also includes, my basic outline of deliverables that I am
>>> planning for this GSoC 2016.
>>>
>>> Will be eagerly waiting for your response and guidance.
>>>
>>> I have also signed up for the Proposal writing guidance conference that
>>> you are organizing.  Will I be able to attend it through video
>>> conferencing.?
>>>
>>>
>>>
>>>
>>> *Thanks,*
>>> *Venkat.*
>>>
>>> On Fri, Mar 11, 2016 at 10:54 AM, Venkat Raman <vraman2...@gmail.com>
>>> wrote:
>>>
>>>> Hi Isuru,
>>>>
>>>> Thank you.  By EOD I'll also mail you these use cases pertained to HTTP
>>>> Load Balancing.
>>>>
>>>> Thanks,
>>>> Venkat.
>>>> On Mar 11, 2016 10:49 AM, "Isuru Ranawaka" <isu...@wso2.com> wrote:
>>>>
>>>>> Hi Venkat,
>>>>>
>>>>> Thanks for the great enthusiasm.  We will look in to that and let you
>>>>> know soon.
>>>>>
>>>>> On Fri, Mar 11, 2016 at 10:30 AM, Venkat Raman <vraman2...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Isuru & Kasun,
>>>>>>
>>>>>> Good morning.  Is the initial design diagram that I mailed is good ?
>>>>>> Eagerly awaiting for your response and guidance.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Thanks,*
>>>>>> *Venkat.*
>>>>>>
>>>>>> On Wed, Mar 9, 2016 at 10:03 PM, Venkat Raman <vraman2...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Isuru & Kasun,
>>>>>>>
>>>>>>> Thank you for sharing the slide.  It is of great help. I have done
>>>>>>> lots of reading and also learned about many new and fascinating
>>>>>>> technologies.  I have come up with a set of features and also initial
>>>>>>> design diagram. You can find it in the document and image attached 
>>>>>>> below.
>>>>>>> I came up with this architecture design with reference to the design 
>>>>>>> given
>>>>>>> in slide provided by Kasun.
>>>>>>>
>>>>>>> I am so eager about this project a

Re: [Dev] Proposal 8: [ESB/GW] HTTP Load balancer on top of WSO2 Gateway - Reg

2016-03-10 Thread Isuru Ranawaka
Hi Venkat,

Thanks for the great enthusiasm.  We will look in to that and let you  know
soon.

On Fri, Mar 11, 2016 at 10:30 AM, Venkat Raman <vraman2...@gmail.com> wrote:

> Hi Isuru & Kasun,
>
> Good morning.  Is the initial design diagram that I mailed is good ?
> Eagerly awaiting for your response and guidance.
>
>
>
>
>
>
> *Thanks,*
> *Venkat.*
>
> On Wed, Mar 9, 2016 at 10:03 PM, Venkat Raman <vraman2...@gmail.com>
> wrote:
>
>> Hi Isuru & Kasun,
>>
>> Thank you for sharing the slide.  It is of great help. I have done lots
>> of reading and also learned about many new and fascinating technologies.  I
>> have come up with a set of features and also initial design diagram. You
>> can find it in the document and image attached below.  I came up with this
>> architecture design with reference to the design given in slide provided by
>> Kasun.
>>
>> I am so eager about this project and I am interested to design and
>> deliver it with high quality.  Kindly go through the attached document,
>> guide and correct me appropriately.  Once I satisfy your design and feature
>> expectation, I will provide comparison between existing LBs and our LB.
>>
>> Will be looking forward to your guidance and corrections.  Meanwhile,
>> I'll go through the code in much deeper way and also evaluate few existing
>> LBs for feature comparison.
>>
>>
>>
>>
>> *Thanks,*
>> *Venkat.*
>>
>> On Wed, Mar 9, 2016 at 10:55 AM, Kasun Indrasiri <ka...@wso2.com> wrote:
>>
>>> Hi Venkat,
>>>
>>> Please check [1]. Hope that help. Also, can you please come up with the
>>> use cases which are specific to HTTP load balancing?
>>>
>>> [1]
>>> http://www.slideshare.net/kasun04/wso2-gateway?qid=9c8d89a4-e982-4883-87a8-ac2dca7bf223==_search=1
>>>
>>> On Fri, Mar 4, 2016 at 8:12 PM, Venkat Raman <vraman2...@gmail.com>
>>> wrote:
>>>
>>>> Hi Isuru,
>>>>
>>>> Thank you this document helped me to understand requirements of this
>>>> Proposal in a much clear way.
>>>>
>>>> Yesterday I downloaded Beta3 release of product-gw and tried header
>>>> based and REST based mediation. And I also started learning about Apache
>>>> Camel. I also noticed Netty logs while starting gateway.
>>>>
>>>> I could understand how product-gw will work and the degree of
>>>> customization it provides.
>>>>
>>>> I also did research on HTTP LBs and read about Google App Engine LB in
>>>> detail.
>>>>
>>>> Yes, sure. I'll do these background work
>>>>
>>>> It would be helpful if you could provide me  detailed Architecture
>>>> Diagrams for Carbon Messaging, Carbon Transports and Product Gateway also.
>>>>
>>>> Thanks,
>>>> Venkat.
>>>> On Mar 4, 2016 3:06 PM, "Isuru Ranawaka" <isu...@wso2.com> wrote:
>>>>
>>>>> Hi Venkat ,
>>>>>
>>>>> You can look in to this and start doing background reasearch. Let me
>>>>> know anythings that need to be know
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Mar 3, 2016 at 9:54 AM, Venkat Raman <vraman2...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Kasun,
>>>>>>
>>>>>> Thanks for your guidance. Sure, I'll start exploring GW and also come
>>>>>> up with design.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Thanks,*
>>>>>> *Venkat.*
>>>>>>
>>>>>> On Thu, Mar 3, 2016 at 7:58 AM, Kasun Indrasiri <ka...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Venkat,
>>>>>>>
>>>>>>> Thanks for your interest in the above proposal. Yes, the same link
>>>>>>> is valid for all the projects related GW (I've updated the references). 
>>>>>>> So,
>>>>>>> to get started with you can start running the samples and going through 
>>>>>>> the
>>>>>>> code base of GW.
>>>>>>> Also you can come up with the use cases that you are planning to add
>>>>>>> on top of HTTP GW. And come up with a design of the existing GW and how 
>>>

Re: [Dev] [ESB/GW] Improve production system debugging capabilities of ESB (ESB Flight Recorder) Project in GSOC 2016

2016-03-08 Thread Isuru Ranawaka
Hi Danoja ,

It is glad to here that you are interested in this project.
As a starting point, you can download WSO2 ESB[1] and start play with it.
You may run few samples[2] to get familiar with the product first.


After gaining high level understanding and usecases of ESB you can come up
with a feature set that we need to include in this project to monitor ESB
server status in production systems. Real usecase of this project is to
make ease of analyses production incidents such as Out of Memory incidents.
For that we may need to get thread dumps, heap dumps ..etc. So as first
step we need to look at  what are the informations that we need to get by
running ESB Flight Recoder,


[1]http://wso2.com/products/enterprise-service-bus/
[2]https://docs.wso2.com/display/ESB490/Samples

thanks
IsuruR


On Sun, Feb 21, 2016 at 11:40 AM, Danoja Dias <danojad...@gmail.com> wrote:

> Dear Sir,
>
> I am Danoja Dias a third year undergraduate from university of Peradeniya.
> I am interested in the Project
>
> *[ESB/GW] Improve production system debugging capabilities of ESB (ESB
> Flight Recorder)*
> I read about java flight recorder continuous recording and I like to
> implement with java. So I think I can complete this project with the help
> of mentors.
>
> Could you please help me to continue on this project. I need some
> references and steps to continue.
>
> Thank you,
> Best Regards,
> Danoja Dias.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge the following Carbon-Transports pull requests

2016-03-04 Thread Isuru Ranawaka
On Fri, Mar 4, 2016 at 11:57 AM, Samiyuru Senarathne <samiy...@wso2.com>
wrote:

> https://github.com/wso2/carbon-transports/pull/38
> https://github.com/wso2/carbon-transports/pull/39
>


Merged



>
> Best Regards,
> Samiyuru
>
> --
> Samiyuru Senarathne
> *Software Engineer*
> Mobile : +94 (0) 71 134 6087
> samiy...@wso2.com
>



-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC 2016: Proposal 7

2016-03-03 Thread Isuru Ranawaka
>>>>>>>>>>>
>>>>>>>>>>>>> Dear sir,
>>>>>>>>>>>>>
>>>>>>>>>>>>> When i tried to run axis2server.bat came bundled with wso2esb
>>>>>>>>>>>>> i am getting this
>>>>>>>>>>>>>
>>>>>>>>>>>>> Usage: java [-options] class [args...]
>>>>>>>>>>>>>(to execute a class)
>>>>>>>>>>>>>or  java [-options] -jar jarfile [args...]
>>>>>>>>>>>>>(to execute a jar file)
>>>>>>>>>>>>> where options include:
>>>>>>>>>>>>> -d32  use a 32-bit data model if available
>>>>>>>>>>>>> -d64  use a 64-bit data model if available
>>>>>>>>>>>>> -server   to select the "server" VM
>>>>>>>>>>>>>   The default VM is server.
>>>>>>>>>>>>>
>>>>>>>>>>>>> -cp 
>>>>>>>>>>>>> -classpath >>>>>>>>>>>> files>
>>>>>>>>>>>>>   A ; separated list of directories, JAR
>>>>>>>>>>>>> archives,
>>>>>>>>>>>>>   and ZIP archives to search for class files.
>>>>>>>>>>>>> -D=
>>>>>>>>>>>>>   set a system property
>>>>>>>>>>>>> -verbose:[class|gc|jni]
>>>>>>>>>>>>>   enable verbose output
>>>>>>>>>>>>> -version  print product version and exit
>>>>>>>>>>>>> -version:
>>>>>>>>>>>>>   require the specified version to run
>>>>>>>>>>>>> -showversion  print product version and continue
>>>>>>>>>>>>> -jre-restrict-search | -no-jre-restrict-search
>>>>>>>>>>>>>   include/exclude user private JREs in the
>>>>>>>>>>>>> version search
>>>>>>>>>>>>> -? -help  print this help message
>>>>>>>>>>>>> -Xprint help on non-standard options
>>>>>>>>>>>>> -ea[:...|:]
>>>>>>>>>>>>> -enableassertions[:...|:]
>>>>>>>>>>>>>   enable assertions with specified granularity
>>>>>>>>>>>>> -da[:...|:]
>>>>>>>>>>>>> -disableassertions[:...|:]
>>>>>>>>>>>>>   disable assertions with specified granularity
>>>>>>>>>>>>> -esa | -enablesystemassertions
>>>>>>>>>>>>>   enable system assertions
>>>>>>>>>>>>> -dsa | -disablesystemassertions
>>>>>>>>>>>>>   disable system assertions
>>>>>>>>>>>>> -agentlib:[=]
>>>>>>>>>>>>>   load native agent library , e.g.
>>>>>>>>>>>>> -agentlib:hprof
>>>>>>>>>>>>>   see also, -agentlib:jdwp=help and
>>>>>>>>>>>>> -agentlib:hprof=help
>>>>>>>>>>>>> -agentpath:[=]
>>>>>>>>>>>>>   load native agent library by full pathname
>>>>>>>>>>>>> -javaagent:[=]
>>>>>>>>>>>>>   load Java programming language agent, see
>>>>>>>>>>>>> java.lang.instrument
>>>>>>>>>>>>> -splash:
>>>>>>>>>>>>>   show splash screen with specified image
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Any reason for it ?
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Then I downloaded axis2 server and started it.It started
>>>>>>>>>>>>> correctly.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Thu, Feb 18, 2016 at 7:04 AM, Dinanjana Gunaratne <
>>>>>>>>>>>>> dinanjanagunara...@gmail.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks for the info :) i will look at it
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Wed, Feb 17, 2016 at 10:10 AM, Isuru Udana <
>>>>>>>>>>>>>> isu...@wso2.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Dinanjana,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thank you for your interest in this project.
>>>>>>>>>>>>>>> As a starting point, you can download WSO2 ESB[1] and start
>>>>>>>>>>>>>>> play with it.
>>>>>>>>>>>>>>> You may run few samples[2] to get familiar with the product
>>>>>>>>>>>>>>> first.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> [1] http://wso2.com/products/enterprise-service-bus/
>>>>>>>>>>>>>>> [2] http://docs.wso2.org/wiki/display/ESB490/Samples
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Mon, Feb 15, 2016 at 9:31 PM, Dinanjana Gunaratne <
>>>>>>>>>>>>>>> dinanjanagunara...@gmail.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> From: Dinanjana Gunaratne <dinanjanagunara...@gmail.com>
>>>>>>>>>>>>>>>> Date: Mon, Feb 15, 2016 at 9:27 PM
>>>>>>>>>>>>>>>> Subject: [Dev]GSOC 2016: Proposal 7
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Dear Sir,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I m a 3rd year Computer Engineering undergraduate at
>>>>>>>>>>>>>>>> University of Peradeniya. I would like to contribute to open 
>>>>>>>>>>>>>>>> source
>>>>>>>>>>>>>>>> community by taking part in GSOC 2016.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Recently i developed a remote monitoring system for an
>>>>>>>>>>>>>>>> organization which had some of those mentioned features. Such 
>>>>>>>>>>>>>>>> as alerting
>>>>>>>>>>>>>>>> when resources are over used and alerting when server stop 
>>>>>>>>>>>>>>>> responding. The
>>>>>>>>>>>>>>>> monitoring system developed in such a manner that the 
>>>>>>>>>>>>>>>> implementation of
>>>>>>>>>>>>>>>> monitoring system does not depend on components that are been 
>>>>>>>>>>>>>>>> monitored.
>>>>>>>>>>>>>>>> The solution is built using Java and Spring framework.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> So i wold like to know how to proceed on this project.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> *Isuru Udana*
>>>>>>>>>>>>>>> Associate Technical Lead
>>>>>>>>>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>>>>>>>>>> email: isu...@wso2.com cell: +94 77 3791887
>>>>>>>>>>>>>>> blog: http://mytecheye.blogspot.com/
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Isuru Udana*
>>>>>>>>>> Associate Technical Lead
>>>>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>>>>> email: isu...@wso2.com cell: +94 77 3791887
>>>>>>>>>> blog: http://mytecheye.blogspot.com/
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Isuru Udana*
>>>>> Associate Technical Lead
>>>>> WSO2 Inc.; http://wso2.com
>>>>> email: isu...@wso2.com cell: +94 77 3791887
>>>>> blog: http://mytecheye.blogspot.com/
>>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>> *Isuru Udana*
>> Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>> email: isu...@wso2.com cell: +94 77 3791887
>> blog: http://mytecheye.blogspot.com/
>>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon-Transport Disruptor ExecutorService threads

2016-03-03 Thread Isuru Ranawaka
Hi ,

I have added the support for configure worker pool in Disruptor and run
EventHandlers through it. you can configure
"disruptor.consumer.worker.pool.size" property as parameter in
netty-transports.yml  under TransportListener configurations.

thanks


On Thu, Feb 25, 2016 at 9:19 AM, Isuru Ranawaka <isu...@wso2.com> wrote:

> Hi Azeez,
>
> We will support that .
>
> thanks
>
>
> On Wed, Feb 24, 2016 at 12:35 PM, Afkham Azeez <az...@wso2.com> wrote:
>
>> In MSS, when a call reaches an operation, we may in turn call another
>> microservice or do a DB call, for example. Those scenarios need to be
>> supported.
>>
>> On Wed, Feb 24, 2016 at 10:49 AM, Isuru Ranawaka <isu...@wso2.com> wrote:
>>
>>> Hi Samiyuru,
>>>
>>> Do you need to do  blocking operations inside EventHandler threads ? If
>>> so we can add that functionality in future release
>>>
>>> thanks
>>>
>>> On Wed, Feb 24, 2016 at 10:35 AM, Samiyuru Senarathne <samiy...@wso2.com
>>> > wrote:
>>>
>>>> Hi Isuru,
>>>>
>>>> So what is the a way to have a worker pool [1]?
>>>>
>>>> [1] -
>>>> https://lmax-exchange.github.io/disruptor/docs/com/lmax/disruptor/dsl/Disruptor.html#handleEventsWithWorkerPool(com.lmax.disruptor.WorkHandler...)
>>>>
>>>> Best Regards,
>>>> Samiyuru
>>>>
>>>>
>>>> On Tue, Feb 23, 2016 at 10:30 AM, Isuru Ranawaka <isu...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi samiyuru,
>>>>>
>>>>> According to the Disruptor architecture it is written such that to
>>>>> minimize thread switching .If we define high number of  threads in 
>>>>> Executor
>>>>> Service  than no of EventHandlers then it will only pick
>>>>> threads equal to EventHandlers.If particular  thread blocked then that
>>>>> EventHandler also get blocked. So due to this reason we should not do any
>>>>> blocking operation inside Disruptor Handlers.So particular EventHandler is
>>>>> always bound to particular thread in ExceutorService for EventHandler life
>>>>> time.So I think configuring threads on Executor service  may not have
>>>>> significant improvement.
>>>>>
>>>>> thanks
>>>>> IsuruR
>>>>>
>>>>>
>>>>> On Tue, Feb 23, 2016 at 10:04 AM, Samiyuru Senarathne <
>>>>> samiy...@wso2.com> wrote:
>>>>>
>>>>>> Hi Shafreen,
>>>>>>
>>>>>> Yeah, the threads in this ExecutorService will be used to execute
>>>>>> the EventHandler. So, according to the current implementation for one
>>>>>> handler there will be only one thread right?
>>>>>>
>>>>>> In this case, events cannot be processed concurrently. Events will be
>>>>>> processed one after another sequentially. Therefore, I think we should 
>>>>>> have
>>>>>> a way to specify the number of event handlers and the number of threads 
>>>>>> in
>>>>>> the  ExecutorService separately.
>>>>>>
>>>>>> Best Regards,
>>>>>> Samiyuru
>>>>>>
>>>>>> On Tue, Feb 23, 2016 at 9:24 AM, Shafreen Anfar <shafr...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Samiyuru,
>>>>>>>
>>>>>>> AFAIU, for each Disruptor we create an ExecuterService. Threads in
>>>>>>> this ExecutorService will be used to execute the EventHandler of the
>>>>>>> Disruptor. Therefore, number of threads in the Executor are the number 
>>>>>>> of
>>>>>>> EventHanlders for that particular Disruptor.
>>>>>>>
>>>>>>> @IsuruR - please correct me if I am wrong :)
>>>>>>>
>>>>>>> On Fri, Feb 19, 2016 at 10:34 AM, Samiyuru Senarathne <
>>>>>>> samiy...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> In carbon-transport, why are the number of event handlers and the
>>>>>>>> number of threads in the ExecutorService of Disruptor [1] the same? Is
>>>>>>>> there a way to configure them separately?
>>

Re: [Dev] [GSoC] Proposal 8: HTTP Load balancer on top of WSO2 Gateway

2016-03-01 Thread Isuru Ranawaka
Hi Pubudu,

First you can evaluate  existing  loadbalancers (ex Nginx , HA ) and look
in to main features related to HTTP loadbalancing such as  Load balancing
methods (roundrobin, iphash, leastconnected) , session persistence,  ..etc.
Try to identify how those concepts works within those and come up with a
set of features that needs to be implemented.

thanks
IsuruR

On Wed, Mar 2, 2016 at 1:12 AM, Pubudu Fernando <pubudu...@cse.mrt.ac.lk>
wrote:

> Hi,
>
> I'm a 3rd year Computer Engineering undergraduate student from University
> of Moratuwa and I am interested in contributing to proposal 8, developing a
> HTTP load balancer on top of Gateway for GSoC. I am a bit familiar with
> load balancing concepts and WSO2 Gateway and I have configured and used
> Ngnix as a load balancer when configuring WSO2 server clusters. And I also
> did some background reading ([1], [2]) in order to gain a better
> understanding of concepts behind the construction of a load balancer.
>
> I would be grateful if you can advise me (topics and libraries that I
> should look up etc), regarding how to proceed with this project. Also, can
> you please elaborate a bit more about the requirements? Which load
> balancing algorithms do you expect to be implemented in this project?
>
> [1] - http://www.aosabook.org/en/nginx.html
> [2] -
> https://www.digitalocean.com/community/tutorials/understanding-nginx-http-proxying-load-balancing-buffering-and-caching
>
> Thank you.
>
> Best Regards,
>
> *Pubudu Fernando*
> Batch '12
> Department of Computer Science and Engineering
> University of Moratuwa
>



-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon-Transport Disruptor ExecutorService threads

2016-02-24 Thread Isuru Ranawaka
Hi Azeez,

We will support that .

thanks


On Wed, Feb 24, 2016 at 12:35 PM, Afkham Azeez <az...@wso2.com> wrote:

> In MSS, when a call reaches an operation, we may in turn call another
> microservice or do a DB call, for example. Those scenarios need to be
> supported.
>
> On Wed, Feb 24, 2016 at 10:49 AM, Isuru Ranawaka <isu...@wso2.com> wrote:
>
>> Hi Samiyuru,
>>
>> Do you need to do  blocking operations inside EventHandler threads ? If
>> so we can add that functionality in future release
>>
>> thanks
>>
>> On Wed, Feb 24, 2016 at 10:35 AM, Samiyuru Senarathne <samiy...@wso2.com>
>> wrote:
>>
>>> Hi Isuru,
>>>
>>> So what is the a way to have a worker pool [1]?
>>>
>>> [1] -
>>> https://lmax-exchange.github.io/disruptor/docs/com/lmax/disruptor/dsl/Disruptor.html#handleEventsWithWorkerPool(com.lmax.disruptor.WorkHandler...)
>>>
>>> Best Regards,
>>> Samiyuru
>>>
>>>
>>> On Tue, Feb 23, 2016 at 10:30 AM, Isuru Ranawaka <isu...@wso2.com>
>>> wrote:
>>>
>>>> Hi samiyuru,
>>>>
>>>> According to the Disruptor architecture it is written such that to
>>>> minimize thread switching .If we define high number of  threads in Executor
>>>> Service  than no of EventHandlers then it will only pick
>>>> threads equal to EventHandlers.If particular  thread blocked then that
>>>> EventHandler also get blocked. So due to this reason we should not do any
>>>> blocking operation inside Disruptor Handlers.So particular EventHandler is
>>>> always bound to particular thread in ExceutorService for EventHandler life
>>>> time.So I think configuring threads on Executor service  may not have
>>>> significant improvement.
>>>>
>>>> thanks
>>>> IsuruR
>>>>
>>>>
>>>> On Tue, Feb 23, 2016 at 10:04 AM, Samiyuru Senarathne <
>>>> samiy...@wso2.com> wrote:
>>>>
>>>>> Hi Shafreen,
>>>>>
>>>>> Yeah, the threads in this ExecutorService will be used to execute the
>>>>> EventHandler. So, according to the current implementation for one handler
>>>>> there will be only one thread right?
>>>>>
>>>>> In this case, events cannot be processed concurrently. Events will be
>>>>> processed one after another sequentially. Therefore, I think we should 
>>>>> have
>>>>> a way to specify the number of event handlers and the number of threads in
>>>>> the  ExecutorService separately.
>>>>>
>>>>> Best Regards,
>>>>> Samiyuru
>>>>>
>>>>> On Tue, Feb 23, 2016 at 9:24 AM, Shafreen Anfar <shafr...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Samiyuru,
>>>>>>
>>>>>> AFAIU, for each Disruptor we create an ExecuterService. Threads in
>>>>>> this ExecutorService will be used to execute the EventHandler of the
>>>>>> Disruptor. Therefore, number of threads in the Executor are the number of
>>>>>> EventHanlders for that particular Disruptor.
>>>>>>
>>>>>> @IsuruR - please correct me if I am wrong :)
>>>>>>
>>>>>> On Fri, Feb 19, 2016 at 10:34 AM, Samiyuru Senarathne <
>>>>>> samiy...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> In carbon-transport, why are the number of event handlers and the
>>>>>>> number of threads in the ExecutorService of Disruptor [1] the same? Is
>>>>>>> there a way to configure them separately?
>>>>>>>
>>>>>>> [1] -
>>>>>>> https://github.com/wso2/carbon-transports/blob/master/http/netty/components/org.wso2.carbon.transport.http.netty/src/main/java/org/wso2/carbon/transport/http/netty/common/disruptor/config/DisruptorFactory.java#L47
>>>>>>>
>>>>>>> Best Regards,
>>>>>>> Samiyuru
>>>>>>>
>>>>>>> --
>>>>>>> Samiyuru Senarathne
>>>>>>> *Software Engineer*
>>>>>>> Mobile : +94 (0) 71 134 6087
>>>>>>> samiy...@wso2.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> *Shafreen*
>>>>>> Software Engineer
>>>>>> WSO2 Inc
>>>>>> Mobile : 077-556-395-1
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Samiyuru Senarathne
>>>>> *Software Engineer*
>>>>> Mobile : +94 (0) 71 134 6087
>>>>> samiy...@wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards
>>>> Isuru Ranawaka
>>>> M: +94714629880
>>>> Blog : http://isurur.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> Samiyuru Senarathne
>>> *Software Engineer*
>>> Mobile : +94 (0) 71 134 6087
>>> samiy...@wso2.com
>>>
>>
>>
>>
>> --
>> Best Regards
>> Isuru Ranawaka
>> M: +94714629880
>> Blog : http://isurur.blogspot.com/
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>*
> *email: **az...@wso2.com* <az...@wso2.com>
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* <http://blog.afkham.org>
> *twitter: **http://twitter.com/afkham_azeez*
> <http://twitter.com/afkham_azeez>
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>



-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon-Transport Disruptor ExecutorService threads

2016-02-23 Thread Isuru Ranawaka
Hi Samiyuru,

Do you need to do  blocking operations inside EventHandler threads ? If so
we can add that functionality in future release

thanks

On Wed, Feb 24, 2016 at 10:35 AM, Samiyuru Senarathne <samiy...@wso2.com>
wrote:

> Hi Isuru,
>
> So what is the a way to have a worker pool [1]?
>
> [1] -
> https://lmax-exchange.github.io/disruptor/docs/com/lmax/disruptor/dsl/Disruptor.html#handleEventsWithWorkerPool(com.lmax.disruptor.WorkHandler...)
>
> Best Regards,
> Samiyuru
>
>
> On Tue, Feb 23, 2016 at 10:30 AM, Isuru Ranawaka <isu...@wso2.com> wrote:
>
>> Hi samiyuru,
>>
>> According to the Disruptor architecture it is written such that to
>> minimize thread switching .If we define high number of  threads in Executor
>> Service  than no of EventHandlers then it will only pick
>> threads equal to EventHandlers.If particular  thread blocked then that
>> EventHandler also get blocked. So due to this reason we should not do any
>> blocking operation inside Disruptor Handlers.So particular EventHandler is
>> always bound to particular thread in ExceutorService for EventHandler life
>> time.So I think configuring threads on Executor service  may not have
>> significant improvement.
>>
>> thanks
>> IsuruR
>>
>>
>> On Tue, Feb 23, 2016 at 10:04 AM, Samiyuru Senarathne <samiy...@wso2.com>
>> wrote:
>>
>>> Hi Shafreen,
>>>
>>> Yeah, the threads in this ExecutorService will be used to execute the
>>> EventHandler. So, according to the current implementation for one handler
>>> there will be only one thread right?
>>>
>>> In this case, events cannot be processed concurrently. Events will be
>>> processed one after another sequentially. Therefore, I think we should have
>>> a way to specify the number of event handlers and the number of threads in
>>> the  ExecutorService separately.
>>>
>>> Best Regards,
>>> Samiyuru
>>>
>>> On Tue, Feb 23, 2016 at 9:24 AM, Shafreen Anfar <shafr...@wso2.com>
>>> wrote:
>>>
>>>> Hi Samiyuru,
>>>>
>>>> AFAIU, for each Disruptor we create an ExecuterService. Threads in this
>>>> ExecutorService will be used to execute the EventHandler of the Disruptor.
>>>> Therefore, number of threads in the Executor are the number of
>>>> EventHanlders for that particular Disruptor.
>>>>
>>>> @IsuruR - please correct me if I am wrong :)
>>>>
>>>> On Fri, Feb 19, 2016 at 10:34 AM, Samiyuru Senarathne <
>>>> samiy...@wso2.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> In carbon-transport, why are the number of event handlers and the
>>>>> number of threads in the ExecutorService of Disruptor [1] the same? Is
>>>>> there a way to configure them separately?
>>>>>
>>>>> [1] -
>>>>> https://github.com/wso2/carbon-transports/blob/master/http/netty/components/org.wso2.carbon.transport.http.netty/src/main/java/org/wso2/carbon/transport/http/netty/common/disruptor/config/DisruptorFactory.java#L47
>>>>>
>>>>> Best Regards,
>>>>> Samiyuru
>>>>>
>>>>> --
>>>>> Samiyuru Senarathne
>>>>> *Software Engineer*
>>>>> Mobile : +94 (0) 71 134 6087
>>>>> samiy...@wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> *Shafreen*
>>>> Software Engineer
>>>> WSO2 Inc
>>>> Mobile : 077-556-395-1
>>>>
>>>
>>>
>>>
>>> --
>>> Samiyuru Senarathne
>>> *Software Engineer*
>>> Mobile : +94 (0) 71 134 6087
>>> samiy...@wso2.com
>>>
>>
>>
>>
>> --
>> Best Regards
>> Isuru Ranawaka
>> M: +94714629880
>> Blog : http://isurur.blogspot.com/
>>
>
>
>
> --
> Samiyuru Senarathne
> *Software Engineer*
> Mobile : +94 (0) 71 134 6087
> samiy...@wso2.com
>



-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon-Transport Disruptor ExecutorService threads

2016-02-22 Thread Isuru Ranawaka
Hi samiyuru,

According to the Disruptor architecture it is written such that to minimize
thread switching .If we define high number of  threads in Executor Service
than no of EventHandlers then it will only pick
threads equal to EventHandlers.If particular  thread blocked then that
EventHandler also get blocked. So due to this reason we should not do any
blocking operation inside Disruptor Handlers.So particular EventHandler is
always bound to particular thread in ExceutorService for EventHandler life
time.So I think configuring threads on Executor service  may not have
significant improvement.

thanks
IsuruR


On Tue, Feb 23, 2016 at 10:04 AM, Samiyuru Senarathne <samiy...@wso2.com>
wrote:

> Hi Shafreen,
>
> Yeah, the threads in this ExecutorService will be used to execute the
> EventHandler. So, according to the current implementation for one handler
> there will be only one thread right?
>
> In this case, events cannot be processed concurrently. Events will be
> processed one after another sequentially. Therefore, I think we should have
> a way to specify the number of event handlers and the number of threads in
> the  ExecutorService separately.
>
> Best Regards,
> Samiyuru
>
> On Tue, Feb 23, 2016 at 9:24 AM, Shafreen Anfar <shafr...@wso2.com> wrote:
>
>> Hi Samiyuru,
>>
>> AFAIU, for each Disruptor we create an ExecuterService. Threads in this
>> ExecutorService will be used to execute the EventHandler of the Disruptor.
>> Therefore, number of threads in the Executor are the number of
>> EventHanlders for that particular Disruptor.
>>
>> @IsuruR - please correct me if I am wrong :)
>>
>> On Fri, Feb 19, 2016 at 10:34 AM, Samiyuru Senarathne <samiy...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> In carbon-transport, why are the number of event handlers and the number
>>> of threads in the ExecutorService of Disruptor [1] the same? Is there a way
>>> to configure them separately?
>>>
>>> [1] -
>>> https://github.com/wso2/carbon-transports/blob/master/http/netty/components/org.wso2.carbon.transport.http.netty/src/main/java/org/wso2/carbon/transport/http/netty/common/disruptor/config/DisruptorFactory.java#L47
>>>
>>> Best Regards,
>>> Samiyuru
>>>
>>> --
>>> Samiyuru Senarathne
>>> *Software Engineer*
>>> Mobile : +94 (0) 71 134 6087
>>> samiy...@wso2.com
>>>
>>
>>
>>
>> --
>> Regards,
>> *Shafreen*
>> Software Engineer
>> WSO2 Inc
>> Mobile : 077-556-395-1
>>
>
>
>
> --
> Samiyuru Senarathne
> *Software Engineer*
> Mobile : +94 (0) 71 134 6087
> samiy...@wso2.com
>



-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Latency Calculation Feature in WSO2 GW

2016-02-07 Thread Isuru Ranawaka
Hi Chamil ,

Great , Seems there is no impact on performance by  integrating
carbon-metrics  and it may  operates in asynchronous manner  .Shall we look
in to how we can visualize this data and how we can publish those to
different Services like DAS .

thanks

On Mon, Feb 8, 2016 at 7:06 AM, Chamil Elladeniya <cham...@wso2.com> wrote:

> Hi all,
>
> As the previous test results were inconsistent, I did the test again using
> wrk to test the above scenario.
>
> Remote environment testing Using wrk
> Original GW
> Integrated GW
> # of threads Connections Requests per second [#/sec] Time per request
> [ms]
> # of threads Connections Requests per second [#/sec] Time per request
> [ms]
> 10 100 13721.18 7.98
> 10 100 14802.58 8.55
> 10 200 11884.68 18.24
> 10 200 14997.99 15.74
> 10 300 11735.99 26.98
> 10 300 13769.9 26.99
> 10 400 13257.39 32.68
> 10 400 14569.7 33.23
> 10 500 12124.66 44.14
> 10 500 14016.72 42.47
> 10 600 13575.55 50.63
> 10 600 13117.01 55.74
> 10 700 12891.08 66.33
> 10 700 12848.27 66.64
> 10 800 13045.18 71.42
> 10 800 13391.08 70.43
> 10 900 12990.17 86.4
> 10 900 13607.67 88.85
> 10 1000 7631.25 87.14
> 10 1000 8390.08 91.55
>
> Above average values are based on these individual test values[1].
>
> [1]
> https://docs.google.com/a/wso2.com/spreadsheets/d/1LhOjuaVFlv3AVDN-gYOW0S9rhv5kyEqczPhQ106bTZE/edit?usp=sharing
>
> On Fri, Feb 5, 2016 at 8:07 AM, Nadeeshaan Gunasinghe <nadeesh...@wso2.com
> > wrote:
>
>> Hi Chamil,
>>
>> It would be better if we can run another round of perf testing before we
>> come to a conclusion here.
>>
>>
>> *Nadeeshaan Gunasinghe*
>> Software Engineer, WSO2 Inc. http://wso2.com
>> +94770596754 | nadeesh...@wso2.com | Skype: nadeeshaan.gunasinghe
>> <#-1155064647_1759133060_>
>> <http://www.facebook.com/nadeeshaan.gunasinghe>
>> <http://lk.linkedin.com/in/nadeeshaan>  <http://twitter.com/Nadeeshaan>
>> <http://nadeeshaan.blogspot.com/>
>> Get a signature like this: Click here!
>> <http://ws-promos.appspot.com/r?rdata=eyJydXJsIjogImh0dHA6Ly93d3cud2lzZXN0YW1wLmNvbS9lbWFpbC1pbnN0YWxsP3dzX25jaWQ9NjcyMjk0MDA4JnV0bV9zb3VyY2U9ZXh0ZW5zaW9uJnV0bV9tZWRpdW09ZW1haWwmdXRtX2NhbXBhaWduPXByb21vXzU3MzI1Njg1NDg3Njk3OTIiLCAiZSI6ICI1NzMyNTY4NTQ4NzY5NzkyIn0=_random_number=>
>>
>> On Fri, Feb 5, 2016 at 7:47 AM, Isuru Ranawaka <isu...@wso2.com> wrote:
>>
>>> Hi Chamila,
>>>
>>> Results should be consisted and we have seen consisted results while
>>> doing perf testing . Here we need to ensure whether there are other
>>> processes running on server which can lead to degrade performance while
>>> doing load testing and as Kasun mentioned and we can run perf testing by
>>> enabling JFR.
>>>
>>> On Thu, Feb 4, 2016 at 10:20 PM, Kasun Indrasiri <ka...@wso2.com> wrote:
>>>
>>>> Yes. We need to run this on perf testing environments and do a detailed
>>>> analysis of JFRs. Also, we better use 'wrk' instead of ab.
>>>>
>>>> I guess the results were quite consistent with GW's performance test
>>>> suite.
>>>> @Ranawaka can you please comment on the behavior of perf testing
>>>> results.
>>>>
>>>> On Wed, Feb 3, 2016 at 8:32 PM, Isuru Perera <isu...@wso2.com> wrote:
>>>>
>>>>> The results are not consistent. For example, in Original GW, the RPS
>>>>> is very low in 500 & 900 concurrency. Therefore we cannot exactly tell
>>>>> whether there is a considerable performance impact when using Carbon
>>>>> Metrics.
>>>>>
>>>>> We first need to make sure there are no issues in the performance
>>>>> testing environment.
>>>>>
>>>>> During the previous Gateway testing, did anyone notice such
>>>>> inconsistent behaviour in different concurrency levels?
>>>>>
>>>>> On Wed, Feb 3, 2016 at 7:02 PM, Chamil Elladeniya <cham...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Adding the team
>>>>>>
>>>>>>
>>>>>> On Wed, Feb 3, 2016 at 6:59 PM, Chamil Elladeniya <cham...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>> This is the perf test results which performed in order to compare
>>>>>>> metrics integrated GW and the pure.
>>>>>>>
>>>>>>> Original GW
>>>>>>> 

Re: [Dev] Latency Calculation Feature in WSO2 GW

2016-02-04 Thread Isuru Ranawaka
gt;>>>>>- Faults encounters while mediation for each service
>>>>>>
>>>>>> These are some extra parameters that exists in current transport
>>>>>> latency parameters. I think it would be better to incorporate following
>>>>>> parameters too.
>>>>>>
>>>>>>- Parameters
>>>>>>- Messages Received.
>>>>>>- Requests received.
>>>>>>- Responses sent
>>>>>>- Fault in Receiving
>>>>>>- Faults in Sending
>>>>>>- Min, Max, Avg  message size sent
>>>>>>- Min, Max, Avg  message size received
>>>>>>- Bytes Received
>>>>>>- Bytes received
>>>>>>- Timeouts in Receiving
>>>>>>- Timeouts in Sending
>>>>>>- Active Thread Count
>>>>>>- Last Reset Time
>>>>>>- Statistics Views for Daily, Hourly, by minutes ( This may be
>>>>>>optional)
>>>>>>
>>>>>>
>>>>>> *Operations*
>>>>>>
>>>>>>- Reset Statistics
>>>>>>
>>>>>>
>>>>>> Thank You,
>>>>>>
>>>>>> On Thu, Dec 17, 2015 at 10:20 AM, Kasun Indrasiri <ka...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> We may also need a bit of high level stats too.. For instance things
>>>>>>> we have included in ESB 4.10.
>>>>>>>
>>>>>>> On Thu, Dec 17, 2015 at 10:17 AM, Nadeeshaan Gunasinghe <
>>>>>>> nadeesh...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>> It has been a requirement to implement a feature for keeping track
>>>>>>>> of the various types of latency metrics in WSO2 GW. At the moment I am
>>>>>>>> involved in implementing this latency metrics calculation feature 
>>>>>>>> according
>>>>>>>> to the architecture proposed at [1].
>>>>>>>> As the first step I am capturing the raw data required for
>>>>>>>> calculating various latency values. These raw data being collected as
>>>>>>>> follows at the moment,
>>>>>>>>
>>>>>>>> *Server Side*
>>>>>>>>
>>>>>>>>- Source Connection Creation time
>>>>>>>>- Source Connection life time
>>>>>>>>- Request header read time
>>>>>>>>- Request body read time
>>>>>>>>- Request read time
>>>>>>>>
>>>>>>>>
>>>>>>>> *Client Side*
>>>>>>>>
>>>>>>>>- Client connection creation time
>>>>>>>>- Client Connection life time
>>>>>>>>- Response header read time
>>>>>>>>- Response body read time
>>>>>>>>- Response read time
>>>>>>>>
>>>>>>>>
>>>>>>>> I am going to keep track of these raw data and then transport these
>>>>>>>> data through the carbon message, as the initial step. Then a latency
>>>>>>>> calculation engine is going to be implemented to calculate the various
>>>>>>>> types of latency values such as,
>>>>>>>>
>>>>>>>>- Average Throughput of a connection
>>>>>>>>- Average Latency of a connection
>>>>>>>>- Average jitter of a connection
>>>>>>>>- Message build time
>>>>>>>>- Message encoding time
>>>>>>>>    - Message mediation time
>>>>>>>>- etc
>>>>>>>>
>>>>>>>> Then a data publisher component is going to be implemented for
>>>>>>>> publishing data to  JMX and DAS.
>>>>>>>>
>>>>>>>> During the implementation additional raw data will be needed to be
>>>>>>>> captured according to the type of metrics we are going to calculate. In
>>>>>>>> such situation, will update with the latest status and findings.
>>>>>>>>
>>>>>>>> [1] [Architecture] Implementing Latency Metrics Calculation
>>>>>>>> Feature in GW
>>>>>>>>
>>>>>>>> Regards
>>>>>>>>
>>>>>>>> *Nadeeshaan Gunasinghe*
>>>>>>>> Software Engineer, WSO2 Inc. http://wso2.com
>>>>>>>> +94770596754 | nadeesh...@wso2.com | Skype: nadeeshaan.gunasinghe
>>>>>>>> <#-711576374_-417006362_-1084696516_112020634_-442828947_1663256302_151ae46f9e826311_151ae43483a6d1f0_>
>>>>>>>> <http://www.facebook.com/nadeeshaan.gunasinghe>
>>>>>>>> <http://lk.linkedin.com/in/nadeeshaan>
>>>>>>>> <http://twitter.com/Nadeeshaan>  <http://nadeeshaan.blogspot.com/>
>>>>>>>> Get a signature like this: Click here!
>>>>>>>> <http://ws-promos.appspot.com/r?rdata=eyJydXJsIjogImh0dHA6Ly93d3cud2lzZXN0YW1wLmNvbS9lbWFpbC1pbnN0YWxsP3dzX25jaWQ9NjcyMjk0MDA4JnV0bV9zb3VyY2U9ZXh0ZW5zaW9uJnV0bV9tZWRpdW09ZW1haWwmdXRtX2NhbXBhaWduPXByb21vXzU3MzI1Njg1NDg3Njk3OTIiLCAiZSI6ICI1NzMyNTY4NTQ4NzY5NzkyIn0=>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Kasun Indrasiri
>>>>>>> Software Architect
>>>>>>> WSO2, Inc.; http://wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> cell: +94 77 556 5206
>>>>>>> Blog : http://kasunpanorama.blogspot.com/
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Viraj Senevirathne
>>>>>> Software Engineer; WSO2, Inc.
>>>>>>
>>>>>> Mobile : +94 71 958 0269
>>>>>> Email : vir...@wso2.com
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Chamil Elladeniya
>>>>> *Software Engineering **Intern*
>>>>> Mobile : +94 71 6181154 <%2B94%20%280%29%20773%20451194>
>>>>> cham...@wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Chamil Elladeniya
>>>> *Software Engineering **Intern*
>>>> Mobile : +94 71 6181154 <%2B94%20%280%29%20773%20451194>
>>>> cham...@wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> Chamil Elladeniya
>>> *Software Engineering **Intern*
>>> Mobile : +94 71 6181154 <%2B94%20%280%29%20773%20451194>
>>> cham...@wso2.com
>>>
>>
>>
>>
>> --
>> Isuru Perera
>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>> Contact: +IsuruPereraWSO2 <https://www.google.com/+IsuruPereraWSO2/about>
>>
>
>
>
> --
> Kasun Indrasiri
> Software Architect
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> cell: +94 77 556 5206
> Blog : http://kasunpanorama.blogspot.com/
>



-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Custom inbound endpoint serializing issue

2015-10-08 Thread Isuru Ranawaka
Hi Susinda ,

Remove protocol attribute.If you define custom class it is not needed  to
define protocol.

thanks

On Thu, Oct 8, 2015 at 8:57 AM, Susinda Perera <susi...@wso2.com> wrote:

> I'm using following code segment to create a InboundEndpoint  and
> serialize it and get the omelement.
>
> InboundEndpoint inboundEndpoint1 = new InboundEndpoint();
> inboundEndpoint1.setName("susinda");
> inboundEndpoint1.setSuspend(false);
> *inboundEndpoint1.setClassImpl("org.test.MyClass");*
> inboundEndpoint1.setProtocol("custom");
> inboundEndpoint1.addParameter("inbound.behavior", "behaviourValue");
> OMElement inboundEndpointOmElement1 =
> InboundEndpointSerializer.serializeInboundEndpoint(inboundEndpoint1);
>
> The resulted(serialized) OMElement looks like follows, Here *class*
> attribute is not set
>
> http://ws.apache.org/ns/synapse; name="susinda"
> protocol="custom" suspend="false">
> 
> behaviourValue
> 
> 
>
> Correct config should contain class attribute, What is wrong here? am i
> doing something wrong or is this a bug, appreciate your help on this.
>
> Thanks
> Susinda
>
>
>
>
>
> --
> *Susinda Perera*
> Software Engineer
> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
> Mobile:(+94)716049075
> Blog: susinda.blogspot.com
> WSO2 Inc. http://wso2.com/
> Tel : 94 11 214 5345 Fax :94 11 2145300
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Vijitha Ekanayake

2015-10-02 Thread Isuru Ranawaka
Congrats vijitha !!!

On Sat, Oct 3, 2015 at 8:43 AM, Kasun Indrasiri <ka...@wso2.com> wrote:

> Hi devs,
>
> Its my pleasure to welcome Vijitha Ekanayake as a WSO2 Committer.
> Vijitha, welcome aboard and keep up the good work!
>
> Thanks.
>
> --
> Kasun Indrasiri
> Software Architect
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> cell: +94 77 556 5206
> Blog : http://kasunpanorama.blogspot.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Ravindra Ranwala

2015-07-16 Thread Isuru Ranawaka

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Jagath Ariyarathne

2015-07-16 Thread Isuru Ranawaka
Congratulations Jagatha !!!

On Thu, Jul 16, 2015 at 7:49 AM, Nadeeshaan Gunasinghe nadeesh...@wso2.com
wrote:


 Congratulations Jagath !!

*Nadeeshaan Gunasinghe*
 Software Engineer, WSO2 Inc. http://wso2.com
  +94770596754 | nadeesh...@wso2.com | Skype: nadeeshaan.gunasinghe
 #14e96e9c8b751498_
  http://www.facebook.com/nadeeshaan.gunasinghe
 http://lk.linkedin.com/in/nadeeshaan  http://twitter.com/Nadeeshaan
 http://nadeeshaan.blogspot.com/
 Get a signature like this:
 https://ws-stats.appspot.com/r?rdata=eyJydXJsIjogImh0dHA6Ly93d3cud2lzZXN0YW1wLmNvbS8/dXRtX3NvdXJjZT1leHRlbnNpb24mdXRtX21lZGl1bT1lbWFpbCZ1dG1fY2FtcGFpZ249cHJvbW9fNDUiLCAiZSI6ICJwcm9tb180NV9jbGljayJ9
  Click
 here!
 https://ws-stats.appspot.com/r?rdata=eyJydXJsIjogImh0dHA6Ly93d3cud2lzZXN0YW1wLmNvbS8/dXRtX3NvdXJjZT1leHRlbnNpb24mdXRtX21lZGl1bT1lbWFpbCZ1dG1fY2FtcGFpZ249cHJvbW9fNDUiLCAiZSI6ICJwcm9tb180NV9jbGljayJ9

 On Thu, Jul 16, 2015 at 6:09 PM, Senduran Balasubramaniyam 
 sendu...@wso2.com wrote:

 Congratulations Jagath !!

 On Thu, Jul 16, 2015 at 4:21 AM, Prabath Ariyarathna prabat...@wso2.com
 wrote:

 Congratulations Jagath .. !

 On Thu, Jul 16, 2015 at 2:40 PM, Dunith Dhanushka dun...@wso2.com
 wrote:

 Congrats Jagath!

 On Thu, Jul 16, 2015 at 1:43 PM, Chanaka Fernando chana...@wso2.com
 wrote:

 Congratulations JagathAR !!

 On Thu, Jul 16, 2015 at 1:40 PM, Viraj Senevirathne vir...@wso2.com
 wrote:

 Congrats, Jagath.

 Best Regards,

 On Thu, Jul 16, 2015 at 11:11 AM, Kasun Indrasiri ka...@wso2.com
 wrote:

 Hi devs,

 Its my pleasure to welcome Jagath Ariyarathne as a WSO2 Committer.
 Jagath, welcome aboard and keep up the good work!

 Thanks.

 --
 Kasun Indrasiri
 Software Architect
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Viraj Senevirathne
 Software Engineer; WSO2, Inc.

 Mobile : +94 71 818 4742 %2B94%20%280%29%20773%20451194
 Email : vir...@wso2.com thili...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 --
 Chanaka Fernando
 Senior Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 773337238
 Blog : http://soatutorials.blogspot.com
 LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
 Twitter:https://twitter.com/chanakaudaya
 Wordpress:http://chanakaudaya.wordpress.com




 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Regards,

 Dunith Dhanushka,
 Senior Software Engineer - BAM,
 WSO2 Inc,

 Mobile - +94 71 8615744
 Blog - dunithd.wordpress.com http://blog.dunith.com
 Twitter - @dunithd http://twitter.com/dunithd

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Prabath Ariyarathna*

 *Associate Technical Lead*

 *WSO2, Inc. *

 *lean . enterprise . middleware *


 *Email: prabat...@wso2.com prabat...@wso2.com*

 *Blog: http://prabu-lk.blogspot.com http://prabu-lk.blogspot.com*

 *Flicker : https://www.flickr.com/photos/47759189@N08
 https://www.flickr.com/photos/47759189@N08*

 *Mobile: +94 77 699 4730 *






 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Senduran *
 Software Engineer,
 WSO2, Inc.;  http://wso2.com/ http://wso2.com/
 Mobile: +94 77 952 6548

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Maheeka Jayasuriya

2015-06-24 Thread Isuru Ranawaka
Congrats !!!

On Wed, Jun 24, 2015 at 10:40 AM, Viraj Senevirathne vir...@wso2.com
wrote:

 Congratulations Maheeka .

 On Wed, Jun 24, 2015 at 10:36 AM, Dinithi De Silva dinit...@wso2.com
 wrote:

 Congratzzz maheeka... :)

 On Wed, Jun 24, 2015 at 10:29 AM, Kasun Indrasiri ka...@wso2.com wrote:

 Hi devs,

 Its my pleasure to welcome Maheeka Jayasuriya as a WSO2 Committer.
 Maheeka, welcome aboard and keep up the good work!

 Thanks.
 --
 Kasun Indrasiri
 Software Architect
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Dinithi De Silva*
 Associate Software Engineer, WSO2 Inc.
 m:+94716667655 | e:dinit...@wso2.com | w: www.wso2.com
 | a: #20, Palm Grove, Colombo 03

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Viraj Senevirathne
 Software Engineer; WSO2, Inc.

 Mobile : +94 71 818 4742 %2B94%20%280%29%20773%20451194
 Email : vir...@wso2.com thili...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merged the PR

2015-06-23 Thread Isuru Ranawaka
merged.

On Wed, Jun 24, 2015 at 10:49 AM, Vijitha Ekanayake vijit...@wso2.com
wrote:

 Hi,

 Please review and merge PR[1] - Fixing automation test failures in
 tests-mediator-2 module in ESB.

 [1] https://github.com/wso2/product-esb/pull/196/

 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WS-Addressing handler in ESB 4.9?

2015-06-19 Thread Isuru Ranawaka
Hi kasun,

We already add this handler and can be enable by adding enforceWSAddressing
as a service parameter.

thanks

On Fri, Jun 19, 2015 at 11:58 AM, Kasun Indrasiri ka...@wso2.com wrote:

 Have we add the $subject (as WS-Addressing was not working properly with
 PT architect)?

 --
 Kasun Indrasiri
 Software Architect
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] TestNG exception when running integration testing for Product ESB ( test-other package ))

2015-05-12 Thread Isuru Ranawaka
Hi Kevin,

Please run those integration tests by enabling them.

On Tue, May 12, 2015 at 2:07 PM, Waruna Perera waru...@wso2.com wrote:

 Hi Kevin,

 Are those only failing when run together or even as individual runs?



 On Tue, May 12, 2015 at 1:48 PM, Kevin Ratnasekera ke...@wso2.com wrote:

 Hi Saneth,
 These are the two test case methods related to the exception,


 @Test(groups = {wso2.esb}, description = Tests with filter mediator - 
 JSON path Scenario - Filter condition true , enabled=false)
 public void testJSONFilterFromJSONPathConditionTrueTestScenario() throws 
 Exception {

 String JSON_PAYLOAD = {\album\:\Hello\,\singer\:\Peter\};

 WebResource webResource = client
 .resource(getProxyServiceURLHttp(JSONPathFilterWithJSONProxy));

 // sending post request
 ClientResponse postResponse = webResource.type(application/json)
 .post(ClientResponse.class, JSON_PAYLOAD);

 assertEquals(postResponse.getType().toString(), application/json, 
 Content-Type Should be application/json);
 assertEquals(postResponse.getStatus(), 201, Response status should be 
 201);

 // Calling the GET request to verify Added album details
 ClientResponse getResponse = webResource.type(application/json)
 .get(ClientResponse.class);

 assertNotNull(getResponse, Received Null response for while getting 
 Music album details);
 assertEquals(getResponse.getEntity(String.class), JSON_PAYLOAD, 
 Response mismatch for HTTP Get call);
 }


 @Test(groups = {wso2.esb}, description = Tests with filter mediator - 
 JSON path Scenario Filter condition False,
 dependsOnMethods = 
 testJSONFilterFromJSONPathConditionTrueTestScenario)
 public void testJSONFilterFromJSONPathConditionFalseTestScenario() throws 
 Exception {

 String JSON_PAYLOAD = {\album\:\Moon\,\singer\:\Peter\};

 WebResource webResource = client
 .resource(getProxyServiceURLHttp(FilterWithJSONProxy));

 // sending post request
 ClientResponse postResponse = webResource.type(application/json)
 .post(ClientResponse.class, JSON_PAYLOAD);

 assertEquals(postResponse.getStatus(), 202, Response status should be 
 202);
 }

 Thanks
 Regards
 Kevin

 On Tue, May 12, 2015 at 1:43 PM, Saneth Dharmakeerthi sane...@wso2.com
 wrote:

 Hi Kevin,

 Please share the full test case with us.

 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

 On Tue, May 12, 2015 at 12:24 PM, Kevin Ratnasekera ke...@wso2.com
 wrote:

 Hi all,
 org.testng.TestNGException:
 org.wso2.carbon.esb.contenttype.json.FilterFromJSONPathTestCase.testJSONFilterFromJSONPathConditionFalseTestScenario()
 is depending on method public void
 org.wso2.carbon.esb.contenttype.json.FilterFromJSONPathTestCase.testJSONFilterFromJSONPathConditionTrueTestScenario()
 throws java.lang.Exception, which is not annotated with @Test

 I am running integration tests on  java version 1.7. The failing test
 methods are depended on other methods. ( dependsOnMethods ) The classes
 which does not include depended test methods pass successfully.
 Regards
 Kevin


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Waruna Perera
 Senior Software Engineer - Test Automation
 Mobile: +94 77 3867037
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Get tenant id in mediation initializer

2015-05-11 Thread Isuru Ranawaka
Hi Priyadarssini,

This can be happened  when tenants were not initialize at the time you
called the  above code .



On Tue, May 12, 2015 at 10:45 AM, Priyadarssini Kishokumar 
priyadarss...@wso2.com wrote:

 Hi,

 I need to get tenant id in the mediation initializer . When I'm trying to
 get it through
 PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantId(), it
 always returning -1. What is the correct way to get tenant details in
 initializer?

 --
 Priya Kishok
 Software Engineer
 WSO2, Inc : http://wso2.com
 Mob : +94774457404

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Implement a WS-Addressing and MTOM validation framework

2015-05-07 Thread Isuru Ranawaka
Hi Naasheer ,

What is the progress of this ?

On Fri, May 1, 2015 at 10:15 AM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi Naasheer,

 Did you able to identify use cases of the MTOM validation scenarios .Some
 interesting video can be found here [1].

 -As first step try to understand difference between  Base64Encoding
 Decoding and  MTOM . Then you will be able to understand advantages of
 MTOM.
 -Try to understand Header formats of the HTTP message with MTOM and
 without MTOM.
 - Try to understand message sizes and how binary data is transfered over
 MTOM and how it gives performance gain.
 -Try to figure out how Message Builders and Formatters  works with MTOM.

 After gain knowledge of above areas you will be able to fully complete the
 MTOM validation framework.

 [1] http://www.youtube.com/watch?v=Tfv1gNXiAuE


 Thanks
 IsuruR


 On Wed, Apr 29, 2015 at 12:33 PM, Naasheer Ali naashe...@wso2.com wrote:

 Hi,

 Please find the pdf of the milestone.

 Regards,
 --

 *Naasheer Ali* | Associate Software Engineer

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: naashe...@wso2.com

 On Wed, Apr 29, 2015 at 12:07 PM, Naasheer Ali naashe...@wso2.com
 wrote:

 Hi,
I'm trying to develop MTOM validation framework. These are the
 meeting notes with Isuru Ranawaka.

 Meeting MInues :
 1. Try to understand more on WS-Addressing and MTOM.
 2. Run the ESB samples on MTOM.
 3. Write use cases and test with ESB manually.

 Please find the milestone for the test cases :
 ​
  Milestone for writing use case on MTOM
 https://docs.google.com/a/wso2.com/spreadsheets/d/1y-8vpJlSN1wqby7IJ2Z6r0lluca5IA_x1drk5oCawKQ/edit?usp=drive_web
 ​
 Regards,
 --

 *Naasheer Ali* | Associate Software Engineer

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: naashe...@wso2.com





 --
 Best Regards
 Isuru Ranawaka
 M: +94714629880
 Blog : http://isurur.blogspot.com/




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Implement a WS-Addressing and MTOM validation framework

2015-04-30 Thread Isuru Ranawaka
Hi Naasheer,

Did you able to identify use cases of the MTOM validation scenarios .Some
interesting video can be found here [1].

-As first step try to understand difference between  Base64Encoding
Decoding and  MTOM . Then you will be able to understand advantages of
MTOM.
-Try to understand Header formats of the HTTP message with MTOM and without
MTOM.
- Try to understand message sizes and how binary data is transfered over
MTOM and how it gives performance gain.
-Try to figure out how Message Builders and Formatters  works with MTOM.

After gain knowledge of above areas you will be able to fully complete the
MTOM validation framework.

[1] http://www.youtube.com/watch?v=Tfv1gNXiAuE


Thanks
IsuruR


On Wed, Apr 29, 2015 at 12:33 PM, Naasheer Ali naashe...@wso2.com wrote:

 Hi,

 Please find the pdf of the milestone.

 Regards,
 --

 *Naasheer Ali* | Associate Software Engineer

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: naashe...@wso2.com

 On Wed, Apr 29, 2015 at 12:07 PM, Naasheer Ali naashe...@wso2.com wrote:

 Hi,
I'm trying to develop MTOM validation framework. These are the meeting
 notes with Isuru Ranawaka.

 Meeting MInues :
 1. Try to understand more on WS-Addressing and MTOM.
 2. Run the ESB samples on MTOM.
 3. Write use cases and test with ESB manually.

 Please find the milestone for the test cases :
 ​
  Milestone for writing use case on MTOM
 https://docs.google.com/a/wso2.com/spreadsheets/d/1y-8vpJlSN1wqby7IJ2Z6r0lluca5IA_x1drk5oCawKQ/edit?usp=drive_web
 ​
 Regards,
 --

 *Naasheer Ali* | Associate Software Engineer

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: naashe...@wso2.com





-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Remove WS-Service Discovery from ESB UI

2015-04-29 Thread Isuru Ranawaka
Hi all,


There is a requirement for $subject because WS-Service Discovery  feature
is reported as no longer used by customers. Is there any consequence from
doing that.

Thanks
IsuruR

-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] Building the ESB product from the source

2015-04-28 Thread Isuru Ranawaka
Hi all,

After after changing p2-plugin version to 1.5.4 above mentioned error will
be fixed but there will be still build breaks if builds in clean repo.
Because current develop branch refers to old jars and those are got
removed . So we need to update to newer versions and for that we need to
wait until carbon-governance is released.

thanks

On Tue, Apr 28, 2015 at 11:16 AM, KasunG Gajasinghe kas...@wso2.com wrote:

 Hi,


 On Tue, Apr 28, 2015 at 11:04 AM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi KasunG,

 After changing  p2-plugin version for 1.5.4  it works

 On Tue, Apr 28, 2015 at 10:51 AM, Kasun Indrasiri ka...@wso2.com wrote:

 Isn't this a bug in latest p2 plugin ?


 It looks like it. Please stick to the 1.5.4 version for your build. We
 will fix the issue in 1.5.5, and do a release.

 @Chanaka/Isuru, can you file a bug in jira?

 Thanks.


 On Tue, Apr 28, 2015 at 10:47 AM, Manoj Kumara ma...@wso2.com wrote:

 [Adding ESB team]


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Tue, Apr 28, 2015 at 10:43 AM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Hi Chanaka,

 Check the p2-plugin version in the p2-profile module in the ESB.
 There you can find segment like

 plugin

groupIdorg.wso2.maven/groupId

artifactIdcarbon-p2-plugin/artifactId

version${carbon.p2.plugin.version}/version

 check the version there

 Thanks

 On Tue, Apr 28, 2015 at 10:36 AM, Chanaka Sampath Cooray 
 chanakasampat...@gmail.com wrote:

 Hi Kasun,

 I tried with maven 3.0.5 and got the same error, how do I change the
 version of the p2 plugin?

 Thanks

 On Tue, Apr 28, 2015 at 10:31 AM, Kasun Gajasinghe kas...@wso2.com
 wrote:


 Can you guys build with maven 3.0.x, and update the status as Manoj
 mentioned?

 This may have occurred due to a latest p2 plugin release. If the
 above doesn't work, set the p2 plugin version as 1.5.4, and build the
 product.

 Thanks.

 On Apr 28, 2015, at 10:26 AM, Firzhan Naqash firz...@wso2.com
 wrote:

 Hi Chanaka,

 The same error has also been observed in IS. I am not sure whether
 this error occurs due to change in p2 plugin.

 I am adding kasung.

 Regards,
 Firzhan

 On Mon, Apr 27, 2015 at 11:48 PM, Chanaka Sampath Cooray 
 chanakasampat...@gmail.com wrote:

 Ok I will try maven 3.0.x and let you know the results.

 Thanks.

 On Tue, Apr 28, 2015 at 10:13 AM, Manoj Kumara ma...@wso2.com
 wrote:

 Did you tried with maven 3.0.x


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Tue, Apr 28, 2015 at 10:10 AM, Chanaka Sampath Cooray 
 chanakasampat...@gmail.com wrote:

 Hi Manoj,

 I used the repo [1] and the master branch of that and I also
 checked with the M6 and M7 releases as well, None of them did not 
 work for
 me.

 [1] https://github.com/wso2/product-esb

 Regards,
 Chanaka

 On Tue, Apr 28, 2015 at 10:04 AM, Manoj Kumara ma...@wso2.com
 wrote:

 Hi Chanaka,

 What is the branch you are using. For turing branch you need to
 use Maven 3.0.x to build the source.

 Regards,
 Manoj


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Tue, Apr 28, 2015 at 8:16 AM, Chanaka Sampath Cooray 
 chanakasampat...@gmail.com wrote:

 Hi all,

 I tried to build the esb product from the source. I got the
 following error when I tried to do that. I built using jdk 1.6 and 
 maven
 3.2.5 and I am using mac osx. Is there anything I have missed?

 [ERROR] Failed to execute goal
 org.wso2.maven:carbon-p2-plugin:1.5.5:p2-repo-gen 
 (2-p2-repo-generation) on
 project wso2esb-p2-profile: Execution 2-p2-repo-generation of goal
 org.wso2.maven:carbon-p2-plugin:1.5.5:p2-repo-gen failed: An API
 incompatibility was encountered while executing
 org.wso2.maven:carbon-p2-plugin:1.5.5:p2-repo-gen:
 java.lang.NoSuchMethodError:
 org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(Lorg/codehaus/plexus/util/cli/Commandline;Lorg/codehaus/plexus/util/cli/StreamConsumer;Lorg/codehaus/plexus/util/cli/StreamConsumer;I)I

 [ERROR] -

 [ERROR] realm =pluginorg.wso2.maven:carbon-p2-plugin:1.5.5

 [ERROR] strategy =
 org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

 [ERROR] urls[0] =
 file:/Users/bcchanaka/.m2/repository/org/wso2/maven/carbon-p2-plugin/1.5.5/carbon-p2-plugin-1.5.5.jar

 [ERROR] urls[1] =
 file:/Users/bcchanaka/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar

 [ERROR] urls[2] =
 file:/Users/bcchanaka/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar

 [ERROR] urls[3] =
 file:/Users/bcchanaka/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar

 [ERROR] urls[4] =
 file:/Users/bcchanaka/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar

 [ERROR] urls[5] =
 file:/Users

Re: [Dev] [ESB] Building the ESB product from the source

2015-04-27 Thread Isuru Ranawaka
/org.eclipse.osgi/3.8.0.v20110726-1606/org.eclipse.osgi-3.8.0.v20110726-1606.jar

 [ERROR] urls[11] =
 file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/tycho-equinox-api/0.13.0/tycho-equinox-api-0.13.0.jar

 [ERROR] urls[12] =
 file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/tycho-equinox-launching/0.13.0/tycho-equinox-launching-0.13.0.jar

 [ERROR] urls[13] =
 file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/tycho-core/0.13.0/tycho-core-0.13.0.jar

 [ERROR] urls[14] =
 file:/Users/bcchanaka/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar

 [ERROR] urls[15] =
 file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/tycho-metadata-model/0.13.0/tycho-metadata-model-0.13.0.jar

 [ERROR] urls[16] =
 file:/Users/bcchanaka/.m2/repository/de/pdark/decentxml/1.3/decentxml-1.3.jar

 [ERROR] urls[17] =
 file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/tycho-embedder-api/0.13.0/tycho-embedder-api-0.13.0.jar

 [ERROR] urls[18] =
 file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/tycho-p2-facade/0.13.0/tycho-p2-facade-0.13.0.jar

 [ERROR] urls[19] =
 file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.p2.resolver.facade/0.13.0/org.eclipse.tycho.p2.resolver.facade-0.13.0.jar

 [ERROR] urls[20] =
 file:/Users/bcchanaka/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.p2.tools.facade/0.13.0/org.eclipse.tycho.p2.tools.facade-0.13.0.jar

 [ERROR] Number of foreign imports: 1

 [ERROR] import: Entry[import  from realm ClassRealm[maven.api,
 parent: null]]

 Regards,
 Chanaka

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev






 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Thusitha Dayaratne
 Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 Mobile  +94712756809
 Blog  alokayasoya.blogspot.com
 Abouthttp://about.me/thusithathilina


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Kasun Indrasiri
 Software Architect
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge the pull request

2015-04-17 Thread Isuru Ranawaka
merged

On Fri, Apr 17, 2015 at 7:11 PM, Vijitha Ekanayake vijit...@wso2.com
wrote:

 Hi,

 Please merge the pull request [1] for
 https://wso2.org/jira/browse/ESBJAVA-3006

 [1]. https://github.com/wso2/wso2-synapse/pull/142


 Thanks,
 Vijitha.

 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] Correct way of creating a copy of a request

2015-03-26 Thread Isuru Ranawaka
Hi Chathura,

What we discusses is we need to build the MC by calling
buildWithAttchaments() then entire input stream is written MC SoapEnvelop
So  we can reuse that object .We dont need to build request at every time
when we send through endpoint.

On Fri, Mar 27, 2015 at 10:15 AM, Chathura Priyankara chathu...@wso2.com
wrote:

 Hi,

 I'm working on implementing a failover endpoint support for response http
 status codes for my fast track training project. To resend the request I
 need to attach a copy of message context to the same request.
 So currently what I'm doing is clone the message for the first time and
 when re sending the message build the cloned message and
 set that as a property to the request. This message context will use in
 the next time sending.

 Is this way of creating a copy of request is good ?

 Thanks
 Best Regards.

 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] Where the final message ID set for a request

2015-03-17 Thread Isuru Ranawaka
Hi Chathura,

When message is gone through Axis2FlexibleMEPClient it partially cloned
underlying axis2MessageContext and set all the endpoint specific data to
that cloned MC and register a callback for send it to BE .It may be a
reason for change the MID. Why we need a to store message context
externally?

I think this may add up huge memory overhead if message store keeps growing
(for high concurrent scenarios and responses are too late to arrive)

thanks

On Tue, Mar 17, 2015 at 1:21 PM, Chathura Priyankara chathu...@wso2.com
wrote:

 Hi,

 I'm working on my fast track training project [1]. I have to implement
 http status code support for FailoverEndpoint. For the re-sending purposes
 the original request message context needs to be  cloned and store using
 the message ID as the reference. The message cloning should be done in the
 FailoverEndpoint based on the synapse configuration.

 IMO the original request id changes to a new one after it sent from the
 FailoverEndpoint at the Axis2FlexibleMEPClient level.

 Is this correct or I'm missing something here ?

 [1] https://redmine.wso2.com/issues/3725

 Thanks.
 Best Regards.

 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] Where the final message ID set for a request

2015-03-17 Thread Isuru Ranawaka
Hi chathura,

Yes you need to clone the MC because we need to save content it is ok. but
instead of keep external store which can be caused OOM exceptions can't we
attached clone MC as original MC property and when response received we can
get that property and get the cloned MC for next send if response http code
belongs to retry code. So then we dont need to externally map request to
response because response has all the synapse properties which were in
request.


thanks

On Tue, Mar 17, 2015 at 2:37 PM, Chathura Priyankara chathu...@wso2.com
wrote:

 Hi Isuru,

 We need to clone and store the message to resend it based on the response
 status code. If the response http status code is success then the stored
 message context will removed.
 This cloning and storing process should be happened in the Failover
 endpoint only if failover http status codes are set for a particular
 endpoint in the configuration. If we store the cloned
 message at the Failover endpoint level we cannot map the request and
 response based on the MID since MID is changed after sending.
 Is there anyway that I could do the same thing without cloning message
 context ?

 Thanks!

 On Tue, Mar 17, 2015 at 2:22 PM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi Chathura,

 When message is gone through Axis2FlexibleMEPClient it partially cloned
 underlying axis2MessageContext and set all the endpoint specific data to
 that cloned MC and register a callback for send it to BE .It may be a
 reason for change the MID. Why we need a to store message context
 externally?

 I think this may add up huge memory overhead if message store keeps
 growing (for high concurrent scenarios and responses are too late to arrive)

 thanks

 On Tue, Mar 17, 2015 at 1:21 PM, Chathura Priyankara chathu...@wso2.com
 wrote:

 Hi,

 I'm working on my fast track training project [1]. I have to implement
 http status code support for FailoverEndpoint. For the re-sending purposes
 the original request message context needs to be  cloned and store using
 the message ID as the reference. The message cloning should be done in the
 FailoverEndpoint based on the synapse configuration.

 IMO the original request id changes to a new one after it sent from the
 FailoverEndpoint at the Axis2FlexibleMEPClient level.

 Is this correct or I'm missing something here ?

 [1] https://redmine.wso2.com/issues/3725

 Thanks.
 Best Regards.

 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com




 --
 Best Regards
 Isuru Ranawaka
 M: +94714629880
 Blog : http://isurur.blogspot.com/




 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC-2015] Proposal 3: ESB - Netty transport enhancements

2015-03-12 Thread Isuru Ranawaka
Hi Achintha,

Ok lets meet I will inform you.

Thanks

On Thu, Mar 12, 2015 at 9:51 AM, Achintha Reemal achin...@wso2.com wrote:

 Hi Isuru,

 Will it be possible to have a little discussion on how Netty Transport for
 Pass-thru has being implemented, as it would help me grasp the intentions
 behind the project deliverables.

 Regards

 On Tue, Mar 10, 2015 at 1:58 PM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi Achintha,

 You can find source code from [1]

 [1]https://github.com/isururanawaka/wso2-synapse/tree/nettytransport

 On Tue, Mar 10, 2015 at 1:55 PM, Achintha Reemal achin...@wso2.com
 wrote:

 Hi Isuru,

 I have followed the articles that you have provided and gained a general
 level of understanding on how the message flow works.To get an idea on how
 the current Netty transport is being implemented, where can I find the
 source of this implementation?.

 Regards,

 On Tue, Mar 3, 2015 at 8:39 PM, Achintha Reemal achin...@wso2.com
 wrote:

 Hi Isuru,

 Thank you for the resources.

 Regards,


 On Tue, Mar 3, 2015 at 5:50 PM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi Achintha,

 Thanks for your interest in this project and as a start you need to
 understand the ESB architecture and mesage flow in pass through transport.
 For that you can read below resource and feel free to ask any question
 regarding this.

 [1]
 http://wso2.com/library/articles/2013/12/demystifying-wso2-esb-pass-through-transport-part-i/
 [2] http://isurur.blogspot.com/2014/07/wso2-esb-message-flow.html

 Thanks
 IsuruR


 On Tue, Mar 3, 2015 at 5:38 PM, Achintha Reemal achin...@wso2.com
 wrote:

 Hi,

 I am Achintha Reemal, an Undergraduate from Department of Computer
 Science and Engineering, University of Moratuwa. I'm currently working as
 an Intern at WSO2.

 I am interested in the following proposal [1]
 https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal7:User-ManagedAccess%28UMA%29ProfileforOAuth2
  and
 look forward to contribute for its development.

 [1]
 https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal3:ESB-Nettytransportenhancements

 Regards,
 --
 *G.H.Achintha Reemal*
 *BSc Eng Undergraduate| Department of Computer Science  Engineering
 | University of Moratuwa*
 *Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.*
 *Blog|** rimmythepaperclip.blogspot.com
 http://rimmythepaperclip.blogspot.com*
 *Twitter|* @rimmynuts(A.Reemal)
 *LinkedIn|* lk.linkedin.com/in/achinthareemal/
 *Mobile| *0715471301

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Best Regards
 Isuru Ranawaka
 M: +94714629880
 Blog : http://isurur.blogspot.com/




 --
 *G.H.Achintha Reemal*
 *BSc Eng Undergraduate| Department of Computer Science  Engineering |
 University of Moratuwa*
 *Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.*
 *Blog|** rimmythepaperclip.blogspot.com
 http://rimmythepaperclip.blogspot.com*
 *Twitter|* @rimmynuts(A.Reemal)
 *LinkedIn|* lk.linkedin.com/in/achinthareemal/
 *Mobile| *0715471301




 --
 *G.H.Achintha Reemal*
 *BSc Eng Undergraduate| Department of Computer Science  Engineering |
 University of Moratuwa*
 *Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.*
 *Blog|** rimmythepaperclip.blogspot.com
 http://rimmythepaperclip.blogspot.com*
 *Twitter|* @rimmynuts(A.Reemal)
 *LinkedIn|* lk.linkedin.com/in/achinthareemal/
 *Mobile| *0715471301




 --
 Best Regards
 Isuru Ranawaka
 M: +94714629880
 Blog : http://isurur.blogspot.com/




 --
 *G.H.Achintha Reemal*
 *BSc Eng Undergraduate| Department of Computer Science  Engineering |
 University of Moratuwa*
 *Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.*
 *Blog|** rimmythepaperclip.blogspot.com
 http://rimmythepaperclip.blogspot.com*
 *Twitter|* @rimmynuts(A.Reemal)
 *LinkedIn|* lk.linkedin.com/in/achinthareemal/
 *Mobile| *0715471301




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC-2015] Proposal 3: ESB - Netty transport enhancements

2015-03-10 Thread Isuru Ranawaka
Hi Achintha,

You can find source code from [1]

[1]https://github.com/isururanawaka/wso2-synapse/tree/nettytransport

On Tue, Mar 10, 2015 at 1:55 PM, Achintha Reemal achin...@wso2.com wrote:

 Hi Isuru,

 I have followed the articles that you have provided and gained a general
 level of understanding on how the message flow works.To get an idea on how
 the current Netty transport is being implemented, where can I find the
 source of this implementation?.

 Regards,

 On Tue, Mar 3, 2015 at 8:39 PM, Achintha Reemal achin...@wso2.com wrote:

 Hi Isuru,

 Thank you for the resources.

 Regards,


 On Tue, Mar 3, 2015 at 5:50 PM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi Achintha,

 Thanks for your interest in this project and as a start you need to
 understand the ESB architecture and mesage flow in pass through transport.
 For that you can read below resource and feel free to ask any question
 regarding this.

 [1]
 http://wso2.com/library/articles/2013/12/demystifying-wso2-esb-pass-through-transport-part-i/
 [2] http://isurur.blogspot.com/2014/07/wso2-esb-message-flow.html

 Thanks
 IsuruR


 On Tue, Mar 3, 2015 at 5:38 PM, Achintha Reemal achin...@wso2.com
 wrote:

 Hi,

 I am Achintha Reemal, an Undergraduate from Department of Computer
 Science and Engineering, University of Moratuwa. I'm currently working as
 an Intern at WSO2.

 I am interested in the following proposal [1]
 https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal7:User-ManagedAccess%28UMA%29ProfileforOAuth2
  and
 look forward to contribute for its development.

 [1]
 https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal3:ESB-Nettytransportenhancements

 Regards,
 --
 *G.H.Achintha Reemal*
 *BSc Eng Undergraduate| Department of Computer Science  Engineering |
 University of Moratuwa*
 *Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.*
 *Blog|** rimmythepaperclip.blogspot.com
 http://rimmythepaperclip.blogspot.com*
 *Twitter|* @rimmynuts(A.Reemal)
 *LinkedIn|* lk.linkedin.com/in/achinthareemal/
 *Mobile| *0715471301

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Best Regards
 Isuru Ranawaka
 M: +94714629880
 Blog : http://isurur.blogspot.com/




 --
 *G.H.Achintha Reemal*
 *BSc Eng Undergraduate| Department of Computer Science  Engineering |
 University of Moratuwa*
 *Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.*
 *Blog|** rimmythepaperclip.blogspot.com
 http://rimmythepaperclip.blogspot.com*
 *Twitter|* @rimmynuts(A.Reemal)
 *LinkedIn|* lk.linkedin.com/in/achinthareemal/
 *Mobile| *0715471301




 --
 *G.H.Achintha Reemal*
 *BSc Eng Undergraduate| Department of Computer Science  Engineering |
 University of Moratuwa*
 *Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.*
 *Blog|** rimmythepaperclip.blogspot.com
 http://rimmythepaperclip.blogspot.com*
 *Twitter|* @rimmynuts(A.Reemal)
 *LinkedIn|* lk.linkedin.com/in/achinthareemal/
 *Mobile| *0715471301




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Senduran Balasubramaniyam

2015-02-18 Thread Isuru Ranawaka
Congrats senda !!!

On Wed, Feb 18, 2015 at 5:07 PM, Buddhima Wijeweera buddh...@wso2.com
wrote:

 Congratulations Senduran!!!

 On Wed, Feb 18, 2015 at 5:06 PM, Kasun Indrasiri ka...@wso2.com wrote:

 Hi devs,

 Its my pleasure to welcome Senduran Balasubramaniyam as a WSO2 Committer.

 Senduran, welcome aboard and keep up the good work!

 Thanks.

 --
 Kasun Indrasiri
 Software Architect
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Mobile: +94 71 427 9966
 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Pulasthi Mahawithana

2015-02-18 Thread Isuru Ranawaka
/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Thanuja Lakmal*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94715979891 +94758009992

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Gayan Gunawardana
 Software Engineer; WSO2 Inc.; http://wso2.com/
 Email: ga...@wso2.com
 Mobile: +94 (71) 8020933

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Anuja Herath
 *Software Engineer*
 *WSO2, Inc.*
 Mobile : +94 (0)71 429 8861

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Lasitha Wattaladeniya
 Software Engineer
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94719397528
 Blog : techreadme.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB Sample for File inbound endpoint

2015-02-04 Thread Isuru Ranawaka
HI Chanaka,

This is a bug and will be fixed in M6 .

thanks


On Thu, Feb 5, 2015 at 9:52 AM, Chanaka Cooray chana...@wso2.com wrote:

 Hi,

 I tried to run the sample[1] in ESB 4.9.0 M4 pack. When I update the
 source view in ESB Management Console , it shows the following error. But
 when I create a file inbound endpoint using the inbound UI it works fine. can
 someone point out what I am doing wrong?

 [1]. https://docs.wso2.com/pages/viewpage.action?pageId=43995550

 [2015-02-05 09:45:10,920] ERROR - SynapseXMLConfigurationFactory Invalid
 configuration element at the top level, one of 'sequence', 'endpoint',
 'proxy', 'eventSource', 'localEntry', 'priorityExecutor' or 'registry' is
 expected

 [2015-02-05 09:45:10,921] ERROR - SynapseConfiguration Duplicate entry
 definition for key : SERVER_HOST

 [2015-02-05 09:45:10,921] ERROR - ConfigAdmin Error while updating the
 Synapse configuration

 org.apache.synapse.SynapseException: Duplicate entry definition for key :
 SERVER_HOST



 Thanks,
 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 ESB 4.9.0 M5 Released..!

2015-02-04 Thread Isuru Ranawaka
Hi Shaventha ,

Currently  there is no P2 repo

On Thu, Feb 5, 2015 at 9:05 AM, Shavantha Weerasinghe shavan...@wso2.com
wrote:

 Hi Isuru

 Is there a P2 Repo for ESB 490

 Regards,

 Shavantha Weerasinghe
 Senior Software Engineer QA
 WSO2, Inc.
 lean.enterprise.middleware.
 http://wso2.com
 http://wso2.org
 Tel : 94 11 214 5345
 Fax :94 11 2145300


 On Mon, Jan 26, 2015 at 6:03 PM, Isuru Ranawaka isu...@wso2.com wrote:


 Hi all,

 Please download WSO2 ESB 4.9.0 M5 from this location [1]. The main
 purpose of this release is to add multi tenancy support in  HTTP Inbound
 Endpoint and reduced bug count.Following are the list of public Jiras
 resolved since M4 release.

 Bug

- [ESBJAVA-2330 https://wso2.org/jira/browse/ESBJAVA-2330] -
Couldn't send a request to Tenant main sequence
- [ESBJAVA-2336 https://wso2.org/jira/browse/ESBJAVA-2336] - Faulty
Proxy deployed from cApp not deleted/removed from UI
- [ESBJAVA-2345 https://wso2.org/jira/browse/ESBJAVA-2345] - [ESB
4.7] Local Transport Settings not saved after server restart
- [ESBJAVA-2577 https://wso2.org/jira/browse/ESBJAVA-2577] - [ELB]
response body gets dropped when coming through ELB
- [ESBJAVA-2737 https://wso2.org/jira/browse/ESBJAVA-2737] - Proxy
displayed as secured when enabling response cache when locat transport is
enabled.
- [ESBJAVA-2750 https://wso2.org/jira/browse/ESBJAVA-2750] -
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation
not found occurred while invoking rest API
- [ESBJAVA-2768 https://wso2.org/jira/browse/ESBJAVA-2768] -
localEntry can not be given with Google Spreadsheet SetRow
- [ESBJAVA-2860 https://wso2.org/jira/browse/ESBJAVA-2860] - HTTP
Endpoint: Evaluated URI templates should decode all URL encoded characters
- [ESBJAVA-2886 https://wso2.org/jira/browse/ESBJAVA-2886] -
Exception when viewing mediation statistics page in tenant mode
- [ESBJAVA-2889 https://wso2.org/jira/browse/ESBJAVA-2889] - VFS:
File not moved to specified failed directory in ftp
- [ESBJAVA-2956 https://wso2.org/jira/browse/ESBJAVA-2956] -
REQUEST_HOST_HEADER appends port 80 to Host parameter when invoked as
tenant and request fails returning HTTP 404
- [ESBJAVA-2986 https://wso2.org/jira/browse/ESBJAVA-2986] -
OMException when timeout occurs with http passthru transport
- [ESBJAVA-3086 https://wso2.org/jira/browse/ESBJAVA-3086] - HTTP
DELETE requests with JSON fails
- [ESBJAVA-3108 https://wso2.org/jira/browse/ESBJAVA-3108] -
Response Caching doesn't work as expected.
- [ESBJAVA-3110 https://wso2.org/jira/browse/ESBJAVA-3110] -
Refering to a non-existent tempalate sequence is not considered an error
- [ESBJAVA-3126 https://wso2.org/jira/browse/ESBJAVA-3126] - [VFS
Transport] Error when trying to read files simultaneously from an FTPS
folder
- [ESBJAVA-3134 https://wso2.org/jira/browse/ESBJAVA-3134] -
Modules not Engaged After Server Restart
- [ESBJAVA-3162 https://wso2.org/jira/browse/ESBJAVA-3162] - Error
log printed everytime you update the config via master sourceview
- [ESBJAVA-3170 https://wso2.org/jira/browse/ESBJAVA-3170] - sample
50 has incorrect regex filter
- [ESBJAVA-3186 https://wso2.org/jira/browse/ESBJAVA-3186] -
Scheduling of tasks stops when you edit them during their execution
- [ESBJAVA-3207 https://wso2.org/jira/browse/ESBJAVA-3207] - Sample
57 is not working
- [ESBJAVA-3224 https://wso2.org/jira/browse/ESBJAVA-3224] - ESB
synapse sample configuration files and documentation are different in
sample 61 and 62
- [ESBJAVA-3225 https://wso2.org/jira/browse/ESBJAVA-3225] - Cannot
get a registry resource without a Media Type from Class Mediator
- [ESBJAVA-3237 https://wso2.org/jira/browse/ESBJAVA-3237] -
bam.xml file shipped by default with ESB contains
WebappDataPublishingdisable/WebappDataPublishing line
- [ESBJAVA-3265 https://wso2.org/jira/browse/ESBJAVA-3265] - Proxy
Configuration (Design View or Source View) can not show the parameter 
 value
properly if they contain comma ','
- [ESBJAVA-3289 https://wso2.org/jira/browse/ESBJAVA-3289] - Adding
the default Content-Type when there is no body in the response
- [ESBJAVA-3293 https://wso2.org/jira/browse/ESBJAVA-3293] -
PassThrough Transport ignores axis2:FORCE_HTTP_1.0 property
- [ESBJAVA-3296 https://wso2.org/jira/browse/ESBJAVA-3296] - ESB
does not support deflated input streams
- [ESBJAVA-3297 https://wso2.org/jira/browse/ESBJAVA-3297] - Error
in content length calculation when disable chunking in ESB
- [ESBJAVA-3298 https://wso2.org/jira/browse/ESBJAVA-3298] - HTTP
DELETE not working with DISABLE_CHUNKING option
- [ESBJAVA-3301 https://wso2.org/jira/browse/ESBJAVA-3301] -
java.naming.provider.url for message store is not dynamically configurable
- [ESBJAVA-3303 https://wso2.org

Re: [Dev] HTTP Inbound Endpoints - ESB 4.9.0 M5

2015-02-01 Thread Isuru Ranawaka
] at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
  [java] at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
  [java] at
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
  [java] at
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530)
  [java] at samples.userguide.StockQuoteClient.executeClient(Unknown
 Source)
  [java] at samples.userguide.StockQuoteClient.main(Unknown Source)

 BUILD SUCCESSFUL
 Total time: 4 seconds


 Regards
 *Asanthi Kulasinghe*
 WSO2 Inc; http://www.wso2.com/.
 Mobile: +94777355522





-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 ESB 4.9.0 M5 Released..!

2015-01-26 Thread Isuru Ranawaka
   - [ESBJAVA-3471 https://wso2.org/jira/browse/ESBJAVA-3471] -
   EmptyStackException with clone in fault sequence
   - [ESBJAVA-3473 https://wso2.org/jira/browse/ESBJAVA-3473] - Sending
   Transfer-Encoding Header with a HTTP 204 response
   - [ESBJAVA-3474 https://wso2.org/jira/browse/ESBJAVA-3474] - Unable to
   set property in message context in scope operation from a mediator.
   - [ESBJAVA-3482 https://wso2.org/jira/browse/ESBJAVA-3482] - [MTOM]
   [NHTTP] NullPointerException: Tenant domain has not been set in
   CarbonContext
   - [ESBJAVA-3483 https://wso2.org/jira/browse/ESBJAVA-3483] - [MTOM] -
   Content type changes incorrectly in Pass through transport when sending a
   MTOM request
   - [ESBJAVA-3490 https://wso2.org/jira/browse/ESBJAVA-3490] - ESB:
   Configuration given in Sample 372 should be updated
   - [ESBJAVA-3492 https://wso2.org/jira/browse/ESBJAVA-3492] - onError
   sequence is not called when handshake ssl exception
   - [ESBJAVA-3497 https://wso2.org/jira/browse/ESBJAVA-3497] -
   PassThrough Transport Deadlock Scenario
   - [ESBJAVA-3498 https://wso2.org/jira/browse/ESBJAVA-3498] - WSO2 ESB
   mediation statistics data not available after the Clone mediator in a
   sequence

Improvement

   - [ESBJAVA-2682 https://wso2.org/jira/browse/ESBJAVA-2682] - multiple
   worksheets can not be added only in one method call : createWorksheet on
   Google Spreadsheet connector
   - [ESBJAVA-3299 https://wso2.org/jira/browse/ESBJAVA-3299] -
   java.lang.NullPointerException is thrown when client jars not available
   - [ESBJAVA-3470 https://wso2.org/jira/browse/ESBJAVA-3470] - VFS SFTP
   does not support the use of private key with passphrase.
   - [ESBJAVA-3480 https://wso2.org/jira/browse/ESBJAVA-3480] -
   http.connection.disable.keepalive=true Not working for ESB 4.8.1
   - [ESBJAVA-3493 https://wso2.org/jira/browse/ESBJAVA-3493] - A
   Notification message is not shown when the Aggregate mediator times out.

New Feature

   - [ESBJAVA-3496 https://wso2.org/jira/browse/ESBJAVA-3496] - Http
   Inbound Endpoint

Patch

   - [ESBJAVA-3019 https://wso2.org/jira/browse/ESBJAVA-3019] - Script
   Mediator - Blank spaces and Decimal points representation issues
   - [ESBJAVA-3137 https://wso2.org/jira/browse/ESBJAVA-3137] -
   Nullpointer when using cache mediator
   - [ESBJAVA-3156 https://wso2.org/jira/browse/ESBJAVA-3156] - Wsse
   security headers are missing in a non-secure proxy invoking secured BE
   scenario
   - [ESBJAVA-3286 https://wso2.org/jira/browse/ESBJAVA-3286] -
   ClassMediator un-deployment from CARs not working properly in Windows
   environment
   - [ESBJAVA-3340 https://wso2.org/jira/browse/ESBJAVA-3340] - Cannot
   send space character with path-param or query-param in ESB REST API's
   - [ESBJAVA-3342 https://wso2.org/jira/browse/ESBJAVA-3342] - Introduce
   new worker-pool for error handling in NHTTP
   - [ESBJAVA-3380 https://wso2.org/jira/browse/ESBJAVA-3380] - Enabling
   capabliity to configure Json configurations from syanpse Properties
   - [ESBJAVA-3387 https://wso2.org/jira/browse/ESBJAVA-3387] - DBLookup
   exception doesn't go to faultSequence
   - [ESBJAVA-3412 https://wso2.org/jira/browse/ESBJAVA-3412] - ESB
   v4.8.0: java.util.EmptyStackException from Clone Mediator in main Sequence

Sub-task

   - [ESBJAVA-3292 https://wso2.org/jira/browse/ESBJAVA-3292] - Test Case
   for the issue ESBJAVA-3289


[1]
https://svn.wso2.org/repos/wso2/people/isuruR/M5_Released/wso2esb-4.9.0-SNAPSHOT.zip
https://svn.wso2.org/repos/wso2/people/jeewantha/4.9.0_release/released/M4/wso2esb-4.9.0-SNAPSHOT.zip

Thank You
-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Pirinthapan Mahendran

2015-01-11 Thread Isuru Ranawaka
.


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Sameera Jayaratna

2015-01-05 Thread Isuru Ranawaka
Congratulations Sameera !!!

On Mon, Jan 5, 2015 at 1:51 PM, Buddhima Wijeweera buddh...@wso2.com
wrote:

 Congratulations Sameera !!!

 On Mon, Jan 5, 2015 at 1:47 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Sameera !

 On Mon, Jan 5, 2015 at 1:42 PM, Kasun De Silva kas...@wso2.com wrote:

 Congratz Sameera !!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Mon, Jan 5, 2015 at 1:36 PM, Damith Wickramasinghe dami...@wso2.com
 wrote:

 Congratzz :)

 On Mon, Jan 5, 2015 at 1:32 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Sameera!

 On Mon, Jan 5, 2015 at 1:21 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations..

 On Mon, Jan 5, 2015 at 7:48 AM, Sajini De Silva saj...@wso2.com
 wrote:

 Congratulations Sameera !!!

 On Mon, Jan 5, 2015 at 1:17 PM, Manoj Gunawardena man...@wso2.com
 wrote:

 Congratulations Sameera !

 On Mon, Jan 5, 2015 at 1:14 PM, Ruchira Wageesha ruch...@wso2.com
 wrote:

 Hi All,

 It's my pleasure to welcome Sameera Jayaratna as a WSO2 Committer.
 Sameera is a member of WSO2 UES/ES team and has done a great 
 contribution
 to WSO2 ES product showing a great enthusiasm in her work. In 
 recognition
 of her contribution, she has been voted as a WSO2 Committer.

 Sameera, welcome aboard and keep up the good work..

 /Ruchira

 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Manoj Gunawardena
 Tech Lead
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 2291643

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Software Engineer
 WSO2 Inc.; http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 lean.enterprise.middleware

 mobile: *+94728671315 %2B94728671315*


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Mobile: +94 71 427 9966
 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Ayesha Dissanayaka

2015-01-05 Thread Isuru Ranawaka
Congratz Ayesha !!!


On Mon, Jan 5, 2015 at 1:41 PM, Kasun De Silva kas...@wso2.com wrote:

 Congratz Ayesha !!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Mon, Jan 5, 2015 at 1:37 PM, Denuwanthi De Silva denuwan...@wso2.com
 wrote:

 Congratulations Ayesha!! :)

 On Mon, Jan 5, 2015 at 1:34 PM, Dakshika Jayathilaka daksh...@wso2.com
 wrote:

 Congratulations Ayesha!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Mon, Jan 5, 2015 at 1:32 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Ayesha!

 On Mon, Jan 5, 2015 at 1:29 PM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Congratulations

 On Mon, Jan 5, 2015 at 1:28 PM, Shiroshica Kulatilake sh...@wso2.com
 wrote:

 Congrats Ayesha !!

 On Mon, Jan 5, 2015 at 1:25 PM, Damith Wickramasinghe 
 dami...@wso2.com wrote:

 Congratzzz

 On Mon, Jan 5, 2015 at 1:21 PM, Supun Sethunga sup...@wso2.com
 wrote:

 Congratz Ayesha !

 On Mon, Jan 5, 2015 at 1:18 PM, Sajini De Silva saj...@wso2.com
 wrote:

 Congratulations Ayesha!!!

 On Mon, Jan 5, 2015 at 1:16 PM, Malintha Adikari 
 malin...@wso2.com wrote:

 Congratulations Ayesha!!!


 On Mon, Jan 5, 2015 at 7:43 AM, Ruchira Wageesha 
 ruch...@wso2.com wrote:

 Hi All,

 It's my pleasure to welcome Ayesha Dissanayaka as a WSO2
 Committer. Ayesha is a member of WSO2 UES/ES team and has done a 
 great
 contribution to WSO2 ES product showing a great enthusiasm in her 
 work. In
 recognition of her contribution, she has been voted as a WSO2 
 Committer.

 Ayesha, welcome aboard and keep up the good work..

 /Ruchira

 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Software Engineer
 WSO2 Inc.; http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 lean.enterprise.middleware

 mobile: *+94728671315 %2B94728671315*


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Awanthika Senarath

2015-01-04 Thread Isuru Ranawaka
Congratulations Awanthika!!!

On Mon, Jan 5, 2015 at 1:04 PM, Buddhima Wijeweera buddh...@wso2.com
wrote:

 Congratulations Awanthika!!!

 On Mon, Jan 5, 2015 at 12:59 PM, Thilini Anoratna thili...@wso2.com
 wrote:

 Congratz !! :)

 On Mon, Jan 5, 2015 at 12:55 PM, Rajeevan Vimalanathan 
 rajeev...@wso2.com wrote:

 Congratz Awanthika...!!!

 On Mon, Jan 5, 2015 at 12:48 PM, Jasintha Dasanayake jasin...@wso2.com
 wrote:

 Hi All,

 It's my distinct pleasure to welcome Awanthika Senarath as a WSO2
 Committer.

 Awanthika  has  been a valuable contributor for WSO2 Developer Studio
 since she joined WSO2. In recognition of her contributions to WSO2, She has
 been voted as a WSO2 Committer.

 Awanthika, Congratulations and Keep up the good work!

 Thanks and Regards,
 /Jasintha

 --

 *Jasintha Dasanayake*

 *Senior Software EngineerWSO2 Inc. | http://wso2.com
 http://wso2.com/lean . enterprise . middleware*


 *mobile :- 0711368118 0711368118*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Thilini Anoratna
 Software Engineering Intern
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile : +94 (0) 778955654
 Email: thili...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Mobile: +94 71 427 9966
 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Hasintha Indrajee

2014-12-30 Thread Isuru Ranawaka
 list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 Tharindu Edirisinghe
 Software Engineer | WSO2 Inc
 Identity Server Team
 mobile : +94 775 181586

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Thanuja Lakmal*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94715979891 +94758009992

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Gayan Gunawardana
 Software Engineer; WSO2 Inc.; http://wso2.com/
 Email: ga...@wso2.com
 Mobile: +94 (71) 8020933

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Chanuka Dissanayake
 *Software Engineer | **WSO2 Inc.*; http://wso2.com

 Mobile: +94 71 33 63 596
 Email: chan...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Pulasthi Mahawithana*
 Software Engineer
 WSO2 Inc., http://wso2.com/
 Mobile: +94-71-5179022
 Blog: http://blog.pulasthi.org

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sandamal Weerasinghe

2014-12-28 Thread Isuru Ranawaka
Congratulations ..

On Mon, Dec 29, 2014 at 8:15 AM, Dakshika Jayathilaka daksh...@wso2.com
wrote:

 Congratulations sandamal !!!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Mon, Dec 29, 2014 at 7:54 AM, Kasun Indrasiri ka...@wso2.com wrote:

 Hi devs,

 Its my pleasure to welcome Sandamal Weerasinghe as a WSO2 Committer.

 Sandamal, welcome aboard and keep up the good work.

 Thanks.

 --
 Kasun Indrasiri
 Software Architect
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Carbon Mediation] Build Error - org.wso2.carbon.inbound.endpoint

2014-12-12 Thread Isuru Ranawaka
: Compilation
 failure: Compilation failure:
 [ERROR]
 /Users/maheeka/FTProject/mysource/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/file/FilePollingConsumer.java:[31,37]
 cannot find symbol
 [ERROR] symbol  : class VFSParamDTO
 [ERROR] location: package org.apache.synapse.commons.vfs
 [ERROR]
 [ERROR]
 /Users/maheeka/FTProject/mysource/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/file/FileInjectHandler.java:[147,38]
 cannot find symbol
 [ERROR] symbol  : method
 injectInbound(org.apache.synapse.MessageContext,org.apache.synapse.mediators.base.SequenceMediator,boolean)
 [ERROR] location: interface org.apache.synapse.core.SynapseEnvironment
 [ERROR]
 [ERROR]
 /Users/maheeka/FTProject/mysource/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/file/FilePollingConsumer.java:[388,41]
 cannot find symbol
 [ERROR] symbol  : variable TRANSPORT_DISTRIBUTED_LOCK
 [ERROR] location: class org.apache.synapse.commons.vfs.VFSConstants
 [ERROR]
 [ERROR]
 /Users/maheeka/FTProject/mysource/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/file/FilePollingConsumer.java:[400,49]
 cannot find symbol
 [ERROR] symbol  : variable TRANSPORT_DISTRIBUTED_LOCK_TIMEOUT
 [ERROR] location: class org.apache.synapse.commons.vfs.VFSConstants
 [ERROR]
 [ERROR]
 /Users/maheeka/FTProject/mysource/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/file/FilePollingConsumer.java:[609,12]
 cannot find symbol
 [ERROR] symbol  : class VFSParamDTO
 [ERROR] location: class
 org.wso2.carbon.inbound.endpoint.protocol.file.FilePollingConsumer
 [ERROR]
 [ERROR]
 /Users/maheeka/FTProject/mysource/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/file/FilePollingConsumer.java:[609,42]
 cannot find symbol
 [ERROR] symbol  : class VFSParamDTO
 [ERROR] location: class
 org.wso2.carbon.inbound.endpoint.protocol.file.FilePollingConsumer
 [ERROR]
 [ERROR]
 /Users/maheeka/FTProject/mysource/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/generic/GenericPollingConsumer.java:[117,38]
 cannot find symbol
 [ERROR] symbol  : method
 injectInbound(org.apache.synapse.MessageContext,org.apache.synapse.mediators.base.SequenceMediator,boolean)
 [ERROR] location: interface org.apache.synapse.core.SynapseEnvironment
 [ERROR]
 [ERROR]
 /Users/maheeka/FTProject/mysource/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/jms/JMSInjectHandler.java:[131,39]
 cannot find symbol
 [ERROR] symbol  : method
 injectInbound(org.apache.synapse.MessageContext,org.apache.synapse.mediators.base.SequenceMediator,boolean)
 [ERROR] location: interface org.apache.synapse.core.SynapseEnvironment


 Thanks,

 Maheeka Jayasuriya
 Software Engineer
 Mobile : +9450661

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Creating Git Repository for staxon library

2014-11-28 Thread Isuru Ranawaka
Hi ,

Staxon library is used in ESB as underlying JSON library. We need to
improve and add more functionalities to this library .So what will be the
process of creating above git repo.

thanks
isurur


-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invitation: Http Inbound Endpoint Code Review -Part 2 @ Mon Nov 10, 2014 2pm - 3pm (Isuru Ranawaka)

2014-11-10 Thread Isuru Ranawaka
Hi ,
Following are the code review notes.

  Provide more  meaningful error messages when logging errors.
  Properly configure Intellij idea for short cut keys and disable OS level
short cuts.
  Use template for generate WSO2-License files.

  Introduce Manager level class which is outside from HTTP inbound endpoint
implementation to start and stop IO reactor.
  Introduce API in passthru transport level to reuse codes in Passthru
transport code.
  Remove deprecated methods and upgrade to HttpCore newer version.



On Fri, Nov 7, 2014 at 1:50 PM, Isuru Ranawaka isu...@wso2.com wrote:

 more details »
 https://www.google.com/calendar/event?action=VIEWeid=NnZ2cmIxZHE0NzA4bTMzYWIxbWxsZWdraDQgZGV2QHdzbzIub3Jntok=MTUjaXN1cnVyQHdzbzIuY29tYmE5NzRjYjVmM2M2ZmJjZTNhYzFkZjVjMDkzMTI3MTVlYjgyN2M0NQctz=Asia/Colombohl=en
 Http Inbound Endpoint Code Review -Part 2
 *When*
 Mon Nov 10, 2014 2pm – 3pm Colombo
 *Where*
 1 st Floor Meeting Room (map
 https://maps.google.lk/maps?q=1+st+Floor+Meeting+Roomhl=en)
 *Video call*
 https://plus.google.com/hangouts/_/wso2.com/http-inbound
 https://plus.google.com/hangouts/_/wso2.com/http-inbound?hceid=aXN1cnVyQHdzbzIuY29t.6vvrb1dq4708m33ab1mllegkh4
 *Calendar*
 Isuru Ranawaka
 *Who*
 •
 Isuru Ranawaka - organizer
 •
 Srinath Perera
 •
 Ravi Undupitiya
 •
 Afkham Azeez
 •
 Shafreen Anfar
 •
 Ishan Jayawardena
 •
 Isuru Udana
 •
 Sandamal Weerasinghe
 •
 Malaka Silva
 •
 Chanaka Fernando
 •
 Jeewantha Dharmaparakrama
 •
 Kasun Indrasiri
 •
 Ravindra Ranwala
 •
 dev@wso2.org

 Going?   *Yes
 https://www.google.com/calendar/event?action=RESPONDeid=NnZ2cmIxZHE0NzA4bTMzYWIxbWxsZWdraDQgZGV2QHdzbzIub3Jnrst=1tok=MTUjaXN1cnVyQHdzbzIuY29tYmE5NzRjYjVmM2M2ZmJjZTNhYzFkZjVjMDkzMTI3MTVlYjgyN2M0NQctz=Asia/Colombohl=en
 - Maybe
 https://www.google.com/calendar/event?action=RESPONDeid=NnZ2cmIxZHE0NzA4bTMzYWIxbWxsZWdraDQgZGV2QHdzbzIub3Jnrst=3tok=MTUjaXN1cnVyQHdzbzIuY29tYmE5NzRjYjVmM2M2ZmJjZTNhYzFkZjVjMDkzMTI3MTVlYjgyN2M0NQctz=Asia/Colombohl=en
 - No
 https://www.google.com/calendar/event?action=RESPONDeid=NnZ2cmIxZHE0NzA4bTMzYWIxbWxsZWdraDQgZGV2QHdzbzIub3Jnrst=2tok=MTUjaXN1cnVyQHdzbzIuY29tYmE5NzRjYjVmM2M2ZmJjZTNhYzFkZjVjMDkzMTI3MTVlYjgyN2M0NQctz=Asia/Colombohl=en*
 more options »
 https://www.google.com/calendar/event?action=VIEWeid=NnZ2cmIxZHE0NzA4bTMzYWIxbWxsZWdraDQgZGV2QHdzbzIub3Jntok=MTUjaXN1cnVyQHdzbzIuY29tYmE5NzRjYjVmM2M2ZmJjZTNhYzFkZjVjMDkzMTI3MTVlYjgyN2M0NQctz=Asia/Colombohl=en

 Invitation from Google Calendar https://www.google.com/calendar/

 You are receiving this courtesy email at the account dev@wso2.org because
 you are an attendee of this event.

 To stop receiving future updates for this event, decline this event.
 Alternatively you can sign up for a Google account at
 https://www.google.com/calendar/ and control your notification settings
 for your entire calendar.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Invitation: Http Inbound Endpoint Code Review -Part 2 @ Mon Nov 10, 2014 2pm - 3pm (Isuru Ranawaka)

2014-11-07 Thread Isuru Ranawaka
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20141110T083000Z
DTEND:20141110T093000Z
DTSTAMP:20141107T082048Z
ORGANIZER;CN=Isuru Ranawaka:mailto:isu...@wso2.com
UID:6vvrb1dq4708m33ab1mlleg...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Srinath Perera;X-NUM-GUESTS=0:mailto:srin...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ravi Undupitiya;X-NUM-GUESTS=0:mailto:r...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Afkham Azeez;X-NUM-GUESTS=0:mailto:az...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Shafreen Anfar;X-NUM-GUESTS=0:mailto:shafr...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ishan Jayawardena;X-NUM-GUESTS=0:mailto:is...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Isuru Udana;X-NUM-GUESTS=0:mailto:isu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Sandamal Weerasinghe;X-NUM-GUESTS=0:mailto:sanda...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Malaka Silva;X-NUM-GUESTS=0:mailto:mal...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Chanaka Fernando;X-NUM-GUESTS=0:mailto:chana...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Isuru Ranawaka;X-NUM-GUESTS=0:mailto:isu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Jeewantha Dharmaparakrama;X-NUM-GUESTS=0:mailto:jeewan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Kasun Indrasiri;X-NUM-GUESTS=0:mailto:ka...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ravindra Ranwala;X-NUM-GUESTS=0:mailto:ravin...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
CREATED:20141107T081856Z
DESCRIPTION:View your event at https://www.google.com/calendar/event?action
 =VIEWeid=NnZ2cmIxZHE0NzA4bTMzYWIxbWxsZWdraDQgZGV2QHdzbzIub3Jntok=MTUjaXN1
 cnVyQHdzbzIuY29tYmE5NzRjYjVmM2M2ZmJjZTNhYzFkZjVjMDkzMTI3MTVlYjgyN2M0NQctz=
 Asia/Colombohl=en.
LAST-MODIFIED:20141107T082047Z
LOCATION:1 st Floor Meeting Room
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Http Inbound Endpoint Code Review -Part 2
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-06 Thread Isuru Ranawaka
Congratulations Asanka

On Fri, Nov 7, 2014 at 9:58 AM, Anuruddha Premalal anurud...@wso2.com
wrote:

 Congratulations Asanka!!

 On Fri, Nov 7, 2014 at 9:32 AM, Niranjan Karunanandham niran...@wso2.com
 wrote:

 Congrats Asanka!!

 On Fri, Nov 7, 2014 at 9:24 AM, Godwin Amila Shrimal god...@wso2.com
 wrote:

 Congratulations Asanka...!

 On Fri, Nov 7, 2014 at 9:20 AM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Asanka !

 On Fri, Nov 7, 2014 at 9:18 AM, Roshan Deniyage rosh...@wso2.com
 wrote:

 Congrats asanka!

 Roshan Deniyage
 Associate Technical Lead
 WSO2, Inc: http://wso2.com

 Mobile:  +94 777636406
 Twitter:  *https://twitter.com/roshku
 https://twitter.com/roshku*
 LinkedIn :  https://www.linkedin.com/in/roshandeniyage


 On Thu, Nov 6, 2014 at 6:10 AM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Congratulations, Asanka...!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya hasit...@wso2.com
 wrote:

 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana raji...@wso2.com
  wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe ram...@wso2.com
  wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer.
 Keep up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Godwin Amila Shrimal*
 Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
 twitter: https://twitter.com/godwinamila

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: http://www.wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What is ESB mediator serializer for?

2014-11-03 Thread Isuru Ranawaka
Hi Lahiru,

Mediator serializer   is for write mediator configuration object to XML
file which is used when saving configuration from UI to file system. Check
by saving your configuration from UI.

Thanks
isuruR

On Tue, Nov 4, 2014 at 11:47 AM, Waruna Perera waru...@wso2.com wrote:

 Hi Lahiru,

 can you check whether your bundle got activated vi Osgi console?


 Thanks

 On Tue, Nov 4, 2014 at 11:34 AM, Lahiru Chandima lahi...@wso2.com wrote:

 Hi All,

 I am writing a new ESB mediator and I cannot figure out the need of a
 mediator serializer (extension of AbstractMediatorSerializer) for a
 mediator.

 Also, in the new mediator I created, if I add a breakpoint in
 serializeSpecificMediator() method in my mediator serializer and debugged,
 the breakpoint never gets hit (during ESB startup or when the mediator
 receives an event to mediate).

 Does anybody know what is the need of a mediator serializer and when does
 the serializeSpecificMediator() method get called?

 Thanks

 --
 Lahiru Chandima
 *Senior Software Engineer*
 Mobile : +94 (0) 772 253283
 lahi...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Waruna Perera
 Senior Software Engineer - Test Automation
 Mobile: +94 77 3867037
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Service that returns a json object

2014-10-26 Thread Isuru Ranawaka
Hi kalpa,

I think that you can write a proxy that returns a JSON Object by specifying
property

property name=messageType value=application/json scope=axis2/

which will convert receiving object to JSON .

thanks

isurur

On Mon, Oct 27, 2014 at 10:59 AM, Kalpa Welivitigoda kal...@wso2.com
wrote:

 Hi,

 I need $subject to write an integration test for ESB. Do we already have
 such a service in the test automation framework?

 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] How does content aware mediators behave with nhttp transport ?

2014-10-23 Thread Isuru Ranawaka
Hi Rushmin,

According to the nhttp architecture it uses two buffers for request
read(Input Stream) and request write to BE(output stream). But those two
buffers has raw byte stream.But in the mediation layer requests are
represent as OMElements.So InputStream is need to convert OMElement and
again to OutputStream so that is  handle by Axis2 Level message builders
and formatters. Message builders create OMElement from input stream and
formatters again serialized it. So before moving to mediation layer
messages are converted to OMElement but this not fully build of the message
this is only partially build because it uses Steaming API (Stax parser) how
ever it has significant build overhead comparing to raw byte stream.

If mediators are content aware then message is actually fully  read to the
memory by Streaming API. But if you used binary relay in nhttp transport
then messages are processed as byte streams with out partially or fully
building of the message.But it can not be used with content aware
mediators.

thanks
IsuruR

On Thu, Oct 23, 2014 at 9:30 PM, Rushmin Fernando rush...@wso2.com wrote:

 Does the framework build the message before it submits a message for
 mediation to a content aware mediator

 or

 does it build the message upfront if there is a content mediator in
 possible sequence paths ?

 Thanks
 Rushmin



 --
 *Rushmin Fernando*
 *Technical Lead*

 WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware

 email : rush...@wso2.com
 mobile : +94772310855



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Gayashan Amarasinghe

2014-10-20 Thread Isuru Ranawaka
Congratulations

On Mon, Oct 20, 2014 at 1:31 PM, Rajkumar Rajaratnam rajkum...@wso2.com
wrote:

 Congratulations Gayashan!

 On Mon, Oct 20, 2014 at 1:17 PM, Nipuni Perera nip...@wso2.com wrote:

 Congratulations Gayashan!



 On Mon, Oct 20, 2014 at 12:36 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Gayashan!

 On Mon, Oct 20, 2014 at 12:24 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Congrats Gayashan..

 On Mon, Oct 20, 2014 at 12:23 PM, Vijitha Ekanayake vijit...@wso2.com
 wrote:

 Congratulations Gayashan ...!!!

 On Mon, Oct 20, 2014 at 11:50 AM, Sameera Jayasoma same...@wso2.com
 wrote:

 Hi Gayashan,

 It's my pleasure to welcome you to WSO2 Committers club. You've been
 contributing to WSO2 in various forms, hence you deserve this. Please 
 keep
 up with good work you've been doing so far.

 Congratulations!!!

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Nipuni Perera
 Software Engineer; WSO2 Inc.; http://wso2.com
 Email: nip...@wso2.com
 Git hub profile: https://github.com/nipuni
 Mobile: +94 (71) 5626680
 http://wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajkumar Rajaratnam
 Software Engineer | WSO2, Inc.
 Mobile +94777568639 | +94783498120

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Tishan Dahanayakage

2014-10-20 Thread Isuru Ranawaka
 Engineer
 WSO2, Inc : http://wso2.com
 Mob : +94774457404

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Gimantha Bandara
 Software Engineer
 WSO2. Inc : http://wso2.com
 Mobile : +94714961919

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Software Engineer
 WSO2 Inc.; http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 lean.enterprise.middleware

 mobile: *+94728671315 %2B94728671315*


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Omindu Rathnaweera
 Software Engineer, WSO2 Inc.
 Mobile: +94 771 197 211

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Invitation: Http Inbound Endpoint Code Review @ Fri Oct 17, 2014 1:30pm - 2:30pm (Isuru Ranawaka)

2014-10-15 Thread Isuru Ranawaka
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20141017T08Z
DTEND:20141017T09Z
DTSTAMP:20141016T044524Z
ORGANIZER;CN=Isuru Ranawaka:mailto:isu...@wso2.com
UID:rog7agkbi305sev7rb7k543...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Malaka Silva;X-NUM-GUESTS=0:mailto:mal...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ravi Undupitiya;X-NUM-GUESTS=0:mailto:r...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Miyuru Wanninayaka;X-NUM-GUESTS=0:mailto:miy...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dushan Abeyruwan;X-NUM-GUESTS=0:mailto:dus...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Isuru Ranawaka;X-NUM-GUESTS=0:mailto:isu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Kasun Indrasiri;X-NUM-GUESTS=0:mailto:ka...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ishan Jayawardena;X-NUM-GUESTS=0:mailto:is...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Isuru Udana;X-NUM-GUESTS=0:mailto:isu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Sandamal Weerasinghe;X-NUM-GUESTS=0:mailto:sanda...@wso2.com
CREATED:20141016T044523Z
DESCRIPTION:View your event at https://www.google.com/calendar/event?action
 =VIEWeid=cm9nN2Fna2JpMzA1c2V2N3JiN2s1NDMydGMgZGV2QHdzbzIub3Jntok=MTUjaXN1
 cnVyQHdzbzIuY29tNzBiYmQ4MTNkZTU1ZDQ4OGU1YmYwMGY5Zjg2ZjdiNDYwMDQ3ZTE1NActz=
 Asia/Colombohl=en.
LAST-MODIFIED:20141016T044523Z
LOCATION:1st Floor Meeting Room
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Http Inbound Endpoint Code Review 
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sameera Kannangara

2014-10-12 Thread Isuru Ranawaka
Congratz!!!


On Mon, Oct 13, 2014 at 10:39 AM, Shazni Nazeer sha...@wso2.com wrote:

 Congratz!!!

 Shazni Nazeer

 Senior Software Engineer

 Mob : +94 37331
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com

 On Mon, Oct 13, 2014 at 10:36 AM, Hasintha Indrajee hasin...@wso2.com
 wrote:

 Congratulations Sameera

 On Mon, Oct 13, 2014 at 10:27 AM, Priyadarssini Kishokumar 
 priyadarss...@wso2.com wrote:

 Congratulations Sameera !!!

 On Mon, Oct 13, 2014 at 10:24 AM, Pulasthi Supun pulas...@wso2.com
 wrote:

 Congrats!!

 On Mon, Oct 13, 2014 at 9:33 AM, Abimaran Kugathasan abima...@wso2.com
  wrote:

 Congrats!

 On Sun, Oct 12, 2014 at 11:49 PM, Pirinthapan Mahendran 
 pirintha...@wso2.com wrote:

 Congratulations Sameera !!



 Mahendran Pirinthapan
 Software Engineer | WSO2 Inc.
 Mobile +94772378732.

 On Sat, Oct 11, 2014 at 11:09 PM, Buddhima Wijeweera 
 buddh...@wso2.com wrote:

 Congratulations Sameera !!!

 On Sat, Oct 11, 2014 at 10:58 PM, Rajith Vitharana raji...@wso2.com
  wrote:

 Congratulations Sameera  :)

 On Thu, Oct 9, 2014 at 9:08 PM, Subash Chaturanga sub...@wso2.com
 wrote:

 Hi all,
 It's our pleasure to welcome Sameera Kannangara as a WSO2
 Committer. Sameera has contributed immensely to WSO2 Governance 
 Registry
 and platform and shown great commitment. In recognition of his
 contribution, he has been voted as a WSO2 Commiter.

 Welcome aboard and keep up the good work.

 --
 Thanks
 /subash

 *Subash Chaturanga*
 Senior Software Engineer
 Platform TG; WSO2 Inc. http://wso2.com
 Contact:
 email: sub...@wso2.com
 blog:  http://subashsdm.blogspot.com/
 twitter: @subash89
 phone: +9477 2225922
 Lean . Enterprise . Middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 77 1708229

 http://stackoverflow.com/users/515034
 http://lk.linkedin.com/in/abimaran
 http://www.lkabimaran.blogspot.com/  https://github.com/abimaran
 https://twitter.com/abimaran


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Priya Kishok
 Software Engineer
 WSO2, Inc : http://wso2.com
 Mob : +94774457404

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error in setting up ESB with JMS

2014-10-01 Thread Isuru Ranawaka
)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:745)

 What might be the reason behind this?

 Thank you in advance

 [1]
 https://docs.wso2.com/display/ESB481/Sample+250%3A+Introduction+to+Switching+Transports
 [2] https://docs.wso2.com/display/ESB481/Configure+with+ActiveMQ

 --
 *Niranda Perera*
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44 https://twitter.com/N1R44

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Samith Dassanayake

2014-10-01 Thread Isuru Ranawaka
Congratulations!!

On Thu, Oct 2, 2014 at 10:52 AM, Sachini Jayasekara sachi...@wso2.com
wrote:

 Congratulations!!!

 On Thu, Oct 2, 2014 at 10:46 AM, Roshan Wijesena ros...@wso2.com wrote:

 Congratulations!!

 On Thu, Oct 2, 2014 at 10:43 AM, Lasindu Charith lasi...@wso2.com
 wrote:

 Congratz Samith ...!!!

 On Thu, Oct 2, 2014 at 10:40 AM, Kasun De Silva kas...@wso2.com wrote:

 Congratz Samith 

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Oct 2, 2014 at 10:39 AM, Dimuthu Leelarathne dimut...@wso2.com
  wrote:

 Hi all,

 Its my pleasure to welcome Samith Dassanayake  as a WSO2 Committer.
 Samith has contributed immensely to WSO2 App Factory and has shown great
 commitment. In recognition of his contribution, he has been voted as a 
 WSO2
 Committer.

 Samith, welcome aboard!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Lasindu Charith*
 Software Engineer, WSO2 Inc.
 Mobile: +94714427192
 Web: blog.lasindu.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94752126789*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --



 *Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. *

 *lean . enterprise . middleware |  http://wso2.com http://wso2.com *

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Build Error in wso2-dev/carbon-medation

2014-09-30 Thread Isuru Ranawaka
Hi All,
I am getting following error when building wso2-dev/carbon-medation

[ERROR] The projects in the reactor contain a cyclic reference: Edge
between
'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT'}'
and
'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT'}'
introduces to cycle in the graph
org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT --
org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT --
org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT -
[Help 1]
org.apache.maven.ProjectCycleException: The projects in the reactor contain
a cyclic reference: Edge between
'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT'}'
and
'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT'}'
introduces to cycle in the graph
org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT --
org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT --
org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:300)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.codehaus.plexus.util.dag.CycleDetectedException: Edge
between
'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT'}'
and
'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT'}'
introduces to cycle in the graph
org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT --
org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT --
org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT
at org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:143)
at
org.apache.maven.project.ProjectSorter.addEdge(ProjectSorter.java:219)
at
org.apache.maven.project.ProjectSorter.addEdge(ProjectSorter.java:184)
at org.apache.maven.project.ProjectSorter.init(ProjectSorter.java:115)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:288)
... 12 more

What will be the reason for this.


Thanks
IsuruR








-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Error in wso2-dev/carbon-medation

2014-09-30 Thread Isuru Ranawaka
Hi Gayshan,
Thanks for your reply .Yes thats due to cyclic dependency.

Thanks
isuru



On Tue, Sep 30, 2014 at 4:47 PM, Gayashan Amarasinghe gayas...@wso2.com
wrote:

 Hi Isuru,

 This is due to a cyclic dependency in the pom files of
 org.wso2.carbon.mediation.initializer, and org.wso2.carbon.mediation.ntask.

 org.wso2.carbon.mediation.initializer depends on:
 dependency
 groupIdorg.wso2.carbon/groupId
 artifactIdorg.wso2.carbon.mediation.ntask/artifactId
 version${wso2carbon.version}/version
 /dependency


 org.wso2.carbon.mediation.ntask depends on:
 dependency
 groupIdorg.wso2.carbon/groupId
 artifactIdorg.wso2.carbon.mediation.initializer/artifactId
 /dependency

 Would need to break this cyclic dependency in order for the build to work.

 Thanks.
 /Gayashan

 On Tue, Sep 30, 2014 at 4:17 PM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi All,
 I am getting following error when building wso2-dev/carbon-medation

 [ERROR] The projects in the reactor contain a cyclic reference: Edge
 between
 'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT'}'
 and
 'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT'}'
 introduces to cycle in the graph
 org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT --
 org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT --
 org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT -
 [Help 1]
 org.apache.maven.ProjectCycleException: The projects in the reactor
 contain a cyclic reference: Edge between
 'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT'}'
 and
 'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT'}'
 introduces to cycle in the graph
 org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT --
 org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT --
 org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:300)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
 Caused by: org.codehaus.plexus.util.dag.CycleDetectedException: Edge
 between
 'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT'}'
 and
 'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT'}'
 introduces to cycle in the graph
 org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT --
 org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT --
 org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT
 at org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:143)
 at
 org.apache.maven.project.ProjectSorter.addEdge(ProjectSorter.java:219)
 at
 org.apache.maven.project.ProjectSorter.addEdge(ProjectSorter.java:184)
 at
 org.apache.maven.project.ProjectSorter.init(ProjectSorter.java:115)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:288)
 ... 12 more

 What will be the reason for this.


 Thanks
 IsuruR








 --
 Best Regards
 Isuru Ranawaka
 M: +94714629880
 Blog : http://isurur.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Error in wso2-dev/carbon-medation

2014-09-30 Thread Isuru Ranawaka
/wso2/carbon/inbound/endpoint/inboundfactory/InboundRequestProcessorFactoryImpl.java:[14,7]
 org.wso2.carbon.inbound.endpoint.inboundfactory.InboundRequestProcessorFactoryImpl
 is not abstract and does not override abstract method
 createInboundProcessor(java.lang.String,java.lang.String,java.lang.String,java.util.Properties,java.lang.String,java.lang.String,org.apache.synapse.core.SynapseEnvironment)
 in org.apache.synapse.inbound.InboundRequestProcessorFactory
 [ERROR]
 [ERROR]
 /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/inboundfactory/InboundRequestProcessorFactoryImpl.java:[20,4]
 method does not override or implement a method from a supertype
 [ERROR]
 [ERROR]
 /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/http/netty/impl/InboundSourceResponseSender.java:[55,7]
 org.wso2.carbon.inbound.endpoint.protocol.http.netty.impl.InboundSourceResponseSender
 is not abstract and does not override abstract method getType() in
 org.apache.synapse.inbound.InboundResponseSender
 [ERROR]
 [ERROR]
 /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/http/core/impl/InboundHttpSourceRequestWorker.java:[99,63]
 cannot find symbol
 [ERROR] symbol  : variable INBOUND_ENDPOINT_RESPONSE_WORKER
 [ERROR] location: class org.apache.synapse.inbound.InboundEndpointConstants
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :org.wso2.carbon.inbound.endpoint


 Thanks,
 Chanaka


 On Tue, Sep 30, 2014 at 5:21 PM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi Gayshan,
 Thanks for your reply .Yes thats due to cyclic dependency.

 Thanks
 isuru



 On Tue, Sep 30, 2014 at 4:47 PM, Gayashan Amarasinghe gayas...@wso2.com
 wrote:

 Hi Isuru,

 This is due to a cyclic dependency in the pom files of
 org.wso2.carbon.mediation.initializer, and org.wso2.carbon.mediation.ntask.

 org.wso2.carbon.mediation.initializer depends on:
 dependency
 groupIdorg.wso2.carbon/groupId
 artifactIdorg.wso2.carbon.mediation.ntask/artifactId
 version${wso2carbon.version}/version
 /dependency


 org.wso2.carbon.mediation.ntask depends on:
 dependency
 groupIdorg.wso2.carbon/groupId

 artifactIdorg.wso2.carbon.mediation.initializer/artifactId
 /dependency

 Would need to break this cyclic dependency in order for the build to
 work.

 Thanks.
 /Gayashan

 On Tue, Sep 30, 2014 at 4:17 PM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi All,
 I am getting following error when building wso2-dev/carbon-medation

 [ERROR] The projects in the reactor contain a cyclic reference: Edge
 between
 'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT'}'
 and
 'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT'}'
 introduces to cycle in the graph
 org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT --
 org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT --
 org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT -
 [Help 1]
 org.apache.maven.ProjectCycleException: The projects in the reactor
 contain a cyclic reference: Edge between
 'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT'}'
 and
 'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT'}'
 introduces to cycle in the graph
 org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT --
 org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT --
 org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:300)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597

Re: [Dev] WSO2 Commiters += Rajith Siriwardena

2014-09-25 Thread Isuru Ranawaka
: aye...@wso2.com ayshsa...@gmail.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajkumar Rajaratnam
 Software Engineer | WSO2, Inc.
 Mobile +94777568639 | +94783498120

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Carbon Mediation]

2014-07-28 Thread Isuru Ranawaka
/TemplateInfoFactory.java:[139,41]
error: name clash: getSortedTemplateInfoArray(CollectionTemplate) and
getSortedTemplateInfoArray(CollectionTemplateMediator) have the same
erasure


at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more






Regards
Isuru Ranawaka
phone :- +94714629880
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Build Error product-esb

2014-07-16 Thread Isuru Ranawaka
Following error occurs when building wso2-dev product-esb

at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:164)
... 20 more
Caused by: java.lang.NoClassDefFoundError:
org/sonatype/aether/graph/DependencyFilter
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532)
at java.lang.Class.getDeclaredConstructors(Class.java:1901)
at
com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
at
com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)
at
com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:653)
at
com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:863)
at
com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:790)
at
com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:278)
at
com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:210)
at
com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:986)
at
com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1019)
at
com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:982)
at
com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
at
org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
at
com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
at
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
at
com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
at
org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133)
at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
at
com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
at
com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
at
com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
at
com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)
at
com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:59)
at
com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at
com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
at
org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:240)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:234)
at
org.apache.maven.plugins.site.AbstractSiteRenderingMojo.getReports(AbstractSiteRenderingMojo.java:234)
at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:121)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
... 20 more
Caused by: java.lang.ClassNotFoundException:
org.sonatype.aether.graph.DependencyFilter
at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
... 60 more






Regards
Isuru Ranawaka
phone :- +94714629880
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Error product-esb

2014-07-16 Thread Isuru Ranawaka
hi kasun,

thanks for reply and it works with mvn version 3.0.4 error got with version
3.2.2


On Wed, Jul 16, 2014 at 1:51 PM, Kasun Gajasinghe kas...@wso2.com wrote:


 What's the maven version you are using? Can you try with Maven 3.0.x?

 KasunG


 On Wed, Jul 16, 2014 at 1:38 PM, Isuru Ranawaka isu...@wso2.com wrote:

 Following error occurs when building wso2-dev product-esb

 at
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:164)
 ... 20 more
 Caused by: java.lang.NoClassDefFoundError:
 org/sonatype/aether/graph/DependencyFilter
 at java.lang.Class.getDeclaredConstructors0(Native Method)
 at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532)
 at java.lang.Class.getDeclaredConstructors(Class.java:1901)
 at
 com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
 at
 com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)
 at
 com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:653)
 at
 com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:863)
 at
 com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:790)
 at
 com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:278)
 at
 com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:210)
 at
 com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:986)
 at
 com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1019)
 at
 com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:982)
 at
 com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
 at
 org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
 at
 com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
 at
 com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
 at
 com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
 at
 com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
 at
 org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133)
 at
 com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
 at
 com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
 at
 com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
 at
 com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
 at
 com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
 at
 com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)
 at
 com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
 at com.google.inject.Scopes$1$1.get(Scopes.java:59)
 at
 com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
 at
 com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
 at
 com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)
 at
 com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
 at
 org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
 at
 org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
 at
 org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260)
 at
 org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:240)
 at
 org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:234)
 at
 org.apache.maven.plugins.site.AbstractSiteRenderingMojo.getReports(AbstractSiteRenderingMojo.java:234)
 at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:121)
 at
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
 ... 20 more
 Caused by: java.lang.ClassNotFoundException:
 org.sonatype.aether.graph.DependencyFilter
 at
 org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
 at
 org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
 at
 org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
 at
 org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
 ... 60 more






 Regards
 Isuru Ranawaka
 phone :- +94714629880

[Dev] Error When Starting ESB with Inbound Endpoint

2014-07-07 Thread Isuru Ranawaka
hi all,

 After inserting following Inbound Endpoint configuration in to synapse.xml
and try to Start ESB it gives errors.

Synapse.xml looks like as below.

?xml version=1.0 encoding=UTF-8?
definitions xmlns=http://ws.apache.org/ns/synapse;
inboundEndpoint name=MyJMSListenerEP
   protocol=jms
   interval=1000 suspend=false
   parameters
parameter
name=java.naming.factory.initialorg.apache.activemq.jndi.ActiveMQInitialContextFactory/parameter
   parameter
name=java.naming.provider.urltcp://localhost:61616/parameter
   parameter
name=jms.ConnectionFactoryJNDINameQueueConnectionFactory/parameter
   parameter name=jms.ConnectionFactoryTypequeue/parameter
   parameter name=jms.DestinationordersQueue/parameter
   /parameters
   sequence key=requestHandlerSeq onError=inFault/
/inboundEndpoint
/definitions

Error Occurred is

Invalid configuration element at the top level, one of 'sequence',
'endpoint', 'proxy', 'eventSource', 'localEntry', 'priorityExecutor' or
'registry' is expected.

This is because in
org.apache.synapse.config.xml.SynapseXMLConfigurationFactory
getConfiguration(OMElement definitions, Properties properties) method does
not
handle  InboundEndpoints.

Is there another way of doing this or Is this need to be fixed.


--
Regards
Isuru Ranawaka
phone :- +94714629880
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Exception when Invoking GmailConnector ReadMailMessage Operation

2014-05-29 Thread Isuru Ranawaka
Hi all,

 When invoking ReadMailMessage operation in GmailConnector in a loop.After
reading few messages it starts to give following error.


INFO - GmailReadMailMessage Loading the IMAPStore
[2014-05-29 19:48:42,838]  INFO - GmailIMAPClientLoader Retriving the
prestored IMAPstore instance
[2014-05-29 19:48:42,839]  INFO - GmailUtils Started reading messages
[2014-05-29 19:48:44,923] ERROR - GmailUtils Failure while fetching messages
[2014-05-29 19:48:44,923]  INFO - GmailUtils Stored the error response
[2014-05-29 19:48:44,923] ERROR - GmailReadMailMessage connection failure
com.google.code.javax.mail.MessagingException: connection failure
at
com.google.code.com.sun.mail.imap.IMAPStore.getProtocol(IMAPStore.java:844)
at
com.google.code.com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:959)
at
org.wso2.carbon.connector.gmail.GmailUtils.readMails(GmailUtils.java:238)
at
org.wso2.carbon.connector.gmail.GmailReadMailMessage.connect(GmailReadMailMessage.java:61)
at
org.wso2.carbon.connector.core.AbstractConnector.mediate(AbstractConnector.java:32)
at
org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:78)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77)
at
org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129)
at
org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
at
org.apache.synapse.mediators.MediatorWorker.run(MediatorWorker.java:69)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662


According to the implementation

In GmailUtils inside readMails method,  it fetches the AllMails folder and
open and close it for and every each message.Since it  runs in a loop
there is a possibility to open the folder before close.Is this can be the
Issue or something else.


thanks,
isurur



-- 
Regards
Isuru Ranawaka
phone :- +94714629880
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Exception when Invoking GmailConnector ReadMailMessage Operation

2014-05-29 Thread Isuru Ranawaka
Hi sewwandi,

Files are attached.

thanks
isurur


On Thu, May 29, 2014 at 10:08 PM, Sewwandi Perera sewwa...@wso2.com wrote:

 Hi Isuru,

 Can you please attach your ESB configuration here.

 Thanks,


 On Thu, May 29, 2014 at 8:10 PM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi all,

  When invoking ReadMailMessage operation in GmailConnector in a
 loop.After reading few messages it starts to give following error.


 INFO - GmailReadMailMessage Loading the IMAPStore
 [2014-05-29 19:48:42,838]  INFO - GmailIMAPClientLoader Retriving the
 prestored IMAPstore instance
 [2014-05-29 19:48:42,839]  INFO - GmailUtils Started reading messages
 [2014-05-29 19:48:44,923] ERROR - GmailUtils Failure while fetching
 messages
 [2014-05-29 19:48:44,923]  INFO - GmailUtils Stored the error response
 [2014-05-29 19:48:44,923] ERROR - GmailReadMailMessage connection failure
 com.google.code.javax.mail.MessagingException: connection failure
 at
 com.google.code.com.sun.mail.imap.IMAPStore.getProtocol(IMAPStore.java:844)
 at
 com.google.code.com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:959)
 at
 org.wso2.carbon.connector.gmail.GmailUtils.readMails(GmailUtils.java:238)
 at
 org.wso2.carbon.connector.gmail.GmailReadMailMessage.connect(GmailReadMailMessage.java:61)
 at
 org.wso2.carbon.connector.core.AbstractConnector.mediate(AbstractConnector.java:32)
 at
 org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:78)
 at
 org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
 at
 org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
 at
 org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77)
 at
 org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129)
 at
 org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78)
 at
 org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
 at
 org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
 at
 org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
 at
 org.apache.synapse.mediators.MediatorWorker.run(MediatorWorker.java:69)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662


 According to the implementation

 In GmailUtils inside readMails method,  it fetches the AllMails folder
 and open and close it for and every each message.Since it  runs in a loop
 there is a possibility to open the folder before close.Is this can be the
 Issue or something else.


 thanks,
 isurur



 --
 Regards
 Isuru Ranawaka
 phone :- +94714629880

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Sewwandi Perera
 Software Engineer

 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware




-- 
Regards
Isuru Ranawaka
phone :- +94714629880
?xml version=1.0 encoding=UTF-8?
proxy xmlns=http://ws.apache.org/ns/synapse;
   name=gmail_passwordAuthentication
   transports=https http
   startOnLoad=true
   trace=disable
   description/
   target
  inSequence
 property xmlns:ns=urn:wso2.connector.gmail.passwordauthentication
   name=username
   expression=//ns:username/text()/
 property xmlns:ns=urn:wso2.connector.gmail.passwordauthentication
   name=password
   expression=//ns:password/text()/
 gmail.passwordLogin
username{$ctx:username}/username
password{$ctx:password}/password
 /gmail.passwordLogin
 gmail.listAllMails
labelinbox/label
 /gmail.listAllMails
 class name=org.wso2.carbon.gmail.mediator.MessageFilter/
 iterate xmlns:ns=http://org.wso2.esbconnectors.gmail;
  id=iter1
  expression=//ns:messages/ns:message
target
   sequence
  property name=P_Id expression=//ns:messageID/text()/
  gmail.readMailMessage
 messageID{$ctx:P_Id}/messageID
  /gmail.readMailMessage
  class name=org.wso2.carbon.gmail.mediator.MessageContentInjector/
  property name=M_ID expression=//ns:messageID/text()/
  property name=msg expression=//ns:subject/text()/
  property name=from expression=//ns:from/text()/
  property name=to expression=//ns:to/text()/
  property name=sentDate expression=//ns:sentDate/text()/
  property name=T_ID expression=//ns:threadID/text()/
  property name=status expression=//ns:Status/text

Re: [Dev] Exception when Invoking GmailConnector ReadMailMessage Operation

2014-05-29 Thread Isuru Ranawaka
Hi sewwandi,

Thanks for your reply and now its working.

thanks
isurur


On Thu, May 29, 2014 at 10:44 PM, Sewwandi Perera sewwa...@wso2.com wrote:

 Hi Isuru,

 You have identified the root cause correctly.

 All Gmail message reading operations use the same IMAPStore instance which
 is created during the initial authentication with the connector. So, as u
 said, due to the parallel invocation of gmail.readMailMessage operation,
 the [Gmail]/All Mail  folder in the IMAPStore will be opened and closed
 in parallel runs.

 To get rid of this, you can make the ESB iterator sequential, using;

  sequential=true

 in your iterator configuration.

 Thanks,
 Sewwandi


 On Thu, May 29, 2014 at 10:13 PM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi sewwandi,

 Files are attached.

 thanks
 isurur


 On Thu, May 29, 2014 at 10:08 PM, Sewwandi Perera sewwa...@wso2.com
 wrote:

 Hi Isuru,

 Can you please attach your ESB configuration here.

 Thanks,


 On Thu, May 29, 2014 at 8:10 PM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi all,

  When invoking ReadMailMessage operation in GmailConnector in a
 loop.After reading few messages it starts to give following error.


 INFO - GmailReadMailMessage Loading the IMAPStore
 [2014-05-29 19:48:42,838]  INFO - GmailIMAPClientLoader Retriving the
 prestored IMAPstore instance
 [2014-05-29 19:48:42,839]  INFO - GmailUtils Started reading messages
 [2014-05-29 19:48:44,923] ERROR - GmailUtils Failure while fetching
 messages
 [2014-05-29 19:48:44,923]  INFO - GmailUtils Stored the error response
 [2014-05-29 19:48:44,923] ERROR - GmailReadMailMessage connection
 failure
 com.google.code.javax.mail.MessagingException: connection failure
 at
 com.google.code.com.sun.mail.imap.IMAPStore.getProtocol(IMAPStore.java:844)
 at
 com.google.code.com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:959)
 at
 org.wso2.carbon.connector.gmail.GmailUtils.readMails(GmailUtils.java:238)
 at
 org.wso2.carbon.connector.gmail.GmailReadMailMessage.connect(GmailReadMailMessage.java:61)
 at
 org.wso2.carbon.connector.core.AbstractConnector.mediate(AbstractConnector.java:32)
 at
 org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:78)
 at
 org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
 at
 org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
 at
 org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77)
 at
 org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129)
 at
 org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78)
 at
 org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
 at
 org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
 at
 org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
 at
 org.apache.synapse.mediators.MediatorWorker.run(MediatorWorker.java:69)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662


 According to the implementation

 In GmailUtils inside readMails method,  it fetches the AllMails folder
 and open and close it for and every each message.Since it  runs in a loop
 there is a possibility to open the folder before close.Is this can be the
 Issue or something else.


 thanks,
 isurur



 --
 Regards
 Isuru Ranawaka
 phone :- +94714629880

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Sewwandi Perera
 Software Engineer

 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware




 --
 Regards
 Isuru Ranawaka
 phone :- +94714629880




 --
 Sewwandi Perera
 Software Engineer

 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware




-- 
Regards
Isuru Ranawaka
phone :- +94714629880
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Problem in running ESB sample 61 and 62

2014-04-09 Thread Isuru Ranawaka
hi thilini,

Use synapse samples  61 used in wso2ESB 4.7 .Seems documentation should be
updated. [1]

[1]https://wso2.org/jira/browse/ESBJAVA-2268




On Wed, Apr 9, 2014 at 2:33 PM, Thilini Shanika thili...@wso2.com wrote:


 Hi all,

 In ESB sample 61[1] and [62] configurations  contain parameter name=
 rootfile:repository/conf/sample/resources//parameter and 'EP_LIST'
 file located in 'repository/conf/sample/resources/' is required to run
 the samples. But in ESB 4.8.1 release,such file location does not exist.

 Following error is encountered when I tried to run the above two samples.
  [2014-04-09 14:09:32,125] WARN - SynapseConfigUtils IO Error reading
 from URL :
 /repository/conf/sample/resources/recipients/EP_LISTjava.io.FileNotFoundException:
 /repository/conf/sample/resources/recipients/EP_LIST (No such file or
 directory)

 Where can I find this 'EP_LIST' file and how to resolve the issue?

 [1]-
 https://docs.wso2.org/display/ESB481/Sample+61%3A+Routing+a+Message+to+a+Dynamic+List+of+Recipients
 [2]-
 https://docs.wso2.org/display/ESB481/Sample+62%3A+Routing+a+Message+to+a+Dynamic+List+of+Recipients+and+Aggregating+Responses

 --
 Thilini Shanika
 Software Engineer
 WSO2, Inc.; http://wso2.com
 20, Palmgrove Avenue, Colombo 3

 E-mail: tgtshan...@gmail.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Regards
Isuru Ranawaka
phone :- +94714629880
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 4.8.1 - Sample 153

2014-04-08 Thread Isuru Ranawaka
Thanks for your quick reply.Now it is working.


On Tue, Apr 8, 2014 at 3:49 PM, Harsha Kumara hars...@wso2.com wrote:

 Hi Isuru,

 You have to put the BouncyCastle (
 http://www.bouncycastle.org/latest_releases.html) jars to 
 ESB_HOME/repository/components/plugins
 and ESB_HOME/repository/axis2/client/lib directories. Please refer [1]
 and [2].

 I think this needs to be specify in the documentation of the sample.

 [1]-
 http://evanthika.blogspot.com/2014/02/solving-orgapachewssecuritywssecurityex.html
 [2]-http://mail.wso2.org/mailarchive/dev/2014-February/027877.html

 Thanks,
 Harsha


 On Tue, Apr 8, 2014 at 3:36 PM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi all,
 I had and exception when running ESB 4.8.1 sample 153 in the axis2Client
 side.  This is worked in ESB 4.7
 Is it error in  the shipped axis2Client?


 14/04/08 15:22:00 ERROR sandesha2.SandeshaModule: Could not load module
 policies. Using default values.
 Using WS-Security
 14/04/08 15:22:00 INFO mail.MailTransportSender: MAILTO Sender started
 14/04/08 15:22:00 INFO jms.JMSSender: JMS Sender started
 14/04/08 15:22:00 INFO jms.JMSSender: JMS Transport Sender initialized...
 org.apache.axis2.AxisFault: Error in encryption
 at
 org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
 at
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530)
 at samples.userguide.StockQuoteClient.executeClient(Unknown Source)
 at samples.userguide.StockQuoteClient.main(Unknown Source)
 Caused by: org.apache.rampart.RampartException: Error in encryption
 at
 org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:612)
 at
 org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:97)
 at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:147)
 at
 org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
 ... 11 more
 Caused by: org.apache.ws.security.WSSecurityException: An unsupported
 signature or encryption algorithm was used (unsupported key transport
 encryption algorithm: No such algorithm:
 http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p); nested exception is:
 java.security.NoSuchAlgorithmException: Cannot find any provider
 supporting RSA/ECB/OAEPPadding
 at
 org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:785)
 at
 org.apache.ws.security.message.WSSecEncryptedKey.prepareInternal(WSSecEncryptedKey.java:205)
 at
 org.apache.ws.security.message.WSSecEncrypt.prepare(WSSecEncrypt.java:259)
 at
 org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:578)
 ... 14 more
 Caused by: java.security.NoSuchAlgorithmException: Cannot find any
 provider supporting RSA/ECB/OAEPPadding
 at javax.crypto.Cipher.getInstance(DashoA13*..)
 at
 org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:777)
 ... 17 more










 --
 Regards
 Isuru Ranawaka
 phone :- +94714629880

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com




-- 
Regards
Isuru Ranawaka
phone :- +94714629880
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Invitation: Code Review For CEP File Generation Plugin @ Thu Jul 5 4pm - 5pm (dev@wso2.org)

2012-07-04 Thread Isuru Ranawaka
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20120705T103000Z
DTEND:20120705T113000Z
DTSTAMP:20120704T114938Z
ORGANIZER;CN=isu...@wso2.com:mailto:isu...@wso2.com
UID:gh8s770dtuh7ejnv8eggkij...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Isuru Ranawaka;X-NUM-GUESTS=0:mailto:isu...@wso2.com
CREATED:20120704T114938Z
DESCRIPTION:View your event at http://www.google.com/calendar/event?action=
 VIEWeid=Z2g4czc3MGR0dWg3ZWpudjhlZ2draWpicWcgZGV2QHdzbzIub3Jntok=MTUjaXN1c
 nVyQHdzbzIuY29tN2ZhZmI3ODlhYjViNTNlZjlmZDM1Yzg2OTQ5NWM0ZGI3M2ZkNjYwYgctz=A
 sia/Colombohl=en.
LAST-MODIFIED:20120704T114938Z
LOCATION:LK#50
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Code Review For CEP File Generation Plugin
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Code Review For CEP File Generation Plug-in

2012-07-04 Thread Isuru Ranawaka
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20120705T103000Z
DTEND:20120705T113000Z
DTSTAMP:20120704T114938Z
ORGANIZER;CN=isu...@wso2.com:mailto:isu...@wso2.com
UID:gh8s770dtuh7ejnv8eggkij...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Isuru Ranawaka;X-NUM-GUESTS=0:mailto:isu...@wso2.com
CREATED:20120704T114938Z
DESCRIPTION:View your event at http://www.google.com/calendar/event?action=
 VIEWueid=gh8s770dtuh7ejnv8eggkijbqg.
LAST-MODIFIED:20120704T114938Z
LOCATION:LK#50
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Code Review For CEP File Generation Plugin
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev