Re: [Dev] [Architecture] [VOTE] Release WSO2 Enterprise Integrator 7.0.0 RC1

2019-10-07 Thread Hasitha Hiranya
Hi all, I have tested following on the MI 1.1.0 RC1 pack. - SSL connections - Configuring read only LDAP - Rest API with basic authentication [+] Stable - go ahead and release Thanks On Mon, Oct 7, 2019 at 2:31 PM Sameera Gunarathne wrote: > Hi all, > > I have tested following on

Re: [Dev] wso2 EI 6.4.0: "System may be unstable" error

2019-10-01 Thread Hasitha Hiranya
Hi, Even if the system level open file count limit is unlimited, there is a limit per process. Please check if that is hit [1]. [1]. https://stackoverflow.com/questions/21752067/counting-open-files-per-process Thanks On Tue, Oct 1, 2019 at 4:01 PM Bernard Paris wrote: > > running 2 nodes

[Dev] Empty ADDRESS kubernetes ingress

2019-05-31 Thread Hasitha Hiranya
Hi Devs, I created an Ingress using wso2-micro-integrator-ingress.yaml attached below. When I executed below command I get empty ADDRESS field. Operating System : MAC OS Mojave Docker Desktop version : 2.0.2.0 *hasitha@Hasithas-MacBook-Pro:/temp/k8$ kubectl get ingress* NAME

Re: [Dev] [VOTE] Release WSO2 Enterprise Integrator 6.5.0 RC1

2019-05-17 Thread Hasitha Hiranya
. Create a subscriber and publisher to a queue 3. Use MB to implement message store forward +1 to go ahead and release Thanks On Fri, May 17, 2019 at 1:20 PM Hasitha Hiranya wrote: > Hi, > > I smoke tested below - > > backend Funtionlaity and Web UI of wso2ei > >1. H

Re: [Dev] [VOTE] Release WSO2 Enterprise Integrator 6.5.0 RC1

2019-05-17 Thread Hasitha Hiranya
Hi, I smoke tested below - backend Funtionlaity and Web UI of wso2ei 1. HTTP proxy 2. log mediator 3. JMS message stores 4. JMS message processor (MB based) 5. JMS proxy inbound 6. Sequence mediator 7. Store mediator 8. address endpoint MB profile 1. Create a queue

Re: [Dev] [Architecture] [VOTE] Release WSO2 Enterprise Integrator 6.4.0 RC1

2018-09-18 Thread Hasitha Hiranya
Hi, I tested below JMS use cases and no issues found. receive JMS messages - with parameters at proxy level - with parameters at axis2 level send jms messages - with parameters at proxy level - with parameters at axis2 level (use "transport.jms.ConnectionFactory") transactions

Re: [Dev] Requesting suggestions for micro integrator secure vault script name

2018-08-07 Thread Hasitha Hiranya
Hi Arshardh, I am +1 for the simple name "*securevault*" Thanks On Tue, Aug 7, 2018 at 10:36 AM Arshardh Ifthikar wrote: > Hi all, > The Micro Integrator profile of the Enterprise Integrator, did not support > secure vault [1]. One reason for this was, the absence of an user interface > to

Re: [Dev] Reason for not supporting JMS Proprerties in AMQP STRICT mode

2018-03-05 Thread Hasitha Hiranya
Hi Shammi, Do you remember a reason? :) @Asanka, was this parameter by us (WSO2) or was it inherited from Qpid? Thanks On Mon, Mar 5, 2018 at 10:52 AM, Asanka Abeyweera wrote: > Hi all, > > Why have we restricted using JMS porperties in AMQP_STRICT mode? Please > refer [1]

[Dev] WSO2 Enterprise Integrator 6.1.1-update15 Released !

2018-01-07 Thread Hasitha Hiranya
Hi all, The WSO2 Integration team is pleased to announce the release of Enterprise Integrator 6.1.1-update15. It is available for download from here . *Tasks/Bug Fixes and Improvements* https://wso2.org/jira/issues/?filter=14504

Re: [Dev] [Architecture] APIM Statistics introduce new field to the Analytics events

2018-01-03 Thread Hasitha Hiranya
Hi, One scenario I faced with a customer is as follows. 1. A Custom HTTP header is coming with each request specifying the region request was originated. 2. At gateway, this needs to be extracted as an field and published to Analyser. 3. Analyser summarises the data and put to a DB

Re: [Dev] Difference between SESSION_TRANSACTED Ack Mode and transport.jms.SessionTransacted property

2018-01-03 Thread Hasitha Hiranya
Hi Asanka/Heshitha, Yes. If we create a transacted session all ACK modes are invalidated. Only commit() and rollback() is possible in a transacted session. Hence one flag is enough to denote if it is transactional. Thanks On Wed, Jan 3, 2018 at 11:41 AM, Asanka Abeyweera

[Dev] WSO2 Committers += Maryam Ziyad

