In my project I use 9 (nine) int-ip:udp-inbound-channel-adapter's and one jms:inbound-channel-adapter. Jms adapters receives messages from server. Everything worked fine, but when i added another (10th) int-ip:udp-inbound-channel-adapter jms stopped received any messages. When i removed randomly one of udp-adapters jms arrived. I use openMq. There is no errors or exceptions. Whats wrong?
Thanks
The default taskScheduler bean has a pool of 10 threads. Each UDP adapter uses one of these threads to receive packets.
Simply define an explicit scheduler with that name with a larger pool size
<task:scheduler id="taskScheduler" pool-size="20"/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With