Re: [Dev] Integrating topics to MB

2014-10-05 Thread Hasitha Hiranya
t;>>>> >>>>> What I suggest is when a topic message is created we add a reference >>>>> counter for the message (Via AndesContextStore a new method >>>>> createReferenceCounter(long >>>>> messageID)) when meta data is duplicated

[Dev] Integrating topics to MB

2014-10-04 Thread Hasitha Hiranya
Hi Devs, Following is my vision on intregating topics to MB >> we duplicate metadata per subscriber. It will not create a big overhead. >> we do not duplicate content per subscriber, but we duplicate content per node >> I hereby assume that we do handle acks for topics. We need a reasearch on tha

Re: [Dev] WSO2 MB 3.0.0 - TODOs in store aspect

2014-10-01 Thread Hasitha Hiranya
cuss and relook at what is the best approach >> for this. >> >> Thanks >> >> On Tue, Sep 30, 2014 at 4:21 PM, Shammi Jayasinghe >> wrote: >> >>> Hi Hasitha, >>> >>> Could you please clarify what you mention my duplicating message

Re: [Dev] WSO2 Commiters += Rajith Siriwardena

2014-09-30 Thread Hasitha Hiranya
Congratulations Rajith..!! On Tue, Sep 30, 2014 at 1:48 PM, Harshan Liyanage wrote: > Congratulations Rajith !!! > > Best Regards, > > Lakshitha Harshan > Software Engineer > Mobile: *+94724423048* > Email: hars...@wso2.com > Blog : http://harshanliyanage.blogspot.com/ > *WSO2, Inc. :** wso2.com

[Dev] WSO2 MB 3.0.0 - TODOs in store aspect

2014-09-29 Thread Hasitha Hiranya
Hi Devs, For MB 3.0.0 we have identified following TODOs for the moment on the way to milestone 1. >>duplicate message metadata and content >>message store manager (all methods in message store to be moved to manager??) >>"durable" for in-memory >>depreciated methods in message store remove >>Cas

Re: [Dev] [WSO2 MB] - A comprehensive Client for Testing

2014-09-28 Thread Hasitha Hiranya
ep 29, 2014 at 10:32 AM, Ramith Jayasinghe > wrote: > >> Hi, >> Nice !!! Can this be documented (article and/or Documentation) >> >> regards >> Ramith >> >> On Sun, Sep 28, 2014 at 7:43 PM, Hasitha Hiranya >> wrote: >> >>> Hi, >&g

[Dev] [WSO2 MB] - A comprehensive Client for Testing

2014-09-28 Thread Hasitha Hiranya
Hi, I wrote a comprehensive client to send/receive and analyse JMS messages to WSO2 MB. It is easy to use - go to bin folder and execute andesClient script with parameters Please find the source at [1]. You might need to put and rebuild with latest andes-client when using. Following are the operat

Re: [Dev] Misleading log in Cassandra Component

2014-09-27 Thread Hasitha Hiranya
57e8cb1a7188296396 > > Thanks, > Bhathiya > > On Sun, Sep 28, 2014 at 9:07 AM, Deependra Ariyadewa > wrote: > >> Hi Hasitha, >> >> We will check and remove this long. >> >> Thanks, >> >> Deependra. >> >> On Sun, Sep 28, 2014 at 7:4

[Dev] [WSO2-MB] Subscription Listener Model

2014-09-27 Thread Hasitha Hiranya
Hi Devs, I have introduced listeners based model for WSO2 MB to handle subscriptions, queues, bindings and exchanges. There are multiple implementations of the listeners. These listeners do various things inside the broker on for example subscription change. Note that currently we call the listen

[Dev] Misleading log in Cassandra Component

