|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JMS behaviour and MQGMO_WAIT |
« View previous topic :: View next topic » |
Author |
Message
|
zpat |
Posted: Fri Jan 27, 2012 12:41 pm Post subject: JMS behaviour and MQGMO_WAIT |
|
|
 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 |
|
 |
fjb_saper |
Posted: Fri Jan 27, 2012 7:02 pm Post subject: |
|
|
 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 |
|
 |
zpat |
Posted: Fri Jan 27, 2012 10:24 pm Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Sat Jan 28, 2012 1:58 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|