I wrote custom java class, a special http connector in the flow with request-response mule-http connector.
But if there are too many requests calls this flow, an IllegalStateException
occured.
As far as i know the data or variables from one thread copies to another thread and I get an IllegalState...
How can I synchronize data in my connector? May I forget to implement some interfaces?
public class MyHTTPConnector {
...
}
I synchronize all methods in my class and solve the problem. Thanks everyone for assistance.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.