2014-09-27 Thread Hasitha Hiranya
Hi, When starting WSO2MB 3.0.0-SNAPSHOT I can see following log [2014-09-28 07:36:14,453] INFO {org.wso2.carbon.cassandra.server.CassandraServerController} - Cassandra Server Controller Thread was destroyed successfully This log is a misleading log. We have removed it while ago, but this has a

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
- should be done in MessageEngine close() I moved all close methods of Andes kernel to AndesKernelBoot class. this will be called before qpid amqp transports are closed. (Broker.shutdown() method of Qpid) Thanks On Sat, Sep 27, 2014 at 5:57 PM, Hasitha Hiranya wrote: > Hi, > > I got l

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
gracefully shut down close all local subscriptions and send cluster notifications -during a kill, we need to delegate above to a different node. After above 5, there should be no inconsistancies on subscription model. Thanks On Sat, Sep 27, 2014 at 5:55 PM, Hasitha Hiranya wrote: > I got

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
ub id= x topic=z - failed Last three failed as qpid did not said to remove bindings and delete queue. Maybe an issue with my client. Will check more. On Sat, Sep 27, 2014 at 5:50 PM, Hasitha Hiranya wrote: > This change working fine in standalone mode now. According to above logic, > i

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
are live subscriptions 4. handle case where MB killed when there are live subscribers On Sat, Sep 27, 2014 at 5:50 PM, Hasitha Hiranya wrote: > I have verified that AndesRecovery handler is working correctly. > After getting it verified I have "short-circuited" cluster changes t

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
I have verified that AndesRecovery handler is working correctly. After getting it verified I have "short-circuited" cluster changes to be triggered inside local changes. So we do not need to write codes specifically for standalone mode. On Sat, Sep 27, 2014 at 5:49 PM, Hasitha Hira

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
Facts We deal with Qpid only thro 2 classes >>QpidAndesBridge - qpid tells to kernel >>VirtualHostConfigSynchronizer - kernel tells to qpid Concerns Have we not still got rid of CassandraMessageStore class completely?? On Sat, Sep 27, 2014 at 5:49 PM, Hasitha Hi

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
Now we have a concept called subscription disconnect. This specifically come into play during durable topic subscriptions - need to think more In all other occasions we just delete the subscription. No disconnect. On Sat, Sep 27, 2014 at 5:49 PM, Hasitha Hiranya wrote: > 1. When storin

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
1. When storing a queue/binding/exchange in DB 2. and when notifying the change is sent via Hazlecast same encoded string is used. So now the recovery from DB is straightforward. On Sat, Sep 27, 2014 at 5:48 PM, Hasitha Hiranya wrote: > Removed following classes > >

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
structure - >> notification message description >> notification body as a encoded string >> notification type - add/delete etc On Sat, Sep 27, 2014 at 5:48 PM, Hasitha Hiranya wrote: > Moved initalizing code of andes kernel to a new class

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
luster notifications - TODO: to update default recovery task interval in config file AMQPConstructStore - keeps queues/bindings/exchanges - ultimately refers AndesContextStore On Sat, Sep 27, 2014 at 5:46 PM, Hasitha Hiranya wrote: > Hi, > > I began the $subject. > Idea is to i

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
t;>syncNodeWithClusterState() >>registerMBeans() >>startMessaging() On Sat, Sep 27, 2014 at 5:47 PM, Hasitha Hiranya wrote: > Introduced following new classes > > ClusterCoordinationHandler implements QueueListener, ExchangeListener, > BindingListener, SubscriptionListen

[Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
Hi, I began the $subject. Idea is to instead of deriving queues/bindings/exchanges from subscriptions sync them Independently. I introduced QueueListener/BindingListener/ExchangeListner in the same way as subscription listener Thanks -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.;

Re: [Dev] MB clustering test cases

2014-09-25 Thread Hasitha Hiranya
Hi Waruna, Use carbon clustering instead. Please talk to me or Sewwandi if you have problems. These are not documented yet. Thanks On Fri, Sep 26, 2014 at 10:13 AM, Hasitha Hiranya wrote: > Hi Waruna, > > MB 3.0.0 has no Zookeeper. > So no need. We have removed ZK profile from w

Re: [Dev] MB clustering test cases

2014-09-25 Thread Hasitha Hiranya
Hi Waruna, MB 3.0.0 has no Zookeeper. So no need. We have removed ZK profile from wso2server.sh file. Thanks On Fri, Sep 26, 2014 at 10:05 AM, Waruna Perera wrote: > Hi, > > To do $subject I have provided with 2 nodes of MB and 2 nodes with > cassandra profiles. Dont we need MB with zookeepre

Re: [Dev] WSO2 Committers += Sewwandhi Perera

2014-09-17 Thread Hasitha Hiranya
Congrats Sewwandi !!! On Wed, Sep 17, 2014 at 1:57 PM, Ishara Karunarathna wrote: > Congratz Sewwandi . > > On Tue, Sep 16, 2014 at 11:26 PM, Ramith Jayasinghe > wrote: > >> Hi Sewwandhi, >> >> Congratulations! >> >> It is with great pleasure that we welcome you as a WSO2 committer. Keep >> up

Re: [Dev] Uniquely Identify Current server node in MB

2014-09-14 Thread Hasitha Hiranya
t;> format "NODE/_". Here, the UUID is generated by >>> Hazelcast and if the node restarts for some reason, as Hasitha mentioned, >>> the Node ID will be changed. >>> >>> Thanks, >>> Sewwandi >>> >>> On Sat, Sep 13, 20

Re: [Dev] Uniquely Identify Current server node in MB

2014-09-12 Thread Hasitha Hiranya
Hi, Looping in Sewwandi. This id is unique. But if you restart same node this id is different. Sewwandi, IMO we need to fix this in such a way that even after the restart it gives same ID. Thanks On Sat, Sep 13, 2014 at 10:35 AM, Asitha Nanayakkara wrote: > Hi, > > You can use HazelcastAgent

Re: [Dev] MB Configuration Parameters and Tuning Guide

2014-07-24 Thread Hasitha Hiranya
if people do > not tune this, MB will be slow. > > --Srinath > > > On Thu, Jul 24, 2014 at 9:40 PM, Hasitha Hiranya > wrote: > >> Hi Srinath, >> >> This link has info: >> https://docs.wso2.com/display/MB220/andes-config.xml#andes-config.xml- >>

[Dev] RabbitMQ Transport Has Compatibility Issues with Carbon 4.2.0 based Products

2014-07-01 Thread Hasitha Hiranya
Hi, When RabbitMQ Transport is configured with ESB according to documentation at [1], messages does not get published to RabbitMQ server. I have raised the issue at [2], and also attached the solution developed. Please review and commit. [1]. https://docs.wso2.com/display/ESB481/RabbitMQ+AMQP+Tr

Re: [Dev] ESB, MB - Help Needed

2014-05-28 Thread Hasitha Hiranya
s on few lists; on training list for sure. > > Thanks again, > > - Daya > > > On Mon, May 26, 2014 at 1:28 PM, Hasitha Hiranya wrote: > >> Hi, >> >> For MB >> >> >>- AsankaV has some client that can be use to send messages and >

Re: [Dev] ESB, MB - Help Needed

2014-05-26 Thread Hasitha Hiranya
Hi, For MB - AsankaV has some client that can be use to send messages and consume them with ability to set message delay/message count etc. - Cassandra tuning is vital. You can monitor a Cassandra cluster using OpsCenter - We need to wr

Re: [Dev] Enabling Cassandra system logs with MB Cassandra profile

2014-05-16 Thread Hasitha Hiranya
Hi Ishara/Tania, Please note that we need to update our docs on this, if it is specific to MB. Thanks On Fri, May 16, 2014 at 11:03 AM, Ishara Premadasa wrote: > Hi, > > As from WSO2 MB 2.2.0 onwards, we will be supporting a Cassandra profile > with MB where it will be used as the external Ca

Re: [Dev] Fixing Shutdown Errors WSO2 MB.

2014-05-05 Thread Hasitha Hiranya
t down the listener framework. So Prabath, how does this affect the OSGI integration of services? How are we going to hold Cassandra until Andes is closed gracefully? Thanks On Sat, May 3, 2014 at 12:59 PM, Hasitha Hiranya wrote: > Hi, > > Prabath is looking into the issue. Prabath, were y

Re: [Dev] MQTT - MB Integration Implementation Overview

2014-05-05 Thread Hasitha Hiranya
Hi Pamod, Great Work!! Let us release a light version of MQTT with current implementation+ possible issue fixes + critical security fixes with MB 3.0.0 release and then build on top of that. Let us have a discussion on the $subject tomorrow. Thanks. On Mon, May 5, 2014 at 8:28 PM, Pamod Sylves

Re: [Dev] Fixing Shutdown Errors WSO2 MB.

2014-05-03 Thread Hasitha Hiranya
Hi, Prabath is looking into the issue. Prabath, were you able to find out the reason why client transports are closed for Cassandra? Can you shed some light on this? Thanks On Fri, May 2, 2014 at 11:19 AM, Hasitha Hiranya wrote: > Looping in PrabathA. > > > On Fri, May 2, 2014

Re: [Dev] Fixing Shutdown Errors WSO2 MB.

2014-05-01 Thread Hasitha Hiranya
Looping in PrabathA. On Fri, May 2, 2014 at 11:18 AM, Hasitha Hiranya wrote: > Hi Shameera, > > Good catch. > > [2014-05-02 10:12:19,015] INFO {org.wso2.carbon.core.ServerManagement} - > Stopped all transport listeners > [2014-05-02 10:12:19,015] INFO {org.wso2.carbon.

Re: [Dev] Fixing Shutdown Errors WSO2 MB.

2014-05-01 Thread Hasitha Hiranya
gt; > > > > > On Fri, May 2, 2014 at 10:26 AM, Hasitha Hiranya wrote: > >> Hi Shameera, >> >> I have added logs and tested. Full Log is attached at ( >> https://drive.google.com/a/wso2.com/file/d/0B57HoxWKqqNnN2FPRE9FeC0yYXM/edit?usp=sharing). >> Deact

[Dev] Research - Unfamiliar Configurations Came From Qpid to WSO2 MB

2014-05-01 Thread Hasitha Hiranya
Hi Team, This is a try to resolve https://wso2.org/jira/browse/MB-407. I did a search to find out what are the unfamiliar configurations in andes-config.xml file. We need to know them, test if they work, consider if they are valid, remove if not relevant (specially the highlighted ones). @Prabat

Re: [Dev] Fixing Shutdown Errors WSO2 MB.

2014-05-01 Thread Hasitha Hiranya
o identify service deactivation and bundle > undeployment order of andes and cassandra ? > > Thanks, > Shameera. > > > On Fri, May 2, 2014 at 9:18 AM, Hasitha Hiranya wrote: > >> During testing I followed following steps. >> >> 1. create a topic subscriber >

Re: [Dev] Fixing Shutdown Errors WSO2 MB.

2014-05-01 Thread Hasitha Hiranya
disappeared. It boils down to an OSGI problem. @Shameera, I have the dependency to the cassandra bundle as you have suggested in the andes bundle. But seems there is a problem still. Any idea why that happens? On Thu, May 1, 2014 at 10:56 AM, Hasitha Hiranya wrote: > Hi, > > Also in

Re: [Dev] Fixing Shutdown Errors WSO2 MB.

2014-04-30 Thread Hasitha Hiranya
Hi, Also in order to stop connection to Cassandra gracefully, we need to do following. cluster.getConnectionManager().shutdown(); Thanks On Thu, May 1, 2014 at 10:52 AM, Hasitha Hiranya wrote: > Hi, > > I intend to cleanup graceful shutdown code of WSO2 Message Broker in &g

[Dev] Fixing Shutdown Errors WSO2 MB.

2014-04-30 Thread Hasitha Hiranya
Hi, I intend to cleanup graceful shutdown code of WSO2 Message Broker in following way. We have to do them as a part of fixing shutdown errors. We have managed to keep Cassandra until broker service shutdown properly in OSGI env, but we see problems due to lack of these. 1. When shutting down we

Re: [Dev] Migrating from JMS to AMPQ for Global cache invalidation implimentation

2014-04-16 Thread Hasitha Hiranya
Hi Amal, AMQP is a wire level protocol. Normally a JMS broker maps JMS API functions to AMQP way. If the current implementation uses JMS, it must use some protocol like AMQP in wire level. If you use java standard way of dealing with AMQP is JMS. If you use C, C++ you might consider writing pure

Re: [Dev] WSO2 MB - New UI to view Active/Inactive/Durable and Temp Subscriptions

2014-04-10 Thread Hasitha Hiranya
Finally, following is the UI developed to show subscribers for queues. Message count means message count for particular queue the subscription is made. [image: Inline image 1] On Thu, Apr 10, 2014 at 10:57 PM, Hasitha Hiranya wrote: > Miyuru and I had a look how other broker vendors l

Re: [Dev] WSO2 MB - New UI to view Active/Inactive/Durable and Temp Subscriptions

2014-04-10 Thread Hasitha Hiranya
10:46 PM, Hasitha Hiranya wrote: > Hi, > > There was a requirement bought out by a MB customer that they need to view > *who > are the subscribers for queues and topics* at a given moment in the > Broker. > > At the Andes side all requirements to gather this informatio

[Dev] WSO2 MB - New UI to view Active/Inactive/Durable and Temp Subscriptions

2014-04-10 Thread Hasitha Hiranya
Hi, There was a requirement bought out by a MB customer that they need to view *who are the subscribers for queues and topics* at a given moment in the Broker. At the Andes side all requirements to gather this information is available. Most importantly, for MB cluster subscribers can come from an

Re: [Dev] MB Cassandra profile memory allocation

2014-04-09 Thread Hasitha Hiranya
Hi, Then should not we recommend to run WSO2 MB in Windows environment? What about putting it into the docs?? Thanks. On Wed, Apr 9, 2014 at 10:15 PM, Bhathiya Jayasekara wrote: > Hi Indika, > > Currently 'Cassandra in Windows' is not production recommended. Discussed > in here [1] too. So I d

[Dev] Carbon UI Programming - how to generate a input dialog with a drop down

2014-03-30 Thread Hasitha Hiranya
Hi, I need to do following. I have a button In UI like below (which is inside a table) ReRoute then doReRouteMessages() method there should do this. *1. make a popup with a drop down in it.* *2. drop down should show available queues in the sy

Re: [Dev] Organizing WSO2 Message Broker Logging

2014-03-26 Thread Hasitha Hiranya
gt; >> +1 for this approach. >> >> Thanks >> Shammi >> >> >> On Sat, Mar 22, 2014 at 7:40 AM, Hasitha Hiranya wrote: >> >>> Hi, >>> >>> Intended to do the $subject. >>> >>> We have a lot of debug logs. Some

Re: [Dev] [DEV] WSO2 MB DLC Implementation Status

2014-03-24 Thread Hasitha Hiranya
On Mon, Mar 24, 2014 at 3:31 PM, Ishara Premadasa wrote: > We (Pamod,Hasitha,Shammi and myself ) had a meeting on the current state > of the DLC implementation. Following is the concerns raised and the agreed > solutions. > > *1. What if user deletes original queue when there are messages address

[Dev] Organizing WSO2 Message Broker Logging

2014-03-21 Thread Hasitha Hiranya
Hi, Intended to do the $subject. We have a lot of debug logs. Some are per message. When troubleshooting an issue this is almost the only way to identify the problems (race conditions - threading issues etc). We intend to separate out the debug logs in our control (cannot help qpid internals) as

[Dev] WSO2 Message Broker 2.1.1 - Released!

2014-03-15 Thread Hasitha Hiranya
WSO2 Message Broker 2.1.1 - Released! WSO2 MB team is pleased to announce the 2.1.1 release of the WSO2 Message Broker. WSO2 Message Broker 2.1.1, JMS message broker backed up with the wso2 distributed message brokering engine "Andes" is compliant with AMQP 0-91 version.The new 2.1.1 version is

[Dev] WSO2 Message Broker 2.1.1 - Released!

2014-03-15 Thread Hasitha Hiranya
WSO2 Message Broker 2.1.1 - Released! WSO2 MB team is pleased to announce the 2.1.1 release of the WSO2 Message Broker. WSO2 Message Broker 2.1.1, JMS message broker backed up with the wso2 distributed message brokering engine "Andes" is compliant with AMQP 0-91 version.The new 2.1.1 version is

Re: [Dev] [Architecture] Proposed code repository restructuring & move to GitHub

2014-01-18 Thread Hasitha Hiranya
Hi, +1 for the categorization. Is there a way to make a Tree graph or something displaying the dependency graph? And maintain it somewhere? In that way in the long run we will have a clear visibility (when new components/features added). Thanks On Sat, Jan 18, 2014 at 6:30 PM, Eranda Sooriyaban

Re: [Dev] WSO2 Committers += Shani

2013-12-16 Thread Hasitha Hiranya
Congrats Shani!!! On Tue, Dec 17, 2013 at 1:42 AM, Shameera Rathnayaka wrote: > Congratulation Shani !!! > > Cheers, > Shameera. > > > On Mon, Dec 16, 2013 at 10:55 AM, Punnadi Gunarathna wrote: > >> Congrats Shani :) Keep up the good work. >> >> >> On Mon, Dec 16, 2013 at 6:13 AM, Dunith Dhanus

Re: [Dev] Python client for WSO2 Message Broker

2013-10-10 Thread Hasitha Hiranya
Hi Dinesh, This is good!! Please blog your steps and let us know the link. It will be useful to track this in future. Thanks On Wed, Oct 9, 2013 at 2:58 PM, Ishara Premadasa wrote: > Hi Dinesh, > > That is great :) > > We hope to improve MB client samples stack to provide ability to connect

Re: [Dev] Where should I use BURL with MB topics

2013-09-27 Thread Hasitha Hiranya
Hi, In newer qpid clients we use addressing format. But MB uses AMQP 0-91 which is older. Thus we need to specifically use BURL format as following BURL:topic://amq.topic?routingkey='test You should also be able to use a system property to change the default syntax so you don't need the prefix

Re: [Dev] MB Log message {Binding Subscription x to queue JMSMS}

2013-09-17 Thread Hasitha Hiranya
Hi, Chanaka is correct. MB prints this message when a subscription is done to a message queue and when it vanishes. Argument is why ESB makes a separate subscription for each and every message? (create connection >> get message >> close connection). This is an unnecessary overhead. If you can cach

Re: [Dev] WSO2 Committers += Dhanuka

2013-09-03 Thread Hasitha Hiranya
Congratulations Dhanuka... :) On Wed, Sep 4, 2013 at 10:13 AM, Asanka Vithanage wrote: > Congratz Dhanuka...!!! > > > On Wed, Sep 4, 2013 at 10:10 AM, Dhanuka Ranasinghe wrote: > >> Hi >> >> Thanks guys >> >> Cheers >> Dhanuka >> >> >> On Tuesday, September 3, 2013, Darshana Gunawardana >> wro

