Env: JBoss 5.1 + HornetQ 2.2.14.Final
I have a long-running process that I was trying to run from my messagelistener onMessage method. I'm getting a timeout error before it completes the process, which is a rather slow process. The original idea was to do a basic validation of data entered, then put a message in the queue to be processed asyncronously (without the user waiting). Assuming this is a timeout issue - how can I increase this timeout?
17:40:25,266 WARNING [ClientConsumerImpl] Executor couldn't finish its operation before timeout : org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor@18e5cef7
17:40:25,268 WARNING [ClientConsumerImpl] Timed out waiting for handler to complete processing
I noticed that line 89 above corresponds to:
Maybe I'm not supposed to close the queue session yet? But this is the PRODUCER, I thought once the message was produced, someone else would handle checking the queue and processing the message?