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 » General IBM MQ Support » Problems Altering Queue Aliases

Post new topic  Reply to topic
 Problems Altering Queue Aliases « View previous topic :: View next topic » 
Author Message
sjclark1
PostPosted: Tue Nov 27, 2007 9:48 am    Post subject: Problems Altering Queue Aliases Reply with quote

Apprentice

Joined: 06 Jan 2003
Posts: 35
Location: Scotland

Folks

Another application uses a queue alias and server connection channel to send us messages.

Occasionally we need to change this alias to point to a different local queue. However it is not possible to do this while they are connected to the queue (message says something about the object being in use).

The only way I can alter the alias without getting the other app to take their app down, is to use the FORCE option after I do "alter qa(Qname)".

However at that point the other app still has an handle to the "previous" queue local. The other app then needs to be bounced so it can connect to the new queue.

Any suggestions for how I could change the queue alias and make the whole thing transparent to the other system, i.e. no need for the other app to explicitly reboot / reconnect?? Or is the other app connecting in some funny way?

Thanks in advance for any suggestions.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue Nov 27, 2007 10:42 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

There is no way around this. The app will have to reopen the queue (it does not have to do a full reconnect to the QM though)
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Nov 27, 2007 10:44 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

This is how qaliases work, apps need to close and re-open in order to pick up changes.

It may be useful to have the app code a special signal of some kind (perhaps a special message on the queue) to cause it to do this, without having to restart the whole app.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
sjclark1
PostPosted: Wed Nov 28, 2007 2:27 am    Post subject: Reply with quote

Apprentice

Joined: 06 Jan 2003
Posts: 35
Location: Scotland

Thanks gents.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Problems Altering Queue Aliases
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.