Skip to content

Tag: multithreading

How to use blocking queue in Spring Boot?

I am trying to use BlockingQueue inside Spring Boot. My design was like this: user submit request via a controller and controller in turn puts some objects onto a blocking queue. After that the consumer should be able to take the objects and process further. I have used Asnyc, ThreadPool and EventListener. Ho…