[Dev] How to correlate message?

2017-07-10 Thread Melodias
Hi devs, How I can correlate message? To correlate IN and OUT message i can set properties with uniq string, but when i get fault message from the endpoint, then properties is null. Is there some special ID in message context which I can get by using class mediator? -- View this message in cont

Re: [Dev] How to correlate message?

2017-07-10 Thread Sudharma Subasinghe
Hi, Can you try org.apache.axis2.context.MessageContext a2mc = ((Axis2MessageContext) synCtx).getAxis2MessageContext(); a2mc.getMessageID(); inside your custom mediator class to obtain the ID? On Mon, Jul 10, 2017 at 1:26 PM, Melodias wrote: > Hi devs, > > How I can correlate message? > To c

Re: [Dev] Get started with WSO2 Enterprise Integrator

2017-07-10 Thread Ushani Balasooriya
Hi Adel, Please see my answers in Blue for your errors. Please note we recommend you to send your issues via dev mail list. ** failure installing the EI : Can you please confirm whether you have picked the correct EI to install? You can download it from here [1] [1] http://wso2.com/integratio

Re: [Dev] How to correlate message?

2017-07-10 Thread Melodias
Hi, I was try it and that doesn't work. InSequence and outSequence has different ID: IN = urn:uuid:9472d761-0148-4b4d-9fd1-80d426ed9f15 OUT = urn:uuid:d7fc77ec-2bb8-4508-9dfc-358f2de625cc -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/How-to-correlate-message-in-

Re: [Dev] Override default log4.properties in MSF4J

2017-07-10 Thread Jochen Traunecker
Hi Thusitha, I'm pointing to this as parent 4.0.0 org.wso2.msf4j msf4j-service pom 2.1.2-SNAPSHOT Thanks, Jochen ... 2017-07-05 18:13 GMT+02:00 Thusitha Thilina Dayaratne : > Hi Jochen, > > When you put your custom log4j.properties file, it should be correctly > picked up. Are y

Re: [Dev] Should we refactor CarbonMessage

2017-07-10 Thread Shafreen Anfar
Hi Thusitha, On Mon, Jul 10, 2017 at 11:37 AM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Shafreen, > > +1 for the proposed implementation. In MSF4J point of view, we are > wrapping the carbon message with MSF4J Request/Response objects and use the > underlying messaging methods

Re: [Dev] Fixing the cache mediator

2017-07-10 Thread Riyafa Abdul Hameed
Dear all, I came up with the following configurations for the cache mediator rewrite: > [scope=(per-host | per-mediator)] collector=(true | false) > [maxMessageSize="in-bytes"] HTTPMethodToCache = (GET | POST)]> > > > > (mediator)+ > > ? > > > > > As I have mentioned in the require

Re: [Dev] Override default log4.properties in MSF4J

2017-07-10 Thread Thusitha Thilina Dayaratne
Hi Jochen, Can you try using dependencies without using the msf4j-parent? Thanks Thusitha On Mon, Jul 10, 2017 at 4:09 PM, Jochen Traunecker < jochen.traunec...@googlemail.com> wrote: > Hi Thusitha, > > I'm pointing to this as parent > > 4.0.0 > org.wso2.msf4j > msf4j-service > pom

Re: [Dev] How to set Database Properties in Carbon Datasources

2017-07-10 Thread Isuru Perera
Hi, How do I set database properties in latest carbon-datasources? https://github.com/wso2/carbon-datasources As mentioned below, Metrics component needs database properties to work with Oracle database. On Mon, Oct 12, 2015 at 11:54 AM, Kalpa Welivitigoda wrote: > Hi all, > > This is merged

Re: [Dev] How to set Database Properties in Carbon Datasources

2017-07-10 Thread Niranjan Karunanandham
Hi Isuru, In carbon-datasources, there is a sample [1] in how to use it. I have created a Git issue [2] to update the docs. [1] - https://github.com/wso2/carbon-datasources/blob/master/tests/osgi-tests/src/test/resources/conf/deployment.yaml#L83 [2] - https://github.com/wso2/carbon-datasources/is

Re: [Dev] How do I execute a piece of code when a connector is deployed/initialized?

2017-07-10 Thread Rajkumar Rajaratnam
Thanks Rajjaz. Firstly, I don't want to use a script mediator, because it has performance issues with high concurrency. Secondly, I want to execute a piece of code when the connector is deployed and enabled. I've implemented ManagedLifecycle and have put my code inside init() and everything works

Re: [Dev] [GSoC 2017][IS] SCIM 2.0 Compliance Test Suite