2017-11-21 Thread Hasitha Hiranya
Hi Devs, It is my pleasure to welcome Maryam Ziyad as a WSO2 Committer. Maryam has made a great contributions to Integration Team during the last few months and in recognition of her commitment and contributions, she has been voted as a Committer for WSO2. @Maryam, welcome aboard and keep up the

Re: [Dev] Problems on MB Cluster Enterprise Integrator 6.1.0

2017-07-08 Thread Hasitha Hiranya
il.com>: >> >>> Thank you Hasitha. >>> >>> It thought leaving it as default, it would generate one. >>> >>> The ports are open, I can see in the logs it saying the new member has >>> joined, but it keeps trying to get the node i

Re: [Dev] Problems on MB Cluster Enterprise Integrator 6.1.0

2017-07-05 Thread Hasitha Hiranya
Hi, default Set a node id in broker.xml file at [EI_HOME]/wso2/broker/conf BTW, are necessary ports open for Hazelcast to communicate? Thanks On Mon, Jul 3, 2017 at 6:51 PM, JĂșnior wrote: > Hello, > > I am trying to setup a cluster for the Broker

Re: [Dev] Tool to Analyze Performance of MB 4 Message Store

2017-05-07 Thread Hasitha Hiranya
Hi Malaka, Does JMH give latencies to write to/read from Databases? What are the metrics on which you are going to judge DB performance? Are they evaluated by JMH? Thanks On Fri, May 5, 2017 at 2:59 PM, Malaka Gangananda wrote: > Hi Asanka, > > At present we are doing a

Re: [Dev] Folder Structure for C5 based MB

2017-04-27 Thread Hasitha Hiranya
+1 for a single feature repo, with separated, individually unit testable modules. On Thu, Apr 27, 2017 at 2:08 PM, Nuwan Dias wrote: > Yes, embed in the sense we would package the jars so that we can run MB as > a separate process/runtime. > > On Thu, Apr 27, 2017 at 1:56 PM,

Re: [Dev] WSO2 Message Broker 3.2.0 RC2 Released !!

2017-04-24 Thread Hasitha Hiranya
Hi all, Tested the following scenarios . 1. Failover for queues - with publish/subscribe 2. Failover for durable topic subscriptions - with publish/subscribe No issues found. So, +1 to release. Thanks On Mon, Apr 24, 2017 at 2:08 PM, Sasikala Kottegoda wrote: > Hi all, >

[Dev] [Architecture] WSO2 Message Broker 3.2.0 RC1 Released !!

2017-04-07 Thread Hasitha Hiranya
Hi Devs, This is the first release candidate of WSO2 Message Broker 3.2.0. This release fixes the following issues: https://wso2.org/jira/issues/?filter=13656 Known Issues https://wso2.org/jira/issues/?filter=13655 Please download MB 3.2.0 RC1 and

[Dev] For reference - data changes between MB 3.1.0 and MB 3.2.0 (internal feature)

2017-04-02 Thread Hasitha Hiranya
Hi, Please see attached. 1. Queue names should be fixed in about 5 tables (make all simple) 2. Queue data string is updated in the model 3. Subscriber data string is updated in the model 4. Subscriber has a UUID as subscriber ID now. 5. Subscriber connection is base64 encoded. Code will decode

Re: [Dev] [MB] JMS session recovery causing messages which are buffered to move into the DLC before it's being received

2017-03-01 Thread Hasitha Hiranya
ng. > > Sent from my mobile > > -- > Asanka Abeyweera > Software Engineer > WSO2 Inc. > > Phone: +94 71 222 8648 > > On Mar 2, 2017 7:04 AM, "Hasitha Hiranya" <hasit...@wso2.com> wrote: > >> Hi Pamod and all, >> >> IMO, *we need

Re: [Dev] [MB] JMS session recovery causing messages which are buffered to move into the DLC before it's being received

2017-03-01 Thread Hasitha Hiranya
Hi Pamod and all, IMO, *we need both side's changes.* Andes client - when receover() is called, send reject to application consumed messages, and clear internal buffer Server - while recovering, do not increase redelivery count (do not consider as a redelivery, as app has not consumed).

Re: [Dev] Metrics issue when doing long running tests for Message Broker

2016-10-09 Thread Hasitha Hiranya
, Oct 6, 2016 at 8:25 AM, Malith Jayasinghe <mali...@wso2.com> wrote: > Hi Hasitha, > > Thanks for reporting this issue. I don't think we tested the metrics with > postgresql. We will get back to you soon. > > On Wed, Oct 5, 2016 at 5:29 PM, Hasitha Hiranya <hasit.

[Dev] Metrics issue when doing long running tests for Message Broker

2016-10-05 Thread Hasitha Hiranya
Hi Performance Team , We observed following exception when doing long running tests for MB 3.2.0 [1]. Have we tested metrics with postgresql? Any idea on the issue? We created jira [2] to follow up [1]. TID: [] [] [2016-10-05 17:02:44,321] ERROR

Re: [Dev] Error when browsing and calculating the number of messages with QueueBrowser

