Hi fellow ranchers, My java application reads messages from a input queue 'A' and sends it to output Queue 'B'.We run our application using autosys job. At some point in time,the process shows that application is in RU(running) status,however it does not really process the messages.,Messages get piled up in the input Queue A.The log file does not get updated.environment is solaris environment.
Can some one please shed some light on this.I have tried debugging this in my development IDE,but messages get processed properly.
appreciate your help
proud Fan of European Champion CHELSEA FC
"If you don't see the bug where you're looking, perhaps you're looking in the wrong place" -James Gosling
How does your java Application reads (Consumes) the Messages? Is it through MDB? Also How are you sending messages to Queue B? And who consumes the Messages from Queue B?
I am asking these questions because we had a similar problem in our application once. The Queue B didn't had a reciever and it was so full that the MDB which was trying to send the Message to Queue B was stuck and all the MDBs and Threads listening to Queue A where exhausted.
We send the messages using the MessageProducer class using the send method ;
i tried sending 500 messages in my eclipse IDE,none of the messages were stuck,all of them just processed smoothly.
regards vinny m [ July 05, 2007: Message edited by: Vinny Menon ]
Amit M Tank
Joined: Mar 28, 2004
If this receive is done within a transaction, the consumer retains the message until the transaction commits. Also when you use the recieve method it blocks the queue. Why don't you try to use Asyn Consumption? Did you try to take a Thread Dump of the JVM and check what processing is being done?