This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Websphere and the fly likes Delay in picking messages from Queue by MDB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Delay in picking messages from Queue by MDB" Watch "Delay in picking messages from Queue by MDB" New topic
Author

Delay in picking messages from Queue by MDB

Mohsin Kayal
Greenhorn

Joined: Oct 22, 2005
Posts: 23
Dear All,

I have developed an Enterprise Application (with the products :IBM WAS 5.1.1.8, Oracle 9i, IBM Websphere MQ 5.3) that contains MDB which picks request messages from the local queue and call a SLSB which sends the same to a cluster queue to get response. The SLSB will wait to get the response upto a certain seconds. Once the response is received the SLSB puts same into another local queue for Processing. Another MDB will pick the message from this response queue and process it in my local database. I use IBM's API to get the response from the cluster queue and to put the response into my local response queue. Everything goes fine upto this stage. But sometime the MDB which i assigned for the response queue gets delayed to pick the message by upto 1 minute. But when i check the queue, it contains the response messages. I think it may be because of resource problem. I set the max connection to 100 and min connection to 20 in connection pool for its queue connection factory.But still i am facing the same problem. Pls. let me know the things that i need to do inorder to come out from this issue.

I assigned the following values for the listener which picks the response message from the response local queue:

Maximum sessions : 5
Maximum retries : 2
Maximum messages : 1

[ November 05, 2006: Message edited by: Mohsin Kayal ]
[ November 08, 2006: Message edited by: Mohsin Kayal ]
Mohsin Kayal
Greenhorn

Joined: Oct 22, 2005
Posts: 23
NO REPLY FROM ANYONE. I KILLED THIS ISSUE SUCCESSFULLY BY READING SOME GOOD ARTICLES.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41079
    
  43
Please don't shout at us in all-uppercase letters; that's considered impolite all over the 'net.

Would you mind sharing the URLs of the articles that you found helpful, so that others have a chance to learn, too? (That may also enable people to answer this question the next time it comes up. :cool )


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Delay in picking messages from Queue by MDB
 
Similar Threads
How to publish Messages in User Defined Queue Instead of Stream Queue
MDB-SLSB in Component Diagrams
MDB starts before Queue send is commited
JMS Load Balancing In Websphere V7.0
Urgent... IBM WAS 5.1 MDB Listener?????