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 » User-defined property to be used by all flows

Post new topic  Reply to topic
 User-defined property to be used by all flows « View previous topic :: View next topic » 
Author Message
mickey1691
PostPosted: Mon Sep 30, 2013 10:45 pm    Post subject: User-defined property to be used by all flows Reply with quote

Novice

Joined: 04 Jun 2013
Posts: 19

Hi. Is there a way for all message flows to access a user-defined property defined in only one of the flows? Note: All these flows are located in one application.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Oct 01, 2013 3:25 am    Post subject: Re: User-defined property to be used by all flows Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

mickey1691 wrote:
Hi. Is there a way for all message flows to access a user-defined property defined in only one of the flows? Note: All these flows are located in one application.


Yes, why would they not ? Are you asking how ? Did you look in the InfoCentre ? If you attended the training, you would have been taught that the UDP values can be stored in the Environment from a Compute node in the main flow then the Environment can be accessed from any other Compute node in any other part of the flow. Do you remember this ?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Oct 01, 2013 6:32 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I think you didn't read the question, lancelotlinc.

I'm reasonably certain the answer is "yes", but not in the way that the original poster wants.

That is, I'm sure it's possible to define the same UDP on all flows in an application, and promote them all, and set them all to the same value.

But that's not what mickey1691 asked.
Back to top
View user's profile Send private message
dogorsy
PostPosted: Tue Oct 01, 2013 6:46 am    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

maybe I am missing the point here, but in my understanding the answer is a BIG NO. if the UDP is not defined in the message flow, how can you override it ( selectively ) with the bar file overrides?

Last edited by dogorsy on Tue Oct 01, 2013 7:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Oct 01, 2013 7:00 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

mqjeff wrote:
I think you didn't read the question, lancelotlinc.

I'm reasonably certain the answer is "yes", but not in the way that the original poster wants.

That is, I'm sure it's possible to define the same UDP on all flows in an application, and promote them all, and set them all to the same value.

But that's not what mickey1691 asked.



Quote:
Hi. Is there a way for all message flows to access a user-defined property defined in only one of the flows? Note: All these flows are located in one application.


Ok, I made some assumptions here that may not be valid. As an example, in DEV we point web services and datasources to a DEV instance. In QA, we point same to QA instance which is named differently. We set a UDP in the upstream (main) flow to whatever value we want for each. The first Compute node in the main flow reads these UDPs and sets Environment.Variables.etcetc to the proper value for each. That way, we don't have to worry about forgetting to override any and all subflows point to the same DSN or same Web Services resource because they are reading the Environment.Variables tree to get them.

This is what I had thought was the end result the OP wanted. I could have been wrong.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Oct 01, 2013 7:05 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

lancelotlinc wrote:
This is what I had thought was the end result the OP wanted. I could have been wrong.


Yeah, I think that's still the wrong working definition.

It assumes that all uses of the same UDP are actually part of the same logical flow.

Certainly, one could create a flow that did nothing other than read a UDP and stick it into globalCache and then everything else just read that property.

But, again, it achieves the expected end result without doing what was asked about.

As dogorsy says, the correct answer to the question AS IT WAS ASKED is "No, not at all. A flow can't access a UDP that it doesn't know about".

There's a big pile of string, though, and a cat, and a skinning knife and a ruler.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Oct 01, 2013 7:19 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

mqjeff wrote:
There's a big pile of string, though, and a cat, and a skinning knife and a ruler.


Is the cat dead or alive? Shall we -- dare we -- open Pandora's box ?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
dogorsy
PostPosted: Tue Oct 01, 2013 8:29 am    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

lancelotlinc wrote:
mqjeff wrote:
There's a big pile of string, though, and a cat, and a skinning knife and a ruler.


Is the cat dead or alive? Shall we -- dare we -- open Pandora's box ?

yes, exactly, domestic cat or wild cat?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Oct 01, 2013 9:22 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

dogorsy wrote:
lancelotlinc wrote:
mqjeff wrote:
There's a big pile of string, though, and a cat, and a skinning knife and a ruler.


Is the cat dead or alive? Shall we -- dare we -- open Pandora's box ?

yes, exactly, domestic cat or wild cat?


I'm reasonably sure it's heavier than an unladen swallow.
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 » User-defined property to be used by all flows
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.