multithreading - Mule ESB, Synchronize custom java class within flow -
i wrote custom java class, special http connector in flow request-response mule-http connector.
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
Post a Comment