wso2

How to call an Oracle procedure w/ OUT parameter in WSO2ESB?

送分小仙女□ 提交于 2020-01-07 05:49:06
问题 versions: - WSO2 4.6.0 - Oracle 11g I Have this procedure in an Oracle DB: PROCEDURE SEARCHCONTRACT ( CONTRACTNUM IN OKC_K_HEADERS_B.CONTRACT_NUMBER%TYPE , cur_out IN OUT RefCursor) .... The procedure is working fine! Note that cur_out IN OUT RefCursor ! I have no clue on how to handle that parameter in a DBLookup mediator! This mediator does not have any place to inform whether each parameter is "IN" or "OUT" and I'm not sure if setting the direction (IN/OUT) would be enough. Thanks in

How to call Class mediator property value inside another mediator Class

扶醉桌前 提交于 2020-01-07 04:43:14
问题 I need to call some Class mediator property value inside another mediator Class This is my SurepayMediator class package esb.cellcard.billing; public class SurepayMediator extends AbstractMediator{ public boolean mediate(MessageContext context) { context.setProperty("firstValue", "Run Fast"); if(something){ //Here I need to execute AddSubscription class } else { //Here I need to execute CancleSubscription class } return true; } } I need to call this firstValue inside the AddSubscription class

WSO2 Message Broker 3.0.0 and WS-Eventing

放肆的年华 提交于 2020-01-07 03:48:27
问题 I am testing WSO2 Message Broker 3.0 and I miss the functionality of subscribing WS endpoints to topics. Can this functionality be activated with MB 3.0 as it was in MB 2.x? I am trying to implement reliable (queued) topic subscription for WS-Endpoints. How can it be implemented using WSO2 MB 3.0? 回答1: WS-Eventing removed from WSO2 MB 3.0.0. But you can achieve this by integrating WSO2 MB with WSO2 ESB. This is widely used common integration pattern for reliable messaging and also you could

How to install features in wso2 using OSGI Console

随声附和 提交于 2020-01-07 03:40:34
问题 I am new to wso2.. I have searched through articles and found that ,we can install features into carbon using OSGI Console... For eg,I want to install student management feature (Sample) in wso2 carbon,without using feature management( without UI ) . How to do this... I have the REPO in my local (Say D://p2-repo) I want to install these features in carbon using OSGI console Steps Tried 1) Started wso2 in OSGI console ( bin\wso2server.bat -DosgiConsol ) 2) Then i need to add the Repo right? 3)

WSO2 CEP : Siddhi QL: Creating a unique stream with similar event records

*爱你&永不变心* 提交于 2020-01-07 03:11:30
问题 I am pretty new to WSO2 CEP Siddhi QL, I got a requirement to analyze the events coming to a stream. For ex: I have data coming in like this [id,value]: InputStream=[1001,90] InputStream=[1001,85] InputStream=[1002,70] InputStream=[1001,85] InputStream=[1003,70] InputStream=[1003,85] InputStream=[1002,70] InputStream=[1003,70] InputStream=[1003,85] InputStream=[1002,70] InputStream=[1001,95] InputStream=[1001,65] In this, I want to segregate each records and group based on the id 1001, 1002

wso2 esb json missing quotes and brackets when using scheduled forwarding message processor

北城余情 提交于 2020-01-07 02:22:06
问题 I have a problem in sending json requests through esb and activemq, actually I'm using a proxy and I call my proxy with rest and json content. Here is my integration flow, I call a proxy (with postman) and the proxy sends the request(with json content) to a jms message store then, I defined a scheduled forwarding message processor to consume messages from message store and send them to a defined endpoint(.net web api). but the problem is strings with numbers automatically get converted as

wso2 esb and cep installation simultaneouslly

杀马特。学长 韩版系。学妹 提交于 2020-01-06 19:55:30
问题 I am trying to install and run ESB and CEP both on the same machine. I have tried to set port offset to 1, to prevent port conflict, but still after running ESB, I am not able to run CEP. The error log in cmd is as bellow: `C:\Program Files\yajsw-stable-11.03_cep\bat>call setenv.bat "java" -Xmx30m -Djna_tmpdir="C:\Program Files\yajsw-stable-11.03_cep\bat\/../tmp " -jar "C:\Program Files\yajsw-stable-11.03_cep\bat\/../wrapper.jar" -t "C:\Program Files\yajsw-stable-11.03_cep\bat\/../conf

How to implement execution plans using siddhi?

寵の児 提交于 2020-01-06 19:51:21
问题 First of all let me description my requirement: data.csv : column one is id,column two is vlaue. 1,0 2,0 3,0 4,86 5,87 6,88 7,89 8,86 9,0 10,0 11,0 12,0 13,0 14,86 15,87 16,88 17,89 18,0 19,0 20,0 here is my InputStream and my OutPutStream : id int,value int data.csv will insert into InputStream by using Event Stream Simulator . If there are five consecutive value>=85, I would record the first id,value into OutPutStream . For example,I will record id=4,value=86 ,but id=14 to id=17 i will

How to implement execution plans using siddhi?

安稳与你 提交于 2020-01-06 19:50:59
问题 First of all let me description my requirement: data.csv : column one is id,column two is vlaue. 1,0 2,0 3,0 4,86 5,87 6,88 7,89 8,86 9,0 10,0 11,0 12,0 13,0 14,86 15,87 16,88 17,89 18,0 19,0 20,0 here is my InputStream and my OutPutStream : id int,value int data.csv will insert into InputStream by using Event Stream Simulator . If there are five consecutive value>=85, I would record the first id,value into OutPutStream . For example,I will record id=4,value=86 ,but id=14 to id=17 i will

Exception thrown when try to add documents to the lucene index continuously inside the for loop

萝らか妹 提交于 2020-01-06 19:43:09
问题 I’m using “compass-2.2.0” to create a lucene index in MySql database table. This is part of my code to index documents, following Exception thrown when try to add documents to the lucene index continuously inside the for loop. Any workaround to overcome this error? My hosting server is WSo2 Stratoes tomcat based server and Wso2 Stratoes data service server. My program works fime in local tomcat/ mySql servers. This is the sample blog post that I have followed- http://mprabhat.wordpress.com