Re: [Dev] Fixing Message Counters and Queue Purging features for MB 2.1.1 after disruptor implementation

2013-08-30 Thread Hasitha Hiranya
Hi, Did not we increment queue count together with message storing, as a combined call to Cassandra database? AFAIR we did. How did it add an additional cost? If we periodically update queue count we have to be aware of usability issues. What abt, 1. Always keep queue count in memory. 2. We sto

[Dev] Set A Custom Transport Header to Message context

2013-08-25 Thread Hasitha Hiranya
Hi, I am writing an Axis2 handler to be engaged at MsgInObservation and MsgOutObservation phases. I need to pass a parameter (custom header) from one server to another. For that I have used HTTP transport headers like follows. *At InHandler class I get transport headers like* * * Object transpor

Re: [Dev] WSO2 Committers += Chanaka Fernando

2013-08-18 Thread Hasitha Hiranya
congratz Chanaka!!! On Mon, Aug 19, 2013 at 10:58 AM, Dhanuka Ranasinghe wrote: > congratz Chanaka!!! > > *Dhanuka Ranasinghe* > > Senior Software Engineer > WSO2 Inc. ; http://wso2.com > > lean . enterprise . middleware > > phone : +94 715381915 > > > On Mon, Aug 19, 2013 at 10:50 AM, Kasun Ind

