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

c++ - Difference between pre and post decrement in recursive function argument -

php - How can I echo out this array? -

javascript - IE11 incompatibility with jQuery's 'readonly'? -