2016-09-25 Thread Hasitha Hiranya
37331 > LinkedIn : http://lk.linkedin.com/in/shazninazeer > Blog : http://shazninazeer.blogspot.com > > <http://wso2.com/signature> > > On Fri, Sep 23, 2016 at 10:05 AM, Hasitha Hiranya <hasit...@wso2.com> > wrote: > >> Hi Shazni, >> >> WSO2 Message

Re: [Dev] Error when browsing and calculating the number of messages with QueueBrowser

2016-09-23 Thread Hasitha Hiranya
Hi Shazni, WSO2 Message Broker exposes Admin Services which you can get message count of a queue. Is there any chance of using that? Thanks On Fri, Sep 23, 2016 at 2:21 PM, Shazni Nazeer wrote: > HI, > > I have the following code snippet to calculate the number of message in

[Dev] [WSO2 MB] Add a button to dump message status information

2016-09-15 Thread Hasitha Hiranya
Hi Team, WSO2 MB has a MBean operation which can be invoked to dump the message status of all messages holding in memory. This is useful for trouble shooting. When suddenly if messages are stuck without being delivered, we can get the dump and inspect at which state they are stuck. Since, WDYT

Re: [Dev] [MB] Unmatched messages when using message selectors

2016-09-12 Thread Hasitha Hiranya
: http://lk.linkedin.com/in/shazninazeer > Blog : http://shazninazeer.blogspot.com > > <http://wso2.com/signature> > > On Mon, Sep 12, 2016 at 5:42 AM, Hasitha Hiranya <hasit...@wso2.com> > wrote: > >> Hi Shazni, >> >> This is the expected behavior of MB. >>

Re: [Dev] [MB] Unmatched messages when using message selectors

2016-09-11 Thread Hasitha Hiranya
Hi Shazni, This is the expected behavior of MB. Messages will go to DLC if not matched. Things to note here is 1. MB does not support selectors cluster-wide (if there is a subscriber with a matching selector on some other node, sorry) 2. We cannot keep the message in the queue because of "slot

Re: [Dev] Improving MB Slot Coordinator to Work in a NATed/Containerized Environment

2016-08-27 Thread Hasitha Hiranya
Hi, Thank You, Isuru...!! If you add a new property to broker.xml config file, that file needs a update as well. So broker.xml of carbon-business-messaging [1] has to be changed I guess. Please add a proper description to the property in the file for the parameter you are adding. [1].

Re: [Dev] Error while deploying sequence with a connector via a CAR file