Re: [Dev] WSO2 Committers += Bhathiya

2013-08-13 Thread Hasitha Hiranya
Congratulations Bhathiya!! On Tue, Aug 13, 2013 at 7:32 PM, Asanka Sanjeewa wrote: > Congratulation Bhathiya. > > Regards, > AsankaS > > > On Tue, Aug 13, 2013 at 6:40 PM, Ruwan Yatawara wrote: > >> Congrats Bhathiya! >> >> Thanks and Regards, >> >> Ruwan Yatawara >> >> Software Engineer, >> W

Re: [Dev] WSO2 Committers += Geeth

2013-08-05 Thread Hasitha Hiranya
Congrats Geeth On Mon, Aug 5, 2013 at 7:31 PM, Nirmal Fernando wrote: > Congratzz! > > Sent via my mobile > -- Nirmal -- > On Aug 5, 2013 6:32 PM, "Venura Kahawala" wrote: > >> Congrats Geeth >> >> >> On Mon, Aug 5, 2013 at 5:35 PM, Chamath Gunawardana wrote: >> >>> Congrats Geeth !! >>> >>> >

Re: [Dev] Issue when Integrating WSO2 BAM with API Manager

2013-07-23 Thread Hasitha Hiranya
definition of the hive >> script deployedwith BAM toolbox. >> Since you have mentioned this is a RC pack.did the BAM integration works >> successfully for this pack earlier..?Then this could be due to a >> customization done to hive script or to publisher code. >&

