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 » Configuring MQ for COAs

Post new topic  Reply to topic
 Configuring MQ for COAs « View previous topic :: View next topic » 
Author Message
thebeach
PostPosted: Thu Sep 29, 2005 8:41 am    Post subject: Configuring MQ for COAs Reply with quote

Apprentice

Joined: 30 Mar 2004
Posts: 47

Hi all,

I need some help on COAs!

If I send a message from QM1 to QM2, does QM2 need a QM alias and sender channel for the COA to flow back to QM1?
Or is the COA handled by the MCAs, thus no QM2>QM1 channel is required?

What if there is an intermediate QM between the sender and receiver?

Are there any example setups in the manuals, I've had a search, to no avail.


Thanks in advance!
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Sep 29, 2005 8:47 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

You need a normal "path" (ie, xmitq, channels) from the point where the COA is generated back to the "replytoQ" qmgr.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
EddieA
PostPosted: Thu Sep 29, 2005 11:30 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
Are there any example setups in the manuals, I've had a search, to no avail

Assume that the QM sending the COA is a "normal" MQ application that PUTs a message using both a QM and Queue. The Intercommunication manual will explain how this works.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
thebeach
PostPosted: Thu Oct 06, 2005 9:13 am    Post subject: Reply with quote

Apprentice

Joined: 30 Mar 2004
Posts: 47

Thanks! However...

A message arrives on QM1 from QM2. I need a COA to return to queue Q-COA on QM2, so I need a path (xmit and channel) back to QM2.

If I create an xmit queue on QM1(name of QM2) and channel dedicated for the COA I'm sure this will work.

But can I send it down an existing SDR channel to QM2, which has an unrelated xmitq name, eg XX?
I've tried this, but get a 2087 message(unknown remote QM) on QM1.
Do I need to have an alias on QM1? ie def qr(QM2) xmitq(XX) ??


Thanks in advance all.
Back to top
View user's profile Send private message
hopsala
PostPosted: Thu Oct 06, 2005 9:35 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

thebeach wrote:
But can I send it down an existing SDR channel to QM2, which has an unrelated xmitq name, eg XX?
I've tried this, but get a 2087 message(unknown remote QM) on QM1.
Do I need to have an alias on QM1? ie def qr(QM2) xmitq(XX) ??

Of course you can send it in the same channel, all traffic between QMs can go through the same chl pair - a report is a normal MQ message, MQMD and all, and channels don't really care what the content is. Reports are generated by channels, and channels are regular MQI programs - when they see a report flag, they generate the report message and put it to ReplyToQ, and if filled - to ReplyToQmgr.

Concerning the 2087, it all depends in the sending application (the one that marked the COA flag) and in definitions on your remote qm (QM1). If you had filled out RemoteQmgrName=QM2 in the sending application or some QREMOTE definition (which it seems you did), then normal rules apply: Either have a QM alias, or have an XMITQ in the name of the remote qm. In your case, if you use XX you must have a QM alias.
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Oct 06, 2005 10:11 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
and if filled - to ReplyToQmgr

Actually, I think it's impossible not to have a ReplyToQmgr. (But willing to be proved wrong ). If you specify one, then that's it. If you don't fill in a value, then MQ fills it in for you on the PUT.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
hopsala
PostPosted: Thu Oct 06, 2005 11:07 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

Yea, you're right, it is indeed filled out automatically, but I know certain programmer tend to set it to an empty string - what I meant is that he should check with the sending application how treat this field....
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Oct 06, 2005 12:29 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

thebeach wrote:
But can I send it down an existing SDR channel to QM2, which has an unrelated xmitq name, eg XX?
I've tried this, but get a 2087 message(unknown remote QM) on QM1.
Do I need to have an alias on QM1? ie def qr(QM2) xmitq(XX) ??

Yes.

Any message looking for QM2 will catch your Qm Alias and go to XMITQ XX, which feeds the channel you want. This is how we do ALL our XMITQs.

QM1.XMITQ is the actualy XMITQ.
Then we create a QM1 QM Alias that feeds it. In this fashion, we can easily reroute all traffic looking for QM1 to QM1a if we want to.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
thebeach
PostPosted: Fri Oct 07, 2005 6:26 am    Post subject: Reply with quote

Apprentice

Joined: 30 Mar 2004
Posts: 47

Thanks guys. Sorted!
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 » Configuring MQ for COAs
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.