|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Query |
« View previous topic :: View next topic » |
Author |
Message
|
udayarveti |
Posted: Wed Oct 12, 2011 2:05 pm Post subject: MQ Query |
|
|
Novice
Joined: 08 Jul 2011 Posts: 15
|
Hi ,
I am having an issue with one of the replace commands for alias queue definitions...
Recently I tried to replace an alias queues base queue name with a new queue name but I was getting an error saying queue is already in use...
To brief U about the issue:
Existing queue definition : Alias Queue name : X
Base queue name : Y
A message flow was listening to this alias queue X .....
So I tried to change the base queue of X from Y to Z but when I tried to replace it, it is giving me an error saying "MQ Object is already in use"...
And same base queue is being used by some other alias queue as well which is listened by other message flow...
So I am not able to change the base queue of alias....
Could anyone of you please let me know what is the exact issue in here ??? |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Oct 12, 2011 2:47 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
The issue is exactly as described in your post - the object (the qalias) is currently in use by some application(s).
Briefly stop the application(s) using the QAlias definition, ALTER the TARGQ attribute, then re-start the application. _________________ 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 |
|
 |
udayarveti |
Posted: Thu Oct 13, 2011 1:55 pm Post subject: |
|
|
Novice
Joined: 08 Jul 2011 Posts: 15
|
Thanks Mr.Bruce......
Without the way you have suggested is there any other way to do it?? |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Oct 13, 2011 2:00 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
You might want to try with the WMQ Explorer. I seem to recall that it gives a warning about currently running applications. _________________ 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 |
|
 |
PeterPotkay |
Posted: Thu Oct 13, 2011 4:48 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
udayarveti wrote: |
Thanks Mr.Bruce......
Without the way you have suggested is there any other way to do it?? |
Use the FORCE option on the ALTER command when changing the Alias queue.
Then hope the application is well written enough to re open the queue automatically the next time it uses it and gets an "Object Changed" MQ Reason Code. Or you can just restart the app to force it to reopen the queue after you changed it. _________________ Peter Potkay
Keep Calm and MQ On |
|
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
|
|
|
|