Very occasionally calls to QueueSender.send will hang and appear to go into an infinite loop.
I've got 20-30 systems scattered around, all processing/generating several thousands of messages a day 24*7 and this will occur maybe once every 3 or four months.
Has anybody else seen this?
I've not got around to enabling TRACE level debugging on JBossMQ yet, that's my next step but I need to get permission to do the config change and obviously I may need to run with this for some months before the issue recurs.
I'm running jboss 4.0.1, JBossMQ is configured with jdbc persistence to oracle.
Easiest to find runtime issues is to generate a stack trace during a pause.
What is your persistence strategy and DB? Could be that this is hanging.