2016-03-26 Thread Hasitha Hiranya
Hi, And I do not see connector is bundled into the CAR file. [image: Inline image 1] Thanks On Sat, Mar 26, 2016 at 2:31 PM, Hasitha Hiranya <hasit...@wso2.com> wrote: > Hi, > > I have following sequence. When it is deployed via a CAR file (I added > salesforce connector t

[Dev] Error while deploying sequence with a connector via a CAR file

2016-03-26 Thread Hasitha Hiranya
Hi, I have following sequence. When it is deployed via a CAR file (I added salesforce connector to the CAR by right click >> add remove connector in Dev Studio) it gives error [1]. Any idea what I am doing wrong here? I am using ESB 4.9.0. http://ws.apache.org/ns/synapse;>

Re: [Dev] WSO2 Committers += Hasunie Adhikari

2016-02-29 Thread Hasitha Hiranya
Congratulations Hasuni...!!! On Mon, Feb 29, 2016 at 5:13 PM, Mohamed ZAJITH wrote: > Congratulations Hasuni > > > > > On Mon, Feb 29, 2016 at 3:28 PM, Ruwan Yatawara wrote: > >> Congratulations Hasunie! >> >> Thanks and Regards, >> >> Ruwan Yatawara

Re: [Dev] MB C5-migration new folder structure

2016-02-09 Thread Hasitha Hiranya
Hi Asitha, Yep. If we install above 4 features on a vanila Cabon server, it should become a MB server. Thanks On Tue, Feb 9, 2016 at 4:26 PM, Asitha Nanayakkara <asi...@wso2.com> wrote: > Adding dev@ > > On Tue, Feb 9, 2016 at 4:03 PM, Hasitha Hiranya <hasit...@wso2.com>

Re: [Dev] MB 3.0.0 is not starting on Windows 7/Java 1.7

2015-12-21 Thread Hasitha Hiranya
Is this worth mentioning in docs anyway? On Tue, Dec 22, 2015 at 11:21 AM, Nadeesha Meegoda wrote: > Hi all, > > Thanks for figuring this out. > > Regards, > Nadeesha > > On Tue, Dec 22, 2015 at 11:19 AM, Isuru Perera wrote: > >> Yes! The 32-bit JVM cannot

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.3 RC3

2015-12-15 Thread Hasitha Hiranya
Hi, Tested WSO2 MB with Carbon kernel 4.4.3 RC3. All integration tests and automated cluster tests are passed. Thus +1 for release. Thanks On Tue, Dec 15, 2015 at 3:45 PM, Nipuni Perera wrote: > Hi Devs, > > Thanks for testing and verifying the Carbon kernel 4.4.3 RC3. We are

Re: [Dev] Warning when sending message to WSO2 MB

2015-11-30 Thread Hasitha Hiranya
Hi, This warning comes when loading keystore and truststore within Andes client (WSO2 MB JMS client) inside ESB. ESB always try to make a connection to MB in your scenario? i.e 1. make a connection 2. send message i 3. close connection 4. step 1 again and loop If so, this warning can be

Re: [Dev] Implementing -Dsetup in a Carbon product

2015-11-23 Thread Hasitha Hiranya
carbon/ml/database/internal/MLDatabaseService.java#L63 > to > https://github.com/wso2/carbon-ml/blob/master/components/ml/org.wso2.carbon.ml.database/src/main/java/org/wso2/carbon/ml/database/internal/MLDatabaseService.java#L83 > > On Sat, Nov 21, 2015 at 9:24 PM, Hasitha Hiranya <ha

Re: [Dev] Implementing -Dsetup in a Carbon product

2015-11-21 Thread Hasitha Hiranya
iranya, > > [1] might help you. > > [1] > https://github.com/wso2/carbon-ml/tree/master/components/ml/org.wso2.carbon.ml.database > > On Sat, Nov 21, 2015 at 8:58 AM, Hasitha Hiranya <hasit...@wso2.com> > wrote: > >> Hi, >> >> In our carbo

[Dev] Implementing -Dsetup in a Carbon product

2015-11-20 Thread Hasitha Hiranya
Hi, In our carbon product, we have a new database to deal with. We have the DB script that creates the necessary tables to work with the product in a specified database pointed by /repository/conf/datasources/masterdatasource.xml. If we write a code to source the DB Script, we need to read

Re: [Dev] [VOTE] Release WSO2 Message Broker 3.0.0 RC 2

2015-11-07 Thread Hasitha Hiranya
Hi all, I tested the following scenarios in a MB cluster - multiple publisher multiple consumer - queues - multiple publisher multiple consumer - topics - multiple publisher multiple consumer - durable topic shared - multiple publisher multiple consumer - queues - with

[Dev] [Architecture] WSO2 Message Broker 3.0.0 Beta Released !

2015-10-25 Thread Hasitha Hiranya
Hi All, WSO2 MB Team is pleased to announce the release of WSO2 Message Broker 3.0.0-Beta. You can now download the distribution which is at [1]. Bug - [MB-378 ] - Permission handling with "Topic and children" option - [MB-698

[Dev] How to make mySQL DB case sensitive

2015-10-15 Thread Hasitha Hiranya
Hi Devs, How can we do the subject? Are we doing this in registry/user store DBs? Thanks -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com*

Re: [Dev] How to make mySQL DB case sensitive

2015-10-15 Thread Hasitha Hiranya
llation at both the database creation and table > creation level. > And you can set individual tables treated as case sensitive if you want. > > Please refer[1] > > [1] - > http://stackoverflow.com/questions/4879846/how-to-configure-mysql-to-be-case-sensitive > > On Thu, Oct 15, 2015

[Dev] Hazelcast Issue - sequence is too small. the current head sequence...

2015-10-06 Thread Hasitha Hiranya
Hi Peter, We are using Hazelcast in our Message Broker project. We are getting following exception when using a iTopic for syncing data. Appreciate any idea why this happen? Are we doing something wrong in our client application? We found code [1] throwing the exception. Oct 06, 2015 4:26:44

Re: [Dev] [DEV][MB][MQTT] How to handle permission denied to subscribe a topic due to tenancy

2015-10-02 Thread Hasitha Hiranya
Hi, Yes, Connection Refused, not authorized is the best we can do. @Pamod, any batter alternative? Thanks! On Fri, Oct 2, 2015 at 10:55 PM, Yasassri Ratnayake wrote: > Hi Pumudu, > > MQTT spec doesn't talk about a permission model, So IMO the closest error > we can

Re: [Dev] [MB] Shared Subscription - unsubscribe operation - expected behavior

2015-08-30 Thread Hasitha Hiranya
By AMQP semantics "unsubscribe" call breaks into two subsequent calls. 1. subscription close 2. queue delete If only one subscriber is there these calls does not matter. When there are multiple (shared durable), with the existing impl I guess we will delete the queue. Meaning rest of the

Re: [Dev] [MB] How to clean up non-durable topic subscriptions if MB node killed in cluster setup

2015-08-23 Thread Hasitha Hiranya
Hi Pumudu, LocalSubscriptions are local to the node. You can deliver messages only to the Localsubscriptions. Clustersubscription is the object carrying basic info about subscriptions which does not have an actual channel associated with it. To solve the problem I have introduce a method to get

[Dev] Message loss during failover when nodes are killed - complex edge cases

2015-07-14 Thread Hasitha Hiranya
Hi Asitha, I want to know in high level what happens to slots when a node is killed. 1. A new slot coordinator should be elected. Until then other nodes might connect to that node. 2015-07-14 17:59:18,207] ERROR {org.wso2.andes.thrift.MBThriftClient} - Could not connect to the Thrift Server

Re: [Dev] Issue in removing messages of non durable topics

2015-07-06 Thread Hasitha Hiranya
@Pamod, Any idea on this? Thanks On Mon, Jul 6, 2015 at 4:30 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi, Identified an issue regarding message purging when last subscriber for a topic is disconnected from broker cluster. @org.wso2.andes.kernel.OrphanedMessageHandler private void

Re: [Dev] WSO2 Committers += Pumudu Ruhunage

2015-06-24 Thread Hasitha Hiranya
Congratulations Pumudu!! On Wed, Jun 24, 2015 at 8:51 AM, Akalanka Pagoda Arachchi darsha...@wso2.com wrote: Congratz Pumudu... On Wed, Jun 24, 2015 at 7:16 AM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Congratulations Pumudu :) *T. Pranavan* *BSc Eng Undergraduate|