2017-07-10 Thread Omindu Rathnaweera
Hi VIndula, You can use https://github.com/wso2-incubator/scim2-compliance-test-suite for your development. Please send a PR with the current code. Regards, Omindu. On Mon, Jun 26, 2017 at 11:52 PM, Omindu Rathnaweera wrote: > Scheduled the meeting on 28th Wednesday at 3.00 pm. Hope you've got

[Dev] Identity Server 5.3.0 MSSQL script doesn't execute successfully

2017-07-10 Thread Johann Nallathamby
Hi IAM Team, Please check on $subject and fix on IS 5.4.0. This is an L1. [1] https://wso2.org/jira/browse/IDENTITY-6130 Regards, Johann. -- Thanks & Regards, *Johann Dilantha Nallathamby* Senior Technical Lead - WSO2 Identity Server Governance technologies Team WSO2, Inc. lean.enterprise.mid

[Dev] Recommended init.ora parameters for WSO2 product

2017-07-10 Thread Chamara Silva
Do we have recommended parameters for Oracle init.ora? Becuase some customers are concerning these parameters when they install WSO2 products with Oracle GB. ex : db_cache_size = 176000M db_2k_cache_size = 2048M db_16k_cache_size = 99000M db_keep_cache_size = 60M db_recycle_cache_size = 64

Re: [Dev] [GSoC][Siddhi][CEP]: Siddhi Pattern for Absence of Events

2017-07-10 Thread Gobinath
Hi Suho, I have added the test cases to all the cases you have mentioned except the four listed below because having more than two pattern operands is not supported by Siddhi. I hope it is okay to skip those test cases. WDYT? - every ( (not C and D) and B ) -> A - every ((not C and D) or B

[Dev] WSO2 IoT Server 3.1.0-Beta2 Released!

2017-07-10 Thread Madhawa Perera
WSO2 IoT Server 3.1.0-Beta2 We are pleased to announce WSO2 IoT Server 3.1.0-Beta2 release. It can be downloaded from wso2iot-3.1.0-beta2.zip WSO2 IoT Server 3.1.0-Beta2 is the successor of WSO2 IoT Serv

[Dev] Get Super tenant admin email

2017-07-10 Thread Godwin Shrimal
Hi All, We cannot get super tenant information via TenantManager. Below code returns null, So how can we get the super tenant admin's email address ? *tenantManager.getTenant(-1234)* Thanks Godwin -- *Godwin Amila Shrimal* WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772

Re: [Dev] Should we refactor CarbonMessage

2017-07-10 Thread Thusitha Thilina Dayaratne
Hi Shafreen, IMHO it would be much easier if that functionality os provided by the messaging layer. Otherwise, each and every MessageProcessors need to implement that logic. Therefore wouldn't it be nice to implement the getCopyOfFullMessageBody[1] method from carbon-messaging? [1] - https://gith

Re: [Dev] Identity Server 5.3.0 MSSQL script doesn't execute successfully

2017-07-10 Thread Isura Karunaratne
On Mon, Jul 10, 2017 at 8:36 PM, Johann Nallathamby wrote: > Hi IAM Team, > > Please check on $subject and fix on IS 5.4.0. This is an L1. > We will fix this in IS 5.4.0 > > [1] https://wso2.org/jira/browse/IDENTITY-6130 > > Regards, > Johann. > > -- > Thanks & Regards, > > *Johann Dilantha Nal

Re: [Dev] Should we refactor CarbonMessage

2017-07-10 Thread Shafreen Anfar
On Tue, Jul 11, 2017 at 8:47 AM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Shafreen, > > IMHO it would be much easier if that functionality os provided by the > messaging layer. Otherwise, each and every MessageProcessors need to > implement that logic. Therefore wouldn't it be

[Dev] Authentication and Authorization

2017-07-10 Thread Lipsa Pradhan
Hello All, How can I authorize and authenticate different users in WSO2 Enterprise Integrator? Actually I want to assign task to different users via a BPEL or a BPMN, but those users must log in using their credentials and must obtain an access token to access their tasks. Is it possible to do s

Re: [Dev] Get Super tenant admin email

2017-07-10 Thread Ayesha Dissanayaka
Hi Godwin, You can admin username from carbon context when in super-tenant flow. PrivilegedCarbonContext.getThreadLocalCarbonContext().getUserRealm().getRealmConfiguration() .getAdminUserName() Thanks! -Ayesha On Tue, Jul 11, 2017 at 7:35 AM, Godwin Shrimal wrote: > Hi Al

Re: [Dev] Get Super tenant admin email

2017-07-10 Thread Sudharma Subasinghe
We cannot obtain super tenant's email address via TenantManager as it is not set. On Tue, Jul 11, 2017 at 10:47 AM, Ayesha Dissanayaka wrote: > Hi Godwin, > > You can admin username from carbon context when in super-tenant flow. > > PrivilegedCarbonContext.getThreadLocalCarbonContext().getUserRe