Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
About Default Message Listener Container [SPR-16464] #21009
We created spring boot JMS application which listen MQ and process received message.when Message processing we have third party API call which does not support the asynchronous call API call.
When we push multiple messages in MQ that number of thread will create in our spring boot JMS application. all thread will work asynchronously when all thread reach to third party API call then it will wait still previous thread finish his work.
But third party API call will take more time because of that some JMS thread will expire or dead without throwing any exception.
Let we know which way we will keep alive messaging thread for long time or provide any alternative solution.
No further details from SPR-16464
Juergen Hoeller commented
This is not a core framework issue, rather an architectural question. Please don't create such issues on JIRA here, in particular not as bugs with "blocker" level. You will be better off asking such a question on StackOverflow or a similar discussion forum.
Note that with such asynchronous spin-offs in the listener endpoints, incoming messages will be acknowledged immediately. You might be better off with a regular setup, an appropriate concurrency level and correspondingly long timeouts for the JMS receive threads.