This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

application up but Messages not processed  RSS feed

 
Ranch Hand
Posts: 62
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

cheers
vinnym
 
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Vinny Menon
Ranch Hand
Posts: 62
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amit,
Thanks for the prompt reply.

We read from the input Q using MessageConsumer class using the method ;

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
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Some Tips here
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!