ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS behaviour and MQGMO_WAIT

Post new topic  Reply to topic
 JMS behaviour and MQGMO_WAIT « View previous topic :: View next topic » 
Author Message
zpat
PostPosted: Fri Jan 27, 2012 12:41 pm    Post subject: JMS behaviour and MQGMO_WAIT Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

We have a JMS client application that is apparently making a very large number of MQGETs, hundreds a second, on an empty queue.

MQ accounting information would appear to confirm this MQGET volume.

It's supposed to have a 10 second wait limit - which I assume is programmed in JMS as receive(10000). We don't have the source code.

I've run an API trace with MA0W and I can see a lot of MQCB calls but not as many MQGETs as I expected.

When/how does JMS (on version WMQ 7013) use MQCB as opposed to using MQGET with MQGMO_WAIT?

The client is Linux, the QM is AIX (both 7013).
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jan 27, 2012 7:02 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Can you get hold of the code snippets?

One grave suspicion comes to mind: are we dealing with an MDB and they significantly changed (reduced) the polling interval?

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Fri Jan 27, 2012 10:24 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

No, it's a stand-alone application, not using WAS or any transaction server

I will probably have to raise a PMR to get more guidance on this issue.

Shame there isn't some sort of "pacing" option on channel definitions to limit how many MQI calls are accepted per second.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Jan 28, 2012 1:58 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

zpat wrote:
No, it's a stand-alone application, not using WAS or any transaction server

I will probably have to raise a PMR to get more guidance on this issue.

Shame there isn't some sort of "pacing" option on channel definitions to limit how many MQI calls are accepted per second.


Even on a stand alone application you can use a message listener. I believe the polling interval is set at the connection factory level...

You might want to check the values involved.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS behaviour and MQGMO_WAIT
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.