[Dev] Issue when Integrating WSO2 BAM with API Manager

2013-07-17 Thread Hasitha Hiranya
Hi all, I am trying to integrate WSO2 BAM 2.1.0 with WSO2 API Manager 1.4.0 RC . When trying to invoke an API it publishes data to BAM without issues. But when event is received by BAM it complains that it is wrongly formatted. Following are the logs. TID: [0] [BAM] [2013-07-17 19:28:17,208] ERR

Re: [Dev] Issues in Configuring WSO2 BAM with WSO2 Applcation Server

2013-07-14 Thread Hasitha Hiranya
Hi Eranda, On Mon, Jul 15, 2013 at 8:07 AM, Eranda Sooriyabandara wrote: > Hi Hasitha, > Is BAM has a port offset? > No. Bam is running with offset 0. > > thanks > Eranda > > > On Sun, Jul 14, 2013 at 4:53 AM, Hasitha Hiranya wrote: > >> I have setup WSO

[Dev] Issues in Configuring WSO2 BAM with WSO2 Applcation Server

2013-07-13 Thread Hasitha Hiranya
I have setup WSO2 Application Server 5.1.0 with WSO2 BAM 2.1.0. OOB WSO2 application server has “BAM Service Data Agent Aggregate” feature, which we can use to publish data to BAM. I have done following in bam.xml file. enable and started the application server. Then tried to access S

Re: [Dev] Need to avoid stopping org.apache.cassandra.net.MessagingService before the OSGi framework is shut down

2013-06-28 Thread Hasitha Hiranya
Hi, Great that we have nailed down to the root cause of this and fixed it. This has been a long running issue for WSO2 Message Broker..! On Fri, Jun 28, 2013 at 10:59 PM, Shammi Jayasinghe wrote: > Hi, > > According to the offline discussion i had with Prabath, we could figure > out that, ther

[Dev] Correlate Access Information Going Through Several WSO2 Servers at BAM side

2013-06-27 Thread Hasitha Hiranya
Hi, Is there a way to correlate access information going through several WSO2 servers? The requirement is like below: 1. We are accessing a Data service in DSS via a proxy service at ESB. 2. That ESB proxy service is used as a BackEnd in an API in API Manager Now when an API is accessed we want

Re: [Dev] WSO2 Committers += Inosh Goonewardena

2013-06-27 Thread Hasitha Hiranya
Congratulations, Inosh!!! On Thu, Jun 27, 2013 at 8:44 PM, Isuru Perera wrote: > Congratulations! > > > On Thu, Jun 27, 2013 at 10:27 AM, Kasun Weranga wrote: > >> Hi all, >> >> Its my pleasure to welcome Inosh Goonewardena as a WSO2 Committer. >> He has made great contributions to WSO2 BAM an

Re: [Dev] WSO2 Committers += Ishara Premadasa

2013-06-20 Thread Hasitha Hiranya
Hi Ishara, My warm congratulations. You deserve it... Thanks. On Fri, Jun 21, 2013 at 10:47 AM, Susankha Nirmala wrote: > Congratulations > > > On Fri, Jun 21, 2013 at 10:43 AM, Gihan Anuruddha wrote: > >> Congratulation Ishara !!! >> >> >> On Fri, Jun 21, 2013 at 10:21 AM, Shammi Jayasi

Re: [Dev] Need Help To Learn BAM and Hive

2013-06-17 Thread Hasitha Hiranya
Hi, And also I want to know in Stratos environment how to publish tenant-wise data to BAM. Is there any docs in that space how to configure this up? Thanks On Mon, Jun 17, 2013 at 1:05 PM, Hasitha Hiranya wrote: > CC ing to Dev. > > Hi, > > I need to know the following on BAM

Re: [Dev] Need Help To Learn BAM and Hive

2013-06-17 Thread Hasitha Hiranya
e internal details please, different rows, or columns or use some flag?)? Thanks. On Sun, Jun 16, 2013 at 12:07 PM, Hasitha Hiranya wrote: > Hi, > > Do we have tenant support in BAM 2.0.1 ? > In new version I find rich documents on the subject, but are they relevant > to

Re: [Dev] WSO2 Committers += Dulanja Liyanage

2013-06-03 Thread Hasitha Hiranya
Congratulations Dulanja! On Tue, Jun 4, 2013 at 12:12 PM, Nirmal Fernando wrote: > Congratulations Dulanja! > > > On Tue, Jun 4, 2013 at 12:00 PM, Mohanadarshan Vivekanandalingam < > mo...@wso2.com> wrote: > >> Congrats Dulanja... :) >> >> Regards, >> Mohan >> >> >> On Tue, Jun 4, 2013 at 11:57

Re: [Dev] MB Integration Test Failures in 4.1.2 Branch

2013-06-02 Thread Hasitha Hiranya
+1 . And also is there a need to run ' JMSQueuesSequentialTestCase ' with 1 messages. Can't we use 1000 to guarantee the sequence of messages? We can do the proposed by editing /carbon/platform/branches/4.1.0/products/mb/2.1.0/modules/integration/src/test/conf/mb-jms-tests.xml But then ther

