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 » Queue Manager Name in MQOutput Node

Post new topic  Reply to topic
 Queue Manager Name in MQOutput Node « View previous topic :: View next topic » 
Author Message
chenna.hari
PostPosted: Thu May 30, 2013 3:37 am    Post subject: Queue Manager Name in MQOutput Node Reply with quote

Centurion

Joined: 21 Mar 2009
Posts: 103

can any one tell in which cases, we will give the queue manager name in MQOutput node.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 30, 2013 8:56 am    Post subject: Re: Queue Manager Name in MQOutput Node Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

chenna.hari wrote:
can any one tell in which cases, we will give the queue manager name in MQOutput node.


When you're required to by the WMQ topology you've created at your site. This may be never, this may be most of the time.

It's used in exactly the same cases you'd specifiy a queue manager name in any WMQ-aware application. Seriously. Think of it as doing a PUT1 call.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
zpat
PostPosted: Thu May 30, 2013 9:12 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Leave it blank. Otherwise you are making your flows non-portable.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 30, 2013 9:14 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

zpat wrote:
Leave it blank. Otherwise you are making your flows non-portable.


Assuming the queue manager name quoted is a) not promoted as a flow property to be changed to the environmentally correct value at deploy time and b) the queue manager name quoted is not an alias common to all environments.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu May 30, 2013 9:50 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.

I can honestly say that in my more than 10 years of using broker, I have never used this property.
If I'm using multiple queue managers and I'm outputting messages that are being writtten to a Remote Queue, I do all the configuration in the Queue Manager.

This way, I can use Alias Queues that point to Local Queues in my Dev environment and then without making changes (or even promoting the property) I can deploy the same flow into other enviroments that use a Remote Queue of the same name.

If you plan your environment(s) carefully, you can save yourself a lot of grief later on.
_________________
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
Vitor
PostPosted: Thu May 30, 2013 9:57 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

smdavies99 wrote:
I can honestly say that in my more than 10 years of using broker, I have never used this property.
If I'm using multiple queue managers and I'm outputting messages that are being writtten to a Remote Queue, I do all the configuration in the Queue Manager.


I can't say I use it a lot.

smdavies99 wrote:
This way, I can use Alias Queues that point to Local Queues in my Dev environment and then without making changes (or even promoting the property) I can deploy the same flow into other enviroments that use a Remote Queue of the same name.


It's a very enlightened view and one I mostly share. But not all sites are that enlightened. I was simply pointing out alternatives.

smdavies99 wrote:
If you plan your environment(s) carefully, you can save yourself a lot of grief later on.


Again, very correct and very enlightened. But many sites perfer short term solutions to long term planning and accept the grief as a cost of doing business.

That's why so many of us are stuck using bar file overrides.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kash3338
PostPosted: Thu May 30, 2013 8:38 pm    Post subject: Re: Queue Manager Name in MQOutput Node Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

chenna.hari wrote:
can any one tell in which cases, we will give the queue manager name in MQOutput node.


In cases where you need to send messages to a remote queue (queue in a different Queue Manager and not Broker default Queue Manager), you can specify the Queue Name and the Queue Manager name. But you need to have the following set-up in your Broker Default Queue Manager,

1. Have a Sender Channel in Broker Default QM to the Remote QM
2. Have a Receiver Channel at Remote QM for receiving messages from Broker Default QM.
3. Have a Transmission Queue in place for the Sender Channel
4. Have a Listener in place for the Receiver Channel

The same set-up is required in case of having a Remote Queue instead. With Remote Queue you have a flexibility of having a Alias Queue and thus using it in your flow makes it more simple than actually having the QM-Name mentioned.

It is indeed a pain to use this option when compared to having remote queue's in place. As mentioned by zpat, this option is usable, but not portable.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Queue Manager Name in MQOutput Node
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.