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 » WebSphere Message Broker (ACE) Support » 2 Queue manegers with same name in a cluster

Post new topic  Reply to topic
 2 Queue manegers with same name in a cluster « View previous topic :: View next topic » 
Author Message
vanshul
PostPosted: Sun Mar 07, 2010 11:40 pm    Post subject: 2 Queue manegers with same name in a cluster Reply with quote

Novice

Joined: 06 Jun 2008
Posts: 13

I was asked this quetion in interview yesterday.
Q1. Application accessing flow as exposed in message broker sets ReplyTo Queue in MQMD.

This replyToQ is present on two queue managers wuth same name which are a part of cluster.

So broker will reply to which queue manager?

Q2. When we wrire ESQL for sending a CWF message to a queue, we generally write the ESQL in same sequence as the fields that apprear on CWF message definiton file.
If we write the statements randomly(not in sequence apperaing in message def), what is the option in broker we need to set which automatically outputs the message in sequence.


Can you please help?
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Mar 08, 2010 12:22 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

what were your answers?
_________________
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
View user's profile Send private message
vanshul
PostPosted: Mon Mar 08, 2010 12:56 am    Post subject: Reply with quote

Novice

Joined: 06 Jun 2008
Posts: 13

I think there can not be 2 queue managers with same name in a cluster.

I wanst able to answer the second one.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Mon Mar 08, 2010 1:53 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

Quote:
This replyToQ is present on two queue managers wuth same name which are a part of cluster.


this does not imply, that both queuemanagers have the same name.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Herbert
PostPosted: Mon Mar 08, 2010 3:58 am    Post subject: Re: 2 Queue manegers with same name in a cluster Reply with quote

Centurion

Joined: 05 Dec 2006
Posts: 146
Location: Leersum, The Netherlands

vanshul wrote:
When we wrire ESQL for sending a CWF message to a queue, we generally write the ESQL in same sequence as the fields that apprear on CWF message definiton file.
If we write the statements randomly(not in sequence apperaing in message def), what is the option in broker we need to set which automatically outputs the message in sequence.

Interesting: I'm not aware of a option for controlling this, so I always build the message in exact the same sequence. Just wondering if this is a trick question or a lack in my knowledge.
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Mon Mar 08, 2010 5:12 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

MRM-CWF can reorder elements in the tree as it outputs them. Only MRM-CWF. Not MRM-TDS or any other parser AFAIK.

This tends to be one of those things that gets asked on certification exams, so I'm not actually going to answer the question here.
Back to top
View user's profile Send private message
vanshul
PostPosted: Mon Mar 08, 2010 6:06 am    Post subject: Reply with quote

Novice

Joined: 06 Jun 2008
Posts: 13

MRM-CWF does not reorder the elements in sequence given in message definition file.
Its giving parsing error in case we drop this unordered message on MQOutput.Also the elements parsed correctely are having wrong values.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Mar 08, 2010 6:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There are certain cases where MRM-CWF will use the order of the model to output elements, rather than using the ordre that elements exist in the tree.

Using a Sequence is not one of them.
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 » WebSphere Message Broker (ACE) Support » 2 Queue manegers with same name in a cluster
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.