|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Answers Please.... |
« View previous topic :: View next topic » |
Author |
Message
|
kakkarjatin |
Posted: Mon Oct 03, 2005 9:31 pm Post subject: Answers Please.... |
|
|
Novice
Joined: 25 Aug 2005 Posts: 15
|
Hi All, I found the following query from the forum. I am not convinced with the answers. Request you to please help me..
1. The following shows three scripts for the RUNMQSC utility which define
various queues and channels, and which customise the queue manager.
The three queue managers are running on three machines.
These are:
1 - a Sales Office - queue manager SalesOfficeQM
2 - an Order Processing system - queue manager OrdersQM
3 - an Invoicing system - queue manager InvoiceQM
All three queue managers are interconnected.
The first queue manager runs the Sales Office.
This can send messages to both the Order
Processing system and the Invoicing system.
Sales Office - queue manager SalesOfficeQM
==========================================
ALTER QMGR DEFXMITQ('XmitOrdersQM') DEADQ('SalesOfficeQM.Dead.L.Queue')
DEFINE QLOCAL('SalesOfficeQM.Dead.L.Queue')
DEFINE QALIAS('PriorityOEntry') TARGQ('OnlineOEntry') DEFPRTY(5)
DEFINE QALIAS('BatchOEntry') TARGQ('OrderEntry') DEFPRTY(1)
DEFINE QALIAS('OnlineOEntry') TARGQ('OrderEntry') DEFPRTY(3)
DEFINE QREMOTE('OrderEntry') RNAME('OEntryQ') RQMNAME('OrdersQM') +
XMITQ('XmitOrdersQM')
DEFINE QREMOTE('InvoiceQry') RNAME('IInquiryQ') RQMNAME('InvoiceQM') +
XMITQ('XmitInvoiceQM')
DEFINE QREMOTE('InvoiceUpd') RNAME('IUpdateQ') RQMNAME('InvoiceQM') +
XMITQ('XmitInvoiceQM')
DEFINE QREMOTE('InvoiceQry.Fast') RNAME('IInquiryQ') RQMNAME('InvoiceQM') +
XMITQ('XmitInvoiceQM.Fast')
DEFINE QREMOTE('Invoicing') RNAME() RQMNAME('XmitInvoiceQM')
DEFINE QLOCAL('XmitOrdersQM') USAGE(XMITQ)
DEFINE QLOCAL('XmitInvoiceQM') USAGE(XMITQ)
DEFINE QLOCAL('XmitInvoiceQM.Fast') USAGE(XMITQ)
DEFINE CHANNEL(SOQM.2.ORDQM) CHLTYPE(SDR) XMITQ('XmitOrdersQM')
DEFINE CHANNEL(SOQM1.2.INVQM1) CHLTYPE(SDR) XMITQ('XmitInvoiceQM')
DEFINE CHANNEL(SOQM2.2.INVQM2) CHLTYPE(SDR) XMITQ('XmitInvoiceQM.Fast')
The second queue manager runs the Order Processing system.
This receives messages from the Sales Office and can
send messages to the Invoicing system.
Order Processing System - queue manager OrdersQM
================================================
ALTER QMGR DEFXMITQ('XmitInvoiceQM') DEADQ('OrdersQM.Dead.L.Queue')
DEFINE QLOCAL('OrdersQM.Dead.L.Queue')
DEFINE QLOCAL('OEntryQ')
DEFINE QLOCAL('OInquiryQ')
DEFINE QREMOTE('InvoiceInqQ') RNAME('InvoiceInqQ') +
RQMNAME('InvoiceQM') XMITQ('XmitInvoiceQM')
DEFINE QREMOTE('InvoiceInqQ.Fast') RNAME('IInquiryQ') +
RQMNAME('InvoiceQM') XMITQ('XmitInvoiceQM.Fast')
DEFINE QLOCAL('XmitInvoiceQM') USAGE(XMIT)
DEFINE CHANNEL(SOQM.2.ORDQM) CHLTYPE(RCVR)
DEFINE CHANNEL(ORDQM.2.INVQM) CHLTYPE(SDR) XMITQ('XmitInvoiceQM')
The third queue manager runs on the invoicing system.
This has links from both the Sales Office and the
Order Processing system
Invoicing System - queue manager InvoiceQM
==========================================
ALTER QMGR DEADQ('InvoiceQM.Dead.L.Queue')
DEFINE QLOCAL('InvoiceQM.Dead.L.Queue')
DEFINE QLOCAL('IInquiryQ')
DEFINE QLOCAL('IUpdateQ')
DEFINE CHANNEL(SOQM1.2.INVQM1) CHLTYPE(RCVR)
DEFINE CHANNEL(SOQM2.2.INVQM2) CHLTYPE(RCVR)
DEFINE CHANNEL(ORDQM.2.INVQM) CHLTYPE(RCVR)
An application running in the Sales Office does a PUT1 of a message, setting queue name to 'IInquiryQ' and queue manager name
to 'InvoiceQM'. What is the final destination of the message?
A. queue IInquiryQ on queue manager InvoiceQM
B. queue InvoiceQM.Dead.L.Queue on queue manager InvoiceQM
C. queue OrdersQM.Dead.L.Queue on queue manager OrdersQM
D. The put fails with MQRC_UNKNOWN_XMIT_Q
Back to top
View users profile Send private message
EddieA
grand master
Joined: 28 Jun 2001
Posts: 1746
Location: Los Angeles
PostPosted: Tue Sep 09, 2003 7:03 am Post subject: Reply with quote
I recognise those. They're from the Sample test.
1. C
__________________________________________________________
My Answers
___________________________________________________________
The question has the following definitions
For Queue Manager SalesOfficeQM
ALTER QMGR DEFXMITQ('XmitOrdersQM') DEADQ('SalesOfficeQM.Dead.L.Queue')
and for Queue Manager OrdersQM we have
ALTER QMGR DEFXMITQ('XmitInvoiceQM') DEADQ('OrdersQM.Dead.L.Queue')
As per my understanding the when the message is put from an application connected to SalesOfficeQM, with queue as IInquiryQ and queue manager as 'InvoiceQM' defined in the object descriptor, it looks for a xmitq queue since its not being directly destined for any remote queue. It does not find a xmitq matching the name iof remote queue manager, it chooses the default xmit queue as mentioned above i.e XmitOrdersQM.
The message is then being sent to OrdersQM . The OrdersQM checks that the message is destined for Invoice QM. The xmitq queue with the name InvoiceQM does not exist so the message is again put into the default xmitq i.e XmitInvoiceQM of the OrdersQM and finally the message is sent to InvoiceQM.
So the answer shud be option (A)
Please correct me if I am wrong.
Thanks in advance. _________________ Regards,
Jatin Kakkar
IBM WMQ V5.3 System Administrator Certified
Brainbench Master Certification in WebSphere MQ
Sun Certified Java Programmer
Sun Certified Web Component Developer
IBM Certified AIX Specialist
Java Brainbench Certified |
|
Back to top |
|
 |