Re: [Dev] [Architecture] Suggestion to add a separate DLC table for WSO2MB in order to enhance performance

2015-06-17 Thread Hasitha Hiranya
Hi Sasikala, +1 for the idea. The respective cassandra column family (DLCMetaData) structure will be the same as the current cassandra MetaData column family. Each row will have storageQueue as the key, each message as a column with the message_id as the column name and metadata as the value as

Re: [Dev] [Architecture] Suggestion to add a separate DLC table for WSO2MB in order to enhance performance

2015-06-17 Thread Hasitha Hiranya
and metadata as the value. Same as the suggested new column family. Thank you On Wed, Jun 17, 2015 at 3:12 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi Sasikala, +1 for the idea. The respective cassandra column family (DLCMetaData) structure will be the same as the current cassandra

Re: [Dev] [ESB] ClientApiNonBlocking Property JMS Transport

2015-06-15 Thread Hasitha Hiranya
@Doc team, Please review and make necessary changes. Thanks On Mon, Jun 15, 2015 at 1:22 PM, Akalanka Pagoda Arachchi darsha...@wso2.com wrote: Hi Rajkumar, You will need to use a blocking call when JMS transactions are involved. In other cases, JMS can be used without this.

Re: [Dev] [MB] Revamping MB Test Framework to cut down time.

2015-06-13 Thread Hasitha Hiranya
+1 . For functionality testing in memory mode will be enough. but proper unit tests should be there for every store in that case. On Sat, Jun 13, 2015 at 12:10 AM, Ramith Jayasinghe ram...@wso2.com wrote: +1 On Sat, Jun 13, 2015 at 1:59 AM, Akalanka Pagoda Arachchi darsha...@wso2.com wrote:

Re: [Dev] [MB] Mechanism to prevent reading from the server until flow control is applied to all publishers

2015-06-05 Thread Hasitha Hiranya
+1 for giving the control to protocol level. AMQP has its own way of flow controlling. Some protocols may not have it OOB. On Fri, Jun 5, 2015 at 7:06 AM, Pamod Sylvester pa...@wso2.com wrote: for AMQP isn't it possible to apply TCP back pressure and then release each channel when invoking

Re: [Dev] Handling version change in C-App

2015-06-04 Thread Hasitha Hiranya
Hi, This is one of the solutions people are using. Name the CAR file as xxx-car-v-1.0 Name all the artifacts inside it as artifact-xxx-v-1.0 Then deploy CAR files. Old ones will not be replaced. The references in each artifact to one another should be updated. We can do this to endpoints. But

Re: [Dev] [ESB] JMS Inbound Endpoint Topic Consumer Configuration

2015-05-27 Thread Hasitha Hiranya
Hi, Is this something we need to document? Thanks On Wed, May 27, 2015 at 10:07 AM, eranda rajapaksha erand...@gmail.com wrote: Hi, It works fine after changing the cache level. Thanks a lot! On Wed, May 27, 2015 at 12:13 PM, Malaka Silva mal...@wso2.com wrote: Hi Eranda, Increase

Re: [Dev] Define Tomcat Context Path

2015-05-22 Thread Hasitha Hiranya
Hi Akalanka, Following might be useful. http://stackoverflow.com/questions/7276989/howto-set-the-context-path-of-a-web-application-in-tomcat-7-0 Thanks On Fri, May 22, 2015 at 3:17 PM, Akalanka Pagoda Arachchi darsha...@wso2.com wrote: Hi Kasun, Thank you, but rather I wanted to do this

Re: [Dev] [MB] 'jmstansport' sample in MB is not related to JMS.

2015-05-21 Thread Hasitha Hiranya
AFAIR In good old days these two were mandatory tests for the platform. Now the things has changed. Thus +1 On Fri, May 22, 2015 at 12:10 AM, Ramith Jayasinghe ram...@wso2.com wrote: HI, I'm in favour of deprecating this one. @Shammi, @Hasitha: thoughts? On Thu, May 21, 2015 at 2:53 PM,

Re: [Dev] [MB] Error while starting MB 3.0.0 cluster setup

