posted 18 years ago
It sounds like your transactions are timing out. That will cause the message ack to fail, and hence the message is supposed to be redelivered because a failed ack means you haven't processed it yet.
If I'm correct about the transaction time-out, one solution is to find some way of dividing up the work into smaller pieces before sending the message. If that isn't an option (e.g. you have a customer who sends you the messages and you can't choose to change the format), you can receive the message data, divide into pieces, persist the pieces, and send JMS messages to another bean to process the smaller hunks into email.
[ February 13, 2006: Message edited by: Reid M. Pinchback ]
Reid - SCJP2 (April 2002)