sebastianhirt |
Posted: Tue Oct 04, 2005 12:43 am Post subject: |
|
|
Yatiri
Joined: 07 Jun 2004 Posts: 620 Location: Germany
|
|
Back to top |
|
 |
kakkarjatin |
Posted: Tue Oct 04, 2005 12:54 am Post subject: |
|
|
Novice
Joined: 25 Aug 2005 Posts: 15
|
Hi,
I am in full agreement with you but I got this question from the forums and it was answered by few of my mates. I was having a small confusion and that why i raised my concern.
I have full faith on you and request you to please help me in this regard. _________________ Regards,
Jatin Kakkar
IBM WMQ V5.3 System Administrator Certified
Brainbench Master Certification in WebSphere MQ
Sun Certified Java Programmer
Sun Certified Web Component Developer
IBM Certified AIX Specialist
Java Brainbench Certified |
|
Back to top |
|
 |
kevinf2349 |
Posted: Tue Oct 04, 2005 5:08 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Quote: |
I am in full agreement with you but I got this question from the forums and it was answered by few of my mates. I was having a small confusion and that why i raised my concern.
|
Regardless of whether someone answered it or not it is a exam question and therefore should not have been answered.....but just for grins and giggles.....
Tell us....what are your concerns? What do you think is the answer?  |
|
Back to top |
|
 |
Anirud |
Posted: Tue Oct 04, 2005 6:27 am Post subject: |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
kakkarjatin wrote: |
Hi,
I am in full agreement with you but I got this question from the forums and it was answered by few of my mates. I was having a small confusion and that why i raised my concern.
I have full faith on you and request you to please help me in this regard. |
Good Try.  |
|
Back to top |
|
 |
bduncan |
Posted: Tue Oct 04, 2005 9:32 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Sure, you got the question from the forum, but the person who originally posted it got it from the test, and we told him not to bother asking those kind of questions.
Look, if you want our help, you should at least go through the exercise of boiling down the test question into a concept, and describe to us your understanding of that concept and ask if that is the correct interpretation. People will be glad to help in such cases but, and I cannot fathom why people don't get this, we aren't going to just hand out A,B,C,D answers to questions from the test... EVER. _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
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
|
|
|
|