Author |
Message
|
suneel |
Posted: Thu Nov 15, 2012 6:12 am Post subject: Difference between using Alias queue and Cluster queue |
|
|
Voyager
Joined: 06 Nov 2009 Posts: 89
|
Hi ,
May i know is there any difference between using alias queue and cluster queue. I am aware that If i post messages on alias queue it will go to target queue which is cluster queue but i would like to know if there is any difference while posting the messages on cluster queue instead of alias queue
Thanks |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Nov 15, 2012 6:20 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
The only type of queue that can hold a message is a QLocal. A QAlias definition is just another name for a queue.
A queue may be known to a cluster. _________________ 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 |
|
 |
suneel |
Posted: Thu Nov 15, 2012 6:21 am Post subject: |
|
|
Voyager
Joined: 06 Nov 2009 Posts: 89
|
Why i have this doubt is I got an issue while posting the messages on cluster queue it is working fine but while posting on alias queue we are getting 2189 error |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Nov 15, 2012 6:39 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
So the only address that any message has is either a {Topic} or {Queue,QueueManager}.
When you send a message to a QAlias, it will replace the "Queue" part of the address with whatever is pointed to by the alias.
So it says that your QALIAS doesn't properly point to a queue that can be resolved by name in the cluster. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Nov 15, 2012 6:40 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
suneel wrote: |
Why i have this doubt is I got an issue while posting the messages on cluster queue it is working fine but while posting on alias queue we are getting 2189 error |
So the configuration of your alias doesn't allow proper resolution for some reason. If you want it to, you should diagnose, troubleshoot and resolve. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
suneel |
Posted: Thu Nov 15, 2012 6:48 am Post subject: |
|
|
Voyager
Joined: 06 Nov 2009 Posts: 89
|
what does it mean properly not configured
Quote: |
QALIAS doesn't properly point to a queue that can be resolved by name in the cluster. |
i have simply added target queue and given cluster queue
[/quote] |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Nov 15, 2012 6:49 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
For a successful mqopen of an alias definition, the alias must have a valid TARGET attribute value. Post your QAlias definition here. _________________ 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 |
|
 |
suneel |
Posted: Thu Nov 15, 2012 6:51 am Post subject: |
|
|
Voyager
Joined: 06 Nov 2009 Posts: 89
|
AMQ8409: Display Queue details.
QUEUE(SV.AL.RSB.SX_RSBP_TO_GAF_T3_REQ.01)
TYPE(QALIAS) ALTDATE(2012-02-07)
ALTTIME(11.25.2
TARGET(SV.CL.GAFRSSV1.EMB.SX_RSBP_TO_GAF_MA_REQ.01)
CLUSNL( ) CLUSTER( )
CLWLPRTY(0) CLWLRANK(0)
DEFBIND(NOTFIXED) DEFPRTY(0)
DEFPSIST(YES) DEFPRESP(SYNC)
DEFREADA(NO) DESCR(MQ05504: Alias Queue)
GET(ENABLED) PUT(ENABLED)
PROPCTL(COMPAT) SCOPE(QMGR)
TARGTYPE(QUEUE) |
|
Back to top |
|
 |
Vitor |
Posted: Thu Nov 15, 2012 7:18 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
suneel wrote: |
AMQ8409: Display Queue details.
QUEUE(SV.AL.RSB.SX_RSBP_TO_GAF_T3_REQ.01)
TYPE(QALIAS) ALTDATE(2012-02-07)
ALTTIME(11.25.2
TARGET(SV.CL.GAFRSSV1.EMB.SX_RSBP_TO_GAF_MA_REQ.01)
CLUSNL( ) CLUSTER( )
CLWLPRTY(0) CLWLRANK(0)
DEFBIND(NOTFIXED) DEFPRTY(0)
DEFPSIST(YES) DEFPRESP(SYNC)
DEFREADA(NO) DESCR(MQ05504: Alias Queue)
GET(ENABLED) PUT(ENABLED)
PROPCTL(COMPAT) SCOPE(QMGR)
TARGTYPE(QUEUE) |
This alias is deliberately not part of the cluster? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
suneel |
Posted: Thu Nov 15, 2012 7:44 am Post subject: |
|
|
Voyager
Joined: 06 Nov 2009 Posts: 89
|
I think Alias queue doesn't need to be in cluster.. Target queue can be in cluster |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Nov 15, 2012 7:48 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
suneel wrote: |
I think Alias queue doesn't need to be in cluster.. Target queue can be in cluster |
If the alias is not part of the cluster, then it can only be used by apps on the qmgr where the alias is defined. _________________ 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 |
|
 |
suneel |
Posted: Thu Nov 15, 2012 7:50 am Post subject: |
|
|
Voyager
Joined: 06 Nov 2009 Posts: 89
|
This alias queue is being used by application and to push messages (to check ) manually from system also by using amqsput
Application is getting 2189 error while posting message |
|
Back to top |
|
 |
Vitor |
Posted: Thu Nov 15, 2012 7:54 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
suneel wrote: |
I think Alias queue doesn't need to be in cluster.. Target queue can be in cluster |
You're welcome to think what you want.
Alarmingly the queue manager seems to disagree with you & is trying to resolve the name through the cluster, failing, and throwing a 2189 error.
One of you needs to be corrected. This may well be the queue manager.
You also interestingly said "application is getting 2189". If that's the case, but amqsput does not, that is a further clue on who's mistaken in this & potentially exonerates both you and the queue manager. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
suneel |
Posted: Thu Nov 15, 2012 8:45 am Post subject: |
|
|
Voyager
Joined: 06 Nov 2009 Posts: 89
|
So what i need to check in this case from MQ server side |
|
Back to top |
|
 |
Vitor |
Posted: Thu Nov 15, 2012 9:28 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
suneel wrote: |
So what i need to check in this case from MQ server side |
- your topology
- your assertion that the alias doesn't need to be in the cluster
- if the application gets a 2189 but amqsput does not _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|