Re: [Dev] [Siddhi] non-matched or expired events in pattern query

2017-09-26 Thread Jayesh Senjaliya
sorry bit correction on the following line in *BOLD*. .now i want to catch if certain jobs (publish -> subscribe) has *NOT* been finished with 10 sec. On Tue, Sep 26, 2017 at 7:05 PM, Jayesh Senjaliya wrote: > Hi Grainier, > > ya, i came across that example page, but

Re: [Dev] [Siddhi] non-matched or expired events in pattern query

2017-09-26 Thread Jayesh Senjaliya
Hi Grainier, ya, i came across that example page, but i think that does not work in my use-case which is as follow. i have a publish event followed by multiple subscribe event for the same publish job. now i want to catch if certain jobs (publish -> subscribe) has been finished with 10 sec. I

Re: [Dev] APIM-2.1.0 retrieve app name from access token or client id

2017-09-26 Thread roshan wijesena
Hi There is an admin service to fetch the oAuth application details, https://docs.wso2.com/display/AM210/WSO2+Admin+Services On Tue, Sep 26, 2017 at 10:33 PM, 김대경 wrote: > Hi > > I want to know applocation name from access token. > > I can get client_id(consumerKey) using

Re: [Dev] Custom authentication error message in APIM

2017-09-26 Thread Rajkumar Rajaratnam
Can you attach your modified auth_failure_handler.xml? On Tue, Sep 26, 2017 at 10:17 AM, Rajkumar Rajaratnam wrote: > See this document [1]. You will have to customize auth_failure_handler.xml > sequence. > > [1]

Re: [Dev] Custom authentication error message in APIM

2017-09-26 Thread Rajkumar Rajaratnam
See this document [1]. You will have to customize auth_failure_handler.xml sequence. [1] https://docs.wso2.com/display/AM210/Error+Handling#ErrorHandling-Customerrormessages On Tue, Sep 26, 2017 at 8:14 AM, vivekkumar wrote: > I would like to send custom error

[Dev] APIM-2.1.0 retrieve app name from access token or client id

2017-09-26 Thread 김대경
Hi I want to know applocation name from access token. I can get client_id(consumerKey) using '/oauth2/introspect' api. But I want to know application name. How can I retrieve this information? I think 'Application name' is not secret value. thank you.

[Dev] Custom authentication error message in APIM

2017-09-26 Thread vivekkumar
I would like to send custom error message for any authentication related issue. Currently APIM is sending default error message that is following { "fault": { "code": 900901, "message": "Invalid Credentials", "description": "Access failure for API: //v1, version:

Re: [Dev] Fwd: Call Third party web service and Enriching the original message

2017-09-26 Thread Sudharma Subasinghe
Hi Vivek, You can use Iterate mediator with Aggregate mediator for your scenario as in [1]. I have tried it with following synapse config in ESB.