I possibly need some education so if you can help me that would be welcome.
I’ve sandboxed Spring Integration support for XMPP adapters using Smack: https://fisheye.springframework.org/browse/se-sia/sandbox/org.springframework.in tegration.xmpp. While I was kicking the tires I noticed that Smack created no less than 4 deamon threads from my testcase.
In the testcase I open two connections and send a message from one to the other over a local xmpp server.
My problem is that in most enterprise servers you’re not supposed to start threads at all. I have two questions:
Can I use a container managed thread pool instead?
Why does smack need to start 4 deamon threads?