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 » Can QM be specified in a DestinationList

Post new topic  Reply to topic
 Can QM be specified in a DestinationList « View previous topic :: View next topic » 
Author Message
klingelb
PostPosted: Wed Dec 11, 2002 4:30 am    Post subject: Can QM be specified in a DestinationList Reply with quote

Apprentice

Joined: 25 Sep 2002
Posts: 28

OutputLocalEnvironment.Destination.MQDestinationList.DestinationData.?

Can a QM name be specified under DestinationData?
Back to top
View user's profile Send private message
kirani
PostPosted: Wed Dec 11, 2002 8:21 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Yes!

For Example,
Code:

SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueManagerName = 'QM1'
SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueName = 'Queue1'

_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
AlexeiSkate
PostPosted: Mon Dec 16, 2002 1:17 pm    Post subject: Reply with quote

Centurion

Joined: 10 Apr 2002
Posts: 123

Hi,

I'm just curious as to when you would want to specify the QMngr name in the destination list. Can you route the message to the QMngr and not to a queue itself ?
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Dec 16, 2002 8:58 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Hi Alex,

Let's say your broker queue manager name is QM1 and you want to send a message to queue Q1 on another queue manager (QM2).

Now, you have 2 options to do this,
1. Define a remote queue RQ1 on queue manager QM1, which maps to local queue Q1 on QM2 qmgr.
2. Specify queue manager name and queue name in your message flow (either using MQOutput node or using DestinationList).

In either case you need to have channels defined between these two queue managers (QM1 and QM2). If using option 2, broker will put message directly on the Transmission queue (QM2) of queue manager QM1 with transmission header, which will be then transmitted to queue Q1 on queue manager QM2.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Can QM be specified in a DestinationList
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.