|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Open Input Count = 0 while application is consuming |
« View previous topic :: View next topic » |
Author |
Message
|
pakuma3 |
Posted: Tue Oct 22, 2019 9:56 am Post subject: Open Input Count = 0 while application is consuming |
|
|
Newbie
Joined: 27 Feb 2015 Posts: 9
|
Hi guys, This is not a problem itself, but I would like to know why this happens, maybe this has happened to any of you.
Some consumer applications (I dont have access to them or their code ) dont increase the Open Input Count value in the queues when they connect. I tried setting MONQ(HIGH) also checking the queue status as TYPE(HANDLE) but they dont show up, even while they are actively consuming.
I was wondering if there is any type of call in the application programming that might cause this behavior.
Again, this is nitpicking a minor issue but I would like to figure out why.
Thanks in advance. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Oct 22, 2019 4:10 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
They open the queue, get the message and close the queue. That happens so fast that you just haven't been lucky enough to issue your command to display open input count at the exact milliseconds they OpenThenGetThenClose.
No, there is no way to get a message from a queue that is not open for gets. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Oct 22, 2019 5:27 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
As Mr. Potkay suggests, likely, the entire sequence of connect, open, get/put, close, disconnect, took a few microseconds.
For your amusement, you could run an mq trace on the app to see this interesting behavior. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Wed Oct 23, 2019 12:53 am Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
You could switch statistics and accounting on for this queue. _________________ Regards
Hubert |
|
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
|
|
|
|