Re: [Dev] MB support for the JMS Message Types and Message header properties

2013-06-01 Thread Hasitha Hiranya
Hi, Yes. It is sensible to remove it for the moment. As we have an in-memory mode as well now we should be able to make this configurable. Please make a redmine feature for this to address this in MB 3.0.0 Thanks. On Thu, May 30, 2013 at 8:45 AM, Ishara Premadasa wrote: > Hi Asanka, > > Addre

[Dev] WSO2 Message Broker 2.1.0- Beta Released!

2013-05-30 Thread Hasitha Hiranya
*WSO2 Message Broker 2.1.0- Beta Released!* WSO2 MB team is pleased to announce the 2.1.0-Beta release of the WSO2 Message Broker. WSO2 Message Broker 2.1.0 , JMS message broker backed up with the wso2 distributed message brokering engine "Andes" is compliant with AMQP 0-91 version. New beta ver

Re: [Dev] How to reconnect to a topic publisher automatically?

2013-05-25 Thread Hasitha Hiranya
Hi Nirmal, I do not get what you mean by "When the publisher is restarted, subscribers do not reconnect. "? BTW, Is it the same issue mentioned at [1] ? You can set *connection option "reconnect"* and see what happens as in [2]. But I could not find any option as such at official Qpid guide [3]

Re: [Dev] Trying to get RabbitMQ Java Client to send/receive AMQP messages to/from WSO2 MB

2013-05-11 Thread Hasitha Hiranya
Hi Kishanthan, We should first see if a subscription get created in MB side when you register a subscriber. Can you see any log like "Added Subscription x to queue y" ? There was an issue with message counting in last release of Message Broker. Thus better if you not depend on that. After messag

Re: [Dev] WSO2 Committers += Isuru Haththotuwa

2013-05-09 Thread Hasitha Hiranya
My Congratulations Isuru... On Thu, May 9, 2013 at 3:26 PM, Lasantha Fernando wrote: > Congrats Isuru!! .. :-) > > > On 9 May 2013 15:03, Sriskandarajah Suhothayan wrote: > >> Congrats :) >> >> Suho >> >> >> On Thu, May 9, 2013 at 2:42 PM, Supun Malinga wrote: >> >>> Congrats IsuruH! >>> >>>

Re: [Dev] [MB] Purging a queue makes the queue disappear from queue list in MB admin console

2013-04-15 Thread Hasitha Hiranya
Hi Ishara, This was intentionally done at first. When there are no subscribers and queue has no messages it was removed from queue list as no resource from MB is consumed by that queue. Yes, it is not needed. If a queue is registered in virtualhost, that queue is there and ready to be used, thus

[Dev] Testing and Bug Fixing for WSO2 Message Broker 2.1.0 Beta Release

2013-04-12 Thread Hasitha Hiranya
Hi Shammi/Ishara, It was great that we did a lot of bug fixing, improvements and also several new feature developments for WSO2 MB Alpha release we did last Friday. As we have planned, Beta release is going to be next Friday (19 th April). I have tested the alpha pack according to the "MB Testin

[Dev] WSO2 Message Broker 2.1.0- Alpha Released!

2013-04-05 Thread Hasitha Hiranya
*WSO2 Message Broker 2.1.0- Alpha Released!* WSO2 MB team is pleased to announce the 2.1.0-Alpha release of the WSO2 Message Broker. WSO2 Message Broker 2.1.0 , JMS message broker backed up with the wso2 distributed message brokering engine "Andes" is compliant with AMQP 0-91 version. New alpha v

Re: [Dev] Message Broker ESB (and other products) Intregation Issues Testing and Solving

2013-04-04 Thread Hasitha Hiranya
Hi, And please update the doc at [1] if there is any test scenario I have missed. [1]. https://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0Ap7HoxWKqqNndFhGempQVTY1WU5rcHZLSGI0aEQwNHc#gid=1 Thanks. On Thu, Apr 4, 2013 at 4:59 PM, Hasitha Hiranya wrote: > This is under "*WSO2

[Dev] Message Broker ESB (and other products) Intregation Issues Testing and Solving

2013-04-04 Thread Hasitha Hiranya
This is under "*WSO2 Message Broker Testing - Stage 2 (Integration Tests with Other Products)*" As we are planning to do a Message Broker release on May, now we are testing the current mb product with other products hoping to resolve any MB specific issues when integrating it with other products.

Re: [Dev] [Stratos2] NPE org.wso2.andes.server.store.CassandraMessageStore

2013-04-04 Thread Hasitha Hiranya
Hi, Can you elaborate the situation please? Are you running one or more queue subscribers or topic subscribers? Have you accidentally cleaned up cassandra storage when MB was already running by any chance? Thanks. On Thu, Apr 4, 2013 at 2:27 PM, Isuru Perera wrote: > Hi, > > We are using MB

Re: [Dev] Providing queue browser support in WSO2 MB admin console