2015-05-20 Thread Hasitha Hiranya
Better to highlight this in our docs as well. On Wed, May 20, 2015 at 11:16 PM, Indika Sampath indi...@wso2.com wrote: I looked into master-datasources.xml and there are two RDBMS datasources configured for WSO2MBStoreDB (H2 and MySQL). H2 is default database we distributed with MB pack.

Re: [Dev] Serving static content is not working with WSO2 Application Server

2015-05-18 Thread Hasitha Hiranya
with response and return tags. Thanks On Sat, May 16, 2015 at 1:50 AM, Kasun Gajasinghe kas...@wso2.com wrote: Hi, Can you try adding this as a normal webapp instead of defining it at server.xml? On May 15, 2015, at 3:14 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi Devs, I tried

[Dev] Serving static content is not working with WSO2 Application Server

2015-05-15 Thread Hasitha Hiranya
Hi Devs, I tried to follow [1]. My /repostory/conf/tomcatcatalina-server.xml file look like this Host name=localhost unpackWARs=true deployOnStartup=false autoDeploy=false appBase=${carbon.home}/repository/deployment/server/webapps/ * Context

[Dev] [IMPORTANT] Greasemonkey Tests for MB 3.0.0 - Fail Tolerance

2015-05-08 Thread Hasitha Hiranya
Hi, I suggest we need to do $Subject before release of MB 3.0.0. As MB is used for reliable messaging High availability and fault tolerance is vital. This is the test scenario: 1. Set up a cluster with three nodes (MB1,MB2.MB3) 2. Set up a failover publisher and a failover subscriber. 3.

[Dev] Message processor - forward to a sequence

2015-05-03 Thread Hasitha Hiranya
Hi, I am trying to forward a message to a sequence after receiving it from the queue/topic using message processor. How can we configure this? I tried giving a sequence as an endpoint hoping it would work, but did not (message processor deactivates not recognizing it) [image: Inline image 1]

Re: [Dev] Message processor - forward to a sequence

2015-05-03 Thread Hasitha Hiranya
] https://docs.wso2.com/display/ESB481/Message+Forwarding+Processor Maheeka Jayasuriya Software Engineer Mobile : +9450661 On Sun, May 3, 2015 at 8:24 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi, I am trying to forward a message to a sequence after receiving it from the queue/topic

Re: [Dev] Message processor - forward to a sequence

2015-05-03 Thread Hasitha Hiranya
to a BE, but several steps) @4 I need to go thro the flow again. Thanks On Sun, May 3, 2015 at 12:55 PM, Isuru Udana isu...@wso2.com wrote: What's your requirement to direct to a sequence ? On Sun, May 3, 2015 at 11:23 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi Maheeka/Isuru, Yes. I need

Re: [Dev] Message processor - forward to a sequence

2015-05-03 Thread Hasitha Hiranya
...@wso2.com wrote: Hi Hasitha, On Sun, May 3, 2015 at 11:42 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi Isuru, Above mediation flow has several BE calls. Not one. And message transformations in the middle of them. That is why I was trying to direct it to the same sequence

Re: [Dev] Message processor - forward to a sequence

2015-05-03 Thread Hasitha Hiranya
, 2015 at 11:33 PM, Hasitha Hiranya hasit...@wso2.com wrote: OK. I am trying a reliable delivery scenario. 1. Get message. 2. Go thro mediation flow. 3. If something went wrong put the original message to a queue (message store) 4. re-try the failed message (using message processor

Re: [Dev] [MB] How to handle reroute operation for durable topic messages in dead letter channel

2015-04-09 Thread Hasitha Hiranya
? Ideally shouldn't we reroute it to a durable topic, which is currently not handle by dlc? Thanks, On Wed, Apr 8, 2015 at 11:21 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi Pumudu, Yes. There will be cases where customers would like this reroute function. Make sure to reroute to the same

Re: [Dev] [MB] How to handle reroute operation for durable topic messages in dead letter channel

2015-04-08 Thread Hasitha Hiranya
Hi Pumudu, Yes. There will be cases where customers would like this reroute function. Make sure to reroute to the same queue for that sub ID. Also, make a note that, by the time you reroute, that subscription can be unsubscribed by user and queue is no longer there. Thanks On Wed, Apr 8, 2015

[Dev] MB Recovery Code

2015-04-01 Thread Hasitha Hiranya
Hi Team, There is a code written to sync following memory caches time to time with the database. Individual node has a scheduled task to do this periodically. Idea is, if a hazelcast notification was lost, even late, try to act correct. 1. Subscriptions 2. Bindings 3. Exchanges 4. Queues I have

[Dev] Logging For WSO2 MB 3.0.0

2015-03-24 Thread Hasitha Hiranya
Hi Team, In WSO2 MB there are several areas we need debug logs. 1. Inbound - when a message comes in , saving metadata and content to message store. 2. outbound - when a message is received and sent to subscribers 3. slot - slot manager related logs, what are the slots received by node 4.

[Dev] ESB + MB Testing - JMS Transactions

2015-03-20 Thread Hasitha Hiranya
Hi Team, Please refer following documentation from ESB https://docs.wso2.com/display/ESB481/JMS+Transactions If the back-end is down (or any error happened during mediation) message should not be removed from the queue. Many customers want this. So JMS transactions is the proper way to do

Re: [Dev] Dynamic Queue Error When Using Destination Type as topic

2015-03-17 Thread Hasitha Hiranya
) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) On Tue, Mar 17, 2015 at 9:51 PM, Hasitha Hiranya hasit...@wso2.com wrote

