Showing posts with label Synapse. Show all posts
Showing posts with label Synapse. Show all posts

Tuesday, January 26, 2016

Fail safe Mode in WSO2 ESB / WSO2 API manger

By default WSO2 ESB/APIM servers will start in fail Safe mode by ignoring the failure of artifacts. Server will rename the failed artifact with .back file and move forward with rest of the artifacts. However there are situation where you do not want to deploy the server even a single artifact fails, This is typical situation in micro services concept. 


By disabling the fail safe mode in WSO2 ESB/APIM, it is possible not to deploy all the services even a single artifacts get fails during the deployment.


Add failsafe.mode.enable=false in WSO2_HOME/repository/conf/synapse.properties

Thursday, September 17, 2015

Recursively get the property value in synapse

There are certain situation that you may know only the one property name but there might be some other property



Thursday, April 23, 2015

WSO2 ESB send same request to different Rest services

In this scenario I need to send a post request to two different REST services, I am using REST API configuration of WSO2 ESB First I need to post a request to first service and based on successful posting then need to post this same original request to another service and also But I need to obtain the response from first service and send it to client.However I do not need to obtain the response from second service.

I have illustrate this scenario in the simple flow diagram.



Relevant Synapse configuration.