multithreading - Mule ESB, Synchronize custom java class within flow -


i wrote custom java class, special http connector in flow request-response mule-http connector.

enter image description here

but if there many requests calls flow, illegalstateexception occured.

as far know data or variables 1 thread copies thread , illegalstate...

how can synchronize data in connector? may forget implement interfaces?

public class myhttpconnector {     ...  } 

i synchronize methods in class , solve problem. assistance.


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -