Author |
Message
|
ethirajesh |
Posted: Wed Dec 08, 2010 2:01 am Post subject: Object not closed |
|
|
Apprentice
Joined: 04 Oct 2010 Posts: 46
|
Hi,
After putting a message manually into a local Queue, the Open input count keeps on showing as '1' for a very long time. What could be the possible reason for this. When I try to put another message it is not put into that queue. I cannot delete the object as the connection is still open.
Regards
Rajesh E |
|
Back to top |
|
 |
Mr Butcher |
Posted: Wed Dec 08, 2010 3:41 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
Quote: |
After putting a message manually into a local Queue, the Open input count keeps on showing as '1' for a very long time. What could be the possible reason for this. |
was the input count 0 before you put? then an application was triggered, opened the queue and processed your message. otherwise the application was already running before you put the message.
the application seems to be designed to stay alive keeping the queue open waiting for more messages.
Quote: |
When I try to put another message it is not put into that queue. |
why not? did you receive an error? what do you expect? queue depth increasing while there is an application waiting for messages to arrive on the queue? i assume, the put went fine (if there was no error) and the message was consumed.
Quote: |
I cannot delete the object as the connection is still open. |
correct.
find out about the application behaviour, how it is coded, how it was started, when it will end. then let us know what you are trying to archieve (not clear to me) and what your problem really is. _________________ Regards, Butcher |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Dec 08, 2010 6:54 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
To further detail Mr. Butcher's points, an Output count greater than zero will not prevent any other messaging application from placing a message in that queue. It is not a "lock", it is merely a counter for MQ Output streams.
Output counts greater than zero WILL prevent you from deleting that queue. But why would you want to delete the queue? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Dec 08, 2010 7:33 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
lancelotlinc wrote: |
Output counts greater than zero WILL prevent you from deleting that queue. But why would you want to delete the queue? |
Perhaps it is a temporary queue?
Perhaps he spelt the name wrong? (twice, one in the sender and once in the 'getter' application) _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Dec 08, 2010 7:43 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Dec 08, 2010 9:30 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
lancelotlinc wrote: |
Would a temp queue automatically be cleaned up by the QMGR once all the counts go to zero?
|
Quote possibly. However I wasn't thinking about them. I was really thinking about all those 'business temporary' queues that you often see littering a Queue Manager. Artifacts left behind from some long discarded project. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
ethirajesh |
Posted: Fri Dec 10, 2010 3:49 am Post subject: Resolved |
|
|
Apprentice
Joined: 04 Oct 2010 Posts: 46
|
Hi Guys,
I found what was the problem, Thanks to MR. Butcher and everyone for making it clear.
1) The openInput Count was zero as The message flow in MB was running and this queue was the Input Queue.
2) The messages put by me was not processed by MB, and by mistake I did not mention the Backout Requeue name for tha Input Queue.
3) Now I created the backout Queue and mentioned it in Backout Requeue property of Input Queue.
Thanks all  |
|
Back to top |
|
 |
|