Re: [Dev] Dynamic Queue Error When Using Destination Type as topic

2015-03-17 Thread Hasitha Hiranya
javax.naming.NameNotFoundException: dynamicQueues/topic.datacenter1 This means this topic is not added to the initialcontext and cannot lookup. Is this a dynamic topic? What about specifying the topic in JNDI.properties file? On Tue, Mar 17, 2015 at 10:59 AM, Malaka Silva mal...@wso2.com

Re: [Dev] [MB] TombstoneOverwhelmingException When Purge Operation is Triggered When Subscription Disconnection/Deletion

2015-03-12 Thread Hasitha Hiranya
Hi, Idea was when last subscriber goes purge the messages without getting slots involved because it need to happen lightweight and fast. Thanks On Thu, Mar 12, 2015 at 3:16 AM, Pamod Sylvester pa...@wso2.com wrote: +1 Agreed, also as you and Ramith mentioned deleting the content directly

Re: [Dev] Batched content chunk reading for WSO2 MB through Disruptor

2015-02-15 Thread Hasitha Hiranya
Hi, We can use message.getMessageMetaData().getContentChunkCount() to get number of content chunks. Here message is a AMQMessage message. Thanks On Fri, Feb 13, 2015 at 5:35 PM, Asitha Nanayakkara asi...@wso2.com wrote: Hi Asanka, On Fri, Feb 13, 2015 at 2:32 PM, Asanka Abeyweera

[Dev] JMS Synchronous Invocations : Dual Channel HTTP-to-JMS - WSO2 ESB + WSO2 Message Broker

2015-02-07 Thread Hasitha Hiranya
Hi, Tested and wrote an blog post on $Subject [1]. Used MB 3.0.0 Milestone 2 pack. Noted following. 1. I saw *for each message* it creates a subscription to queue indicated by reply destination. Is this acceptable? In a loaded scenario this will not work. 2. Sometimes MB gives following errors

Re: [Dev] Shouldn't we allow to reuse same ID to create durable subscriptions on different topics

2015-02-05 Thread Hasitha Hiranya
Hi, We have a solution for the second point. That is something we done on a customer request. There is a configuration in broker.xml which you can enable if you need to have multiple subscribers from same client Id. Not sure how it would affect the first point though. Thanks On Friday,

Re: [Dev] Cluster-wide Test Case Suggestion

2015-01-29 Thread Hasitha Hiranya
, Hasitha Hiranya hasit...@wso2.com wrote: Hi Sajini, Like to suggest a test case as follows. For a client I developed a feature such that if enabled, multiple subscribers can exist by same clientID for the same topic. A new test case must be added so that, 1. Restart pack

Re: [Dev] MB test cases improvements - check message counts

2015-01-27 Thread Hasitha Hiranya
, 2015 at 9:01 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi, We need to be careful with message count display in UI in MB 3.0.0. For most of users this is the first impression about the product. If message counts are wrong and unpredictable, even for us developers, it is hard to isolate

[Dev] Cluster-wide Test Case Suggestion

2015-01-13 Thread Hasitha Hiranya
Hi Sajini, Like to suggest a test case as follows. For a client I developed a feature such that if enabled, multiple subscribers can exist by same clientID for the same topic. A new test case must be added so that, 1. Restart pack with multipleSubscribersEnabled. 2. Clusterwide put two durable

Re: [Dev] WSO2 Committers += Akalanka Darshana Pagoda Arachchi

2015-01-05 Thread Hasitha Hiranya
Congratulations Akalanka !! On Mon, Jan 5, 2015 at 4:32 PM, Senduran Balasubramaniyam sendu...@wso2.com wrote: Congratulations Akalanka !! On Mon, Jan 5, 2015 at 3:09 PM, Inshaf Mahath ins...@wso2.com wrote: Congrats Akalanka.. On Mon, Jan 5, 2015 at 3:02 PM, Pumudu Ruhunage

Re: [Dev] [MB] Remove or revamp 'Node List' page under 'Cluster Management' in MB 3.0.0

2015-01-05 Thread Hasitha Hiranya
Hemika, I vote for now, let's have a plain table displaying nodes in the cluster with above properties, with coordinator highlighted. At the moment we do not have a lot of information to display via a drill down. WDYT? Thanks On Tue, Jan 6, 2015 at 7:13 AM, Pamod Sylvester pa...@wso2.com

[Dev] Preventing Topic Subscriptions getting unwanted messages