2013-04-03 Thread Hasitha Hiranya
connect to it. : Thanks. On Tue, Apr 2, 2013 at 11:23 PM, Sagara Gunathunga wrote: > > > > On Tue, Apr 2, 2013 at 11:20 PM, Hasitha Hiranya wrote: > >> Hi, >> >> It is nice to have feed-backs. >> >> 1. As Ishara says, "tryit" feature will

Re: [Dev] Providing queue browser support in WSO2 MB admin console

2013-04-02 Thread Hasitha Hiranya
Hi, It is nice to have feed-backs. 1. As Ishara says, "tryit" feature will be available with "MB 2.1.0" release. 2. Message deletion will be nice to have. But JMS spec does not mention about deleting messages. When you get messages from queue with "AUTO ACK" mode messages will be auto deleted. BT

Re: [Dev] Providing queue browser support in WSO2 MB admin console

2013-04-02 Thread Hasitha Hiranya
Hi, Great. I have review the patch attached to the Jira and committed as it resolved the XML encoding problem. thanks. On Tue, Apr 2, 2013 at 3:31 PM, Ishara Premadasa wrote: > Hi, > > This is an update on Feature#1207 [1], adding queue browsing ability into > MB. The following is the final

[Dev] How to get port offset into a Java Class

2012-10-17 Thread Hasitha Hiranya
Hi , Is there a way to get the port offset into a java class in Carbon platform? What I want is, when I create a connection string add offset to the default port and seek for that connection. Thanks -- *Hasitha Abeykoon* Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *bl

[Dev] MB 2.0.0 Document Update - Request to Commit Patch

2012-10-09 Thread Hasitha Hiranya
Hi Srinath, For MB Jira [1] (blocker), I have attached a patch. Please apply the patch to mb 2.0.0. [1] https://wso2.org/jira/browse/MB-65 Thanks. -- *Hasitha Abeykoon* Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com*

Re: [Dev] org.wso2.carbon.andes.core build failure

2012-10-01 Thread Hasitha Hiranya
Hi, I will look into this. Thanks. On Tue, Oct 2, 2012 at 9:45 AM, Lakmali Baminiwatta wrote: > Hi, > > Following error is thrown when building org.wso2.carbon.andes.core in a > clean-repo. > > [ERROR] Failed to execute goal on project org.wso2.carbon.andes.core: > Could not resolve dependencie

Re: [Dev] Code freeze for Carbon 4.0.2 on 27th Sept

2012-09-30 Thread Hasitha Hiranya
Hi, WSO2 MB 2.0 has one major blocker https://wso2.org/jira/browse/MB-70. After fixing this https://wso2.org/jira/browse/MB-69 https://wso2.org/jira/browse/MB-59 Can be fixed. Many other blockers are related to Docs and tests to be conducted. Working on them now. Shammi and I will prioritize and

Re: [Dev] Wso2MB TCP/SSL port configurations

2012-09-26 Thread Hasitha Hiranya
> > KasunG > > On Wed, Sep 26, 2012 at 10:01 PM, Hasitha Hiranya wrote: > >> Hi, >> >> Wso2 MB 2.0 has to places to define $Subject in its config files. >> >> 1. In carbon.xml >> >> >> >>

[Dev] Wso2MB TCP/SSL port configurations

2012-09-26 Thread Hasitha Hiranya
Hi, Wso2 MB 2.0 has to places to define $Subject in its config files. 1. In carbon.xml 5672 8672 2. In advance/qpid-config.xml true false repository/resources/security/wso2carbon.jks

Re: [Dev] Limiting Andes (MB) queue visibility to tenant domains

2012-09-26 Thread Hasitha Hiranya
we were storing queue names in the registry. In that we have used >> the registry specific to the tenant. We have handled the permissions for >> queue operations also. I think we can re use the same thing rather than >> trying to implement the procedure again. We have the

[Dev] Limiting Andes (MB) queue visibility to tenant domains

2012-09-22 Thread Hasitha Hiranya
Hi, In order to limit the visibility of Andes queues to only the tenant that create that queue, following simple solution can be used in my opinion. 1. When creating a queue, just allow user to enter a name for the queue (eg: *myQueue*). 2. Check the domain of the user (eg:* a.com*) 3. Append the

Re: [Dev] CarbonContext re-factoring not done in org.wso2.carbon.event.core

2012-09-19 Thread Hasitha Hiranya
Hi, It is done. Thanks. On Wed, Sep 19, 2012 at 11:36 AM, Suhothayan Sriskandarajah wrote: > Hasitha is looking in this > > Suho > > > On Wed, Sep 19, 2012 at 11:31 AM, Pradeep Fernando wrote: > >> Hi suho, >> >> please do the the needful to make it work. >> >> --Pradeep >> > > > > -- > *S. Suh

[Dev] A possible compilation failure at 4.0.0. branch....

2012-09-04 Thread Hasitha Hiranya
Hi, A Possible compilation failure at 4.0.0 branch... [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ org.wso2.carbon.ntask.core --- [INFO] Compiling 22 source files to /home/hasitha/carbonNew/carbon/platform/branches/4.0.0/components/ntask/org.wso2.carbon.ntask.core/4.0.1/tar

<    1   2   3   >