2014-12-15 Thread Hasitha Hiranya
Hi, I did following change to topic subscriptions. 1. say sub 1 subscribed to topic x. 2. say sub 2 subscribed to topic x. 3. say 10,000 msgs published to topic x. Now when sub 1 is closed and resubscribe, it should get no messages. This is now done comparing time stamps of subscription and

Re: [Dev] WSO2 Committers += Sajini De Silva

2014-11-18 Thread Hasitha Hiranya
Congratulations, Sajini On Tue, Nov 18, 2014 at 1:53 PM, Pulasthi Supun pulas...@wso2.com wrote: Congrats! On Tue, Nov 18, 2014 at 1:52 PM, Denuwanthi De Silva denuwan...@wso2.com wrote: Congratulations Sajini!!! On Tue, Nov 18, 2014 at 1:51 PM, Nipuni Perera nip...@wso2.com wrote:

[Dev] WSO2 MB - To Be Dones I tracked so far

2014-11-15 Thread Hasitha Hiranya
Hi Team, Following are tasks TBD for M2 and M3 releases of MB. Thought of flushing my mind with the tasks that came up with last code review and some last for some time. 1. Add a warning if parts cache is growing. (Done) 2. Make message status block capital (Done) 3. Make message status

Re: [Dev] WSO2 MB - To Be Dones I tracked so far

2014-11-15 Thread Hasitha Hiranya
: On Sat, Nov 15, 2014 at 1:40 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi Team, Following are tasks TBD for M2 and M3 releases of MB. Thought of flushing my mind with the tasks that came up with last code review and some last for some time. 1. Add a warning if parts cache is growing

Re: [Dev] WSO2 MB - To Be Dones I tracked so far

2014-11-15 Thread Hasitha Hiranya
by HasithaA should capture this as well. Thanks On Sun, Nov 16, 2014 at 10:36 AM, Hasitha Hiranya hasit...@wso2.com wrote: Hi Team, I Removed 1. nodeQueues 2. GlobalQueues 3. QueueAddress 4. TopicDeliveryWorker 5. Unnecessary column families created by CQL Message store. and committed

Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Hasitha Hiranya
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

Re: [Dev] Concern when purging during active subscriptions - MB 3.0.0

2014-10-23 Thread Hasitha Hiranya
Hi, This is my suggestion. 1. from purging node delete metadata raw. 2. from purging node clear all in memory lists having messages (trackings and the middle buffer)(we might have scheduled to deliver. Maybe we should cancel the jobs?) 3. send a cluster notification that queue is purged (this is

Re: [Dev] Way to optimize database calls during queue purge - MB 3.0.0

2014-10-23 Thread Hasitha Hiranya
Hi, To the message store, let's introduce delete all message in queue (@queueName) method. for cassandra it will delete the whole raw in one go. for JDBC there should be a similiar operation (maybe select and a delete). Thanks On Thu, Oct 23, 2014 at 10:56 PM, Hasitha Amal De Silva

[Dev] Re- implemented OnFlightMessageTracker

2014-10-12 Thread Hasitha Hiranya
Hi MB Team, Problems we had previously with OnFlightMessageTracker class (class responsible for tracking all message deliveries) OnFlightMessageTracker had many complex methods (not grouped well to methods) It had AMQP specific stuff It had time based checks It had synchronization issues

Re: [Dev] Re- implemented OnFlightMessageTracker

2014-10-12 Thread Hasitha Hiranya
, Hasitha Hiranya hasit...@wso2.com wrote: Hi MB Team, Problems we had previously with OnFlightMessageTracker class (class responsible for tracking all message deliveries) OnFlightMessageTracker had many complex methods (not grouped well to methods) It had AMQP specific stuff It had

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

2014-10-11 Thread Hasitha Hiranya
to consider the message being delivered. On Wed, Oct 1, 2014 at 7:13 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi, I am currently doing the changes suggested by Suho and the team 1. Introducing a Strategy Class for message store (async/direct/hybrid). - So far, I could make

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

2014-10-11 Thread Hasitha Hiranya
On Sat, Oct 11, 2014 at 6:32 PM, Asitha Nanayakkara asi...@wso2.com wrote: Hi Hasitha, On Sat, Oct 11, 2014 at 2:50 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi Devs, Here are some more tasks we are planning to do along milestone releases of MB. 1. Both come as coodinator when

Re: [Dev] Integrating topics to MB

2014-10-05 Thread Hasitha Hiranya
counts when a node gets killed. WDYT? Thanks On Sun, Oct 5, 2014 at 6:57 AM, Hasitha Hiranya hasit...@wso2.com wrote: Hi Team, 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

[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 that.

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

2014-10-01 Thread Hasitha Hiranya
mention my duplicating message metadata and content. Thanks Shammi On Tue, Sep 30, 2014 at 11:21 AM, Hasitha Hiranya hasit...@wso2.com wrote: 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

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 hars...@wso2.com wrote: Congratulations Rajith !!! Best Regards, Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :**

  1   2   3   >