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 IndexWebSphere Message Broker (ACE) SupportPromoted Property and User Defined Property

Post new topicReply to topic
Promoted Property and User Defined Property View previous topic :: View next topic
Author Message
vijsam
PostPosted: Tue Oct 18, 2011 5:11 am Post subject: Promoted Property and User Defined Property Reply with quote

Apprentice

Joined: 01 Jun 2011
Posts: 46

Hi All,
Iam confused about the concept of Promoted Property and User Defined Property?
The userDefined properties are only be promoted to the flow level?
What is the purpose of Promoted Properties?
If there are any differences Please share us your knowledge.


Thanks in Advance.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Oct 18, 2011 6:18 am Post subject: Re: Promoted Property and User Defined Property Reply with quote

Grand High Poobah

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

vijsam wrote:
Iam confused about the concept of Promoted Property and User Defined Property?


Yes you are.

vijsam wrote:
The userDefined properties are only be promoted to the flow level?


They can be promoted to any level the documentation says they can be.

vijsam wrote:
What is the purpose of Promoted Properties?


To alter node properties globally at a flow level.

vijsam wrote:
If there are any differences Please share us your knowledge.


The key difference is that UDPs can't alter the behaviour of inbuilt nodes.


Thanks in Advance.[/quote]
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
vijsam
PostPosted: Wed Oct 19, 2011 12:31 am Post subject: Reply with quote

Apprentice

Joined: 01 Jun 2011
Posts: 46

Hi Thank you Vitor for the response,
Even in UDP we can alter the configuration parameters at deployment time using Configuration manager proxy right?


Quote:
To alter node properties globally at a flow level.
-->Even We can alter node properties using UDP right?

Quote:
UDPs can't alter the behavior of inbuilt nodes.???Can you please elaborate
Correct me if Iam wrong...


Thanks in Advance....
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 19, 2011 4:53 am Post subject: Reply with quote

Grand High Poobah

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

vijsam wrote:
Even in UDP we can alter the configuration parameters at deployment time using Configuration manager proxy right?


It would decrease the usefulness of UDP if you couldn't change them at deploy time.


vijsam wrote:
Even We can alter node properties using UDP right?


If you mean "do properties promted to flow level show on the Toolkit's UDP tab" then yes. Otherwise no.

vijsam wrote:
Can you please elaborate


You can't (for instance) use a UDP to change the queue a MQInput node reads from.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
vijsam
PostPosted: Wed Oct 19, 2011 5:45 am Post subject: Reply with quote

Apprentice

Joined: 01 Jun 2011
Posts: 46

Quote:
use a UDP to change the queue a MQInput node reads from.


Using UDP we can change configuration values like Data source names and queue names,but using Promoted properties what are the things we can set?
Ie by which way is Promoted Properties differ from User Defined properties?

Please clarify....
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Oct 19, 2011 5:52 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

vijsam wrote:
Quote:
use a UDP to change the queue a MQInput node reads from.


Using UDP we can change configuration values like Data source names and queue names

No.

That's backwards.

You can change those things using promoted properties.

If those properties are configurable.

You are fundamentally confused by what things have which type of Properties.

Built-in nodes DO NOT HAVE user defined properties.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 19, 2011 6:06 am Post subject: Reply with quote

Grand High Poobah

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

vijsam wrote:
Using UDP we can change configuration values like Data source names and queue names,but using Promoted properties what are the things we can set?


No you cannot!

As I indicated above, the promoted properties appear on the UDP tab of the Toolkit view. This does not make them UDPs any more than my Ford being parked in front of a Toyota dealership makes it a Toyota.

Promoted properties are properties of nodes, like data source name & queue name. User defined properties are variables you define for reasons of your own.

I don't see how I can "clarify" further.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
vijsam
PostPosted: Mon Oct 24, 2011 10:49 pm Post subject: Reply with quote

Apprentice

Joined: 01 Jun 2011
Posts: 46

Thank you Vitor and Jeff,

Quote:
UDP are available only on flow level. Subflows can't access the UDP defined in main flows. If you want the UDP to be accessed in mainflow, create the UDP in subflow and promote it to main flow. In this way, you'll be able to set UDP from main flow and access it in subflow.

from the link:.
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14690201


Is the information provided in the above link is correct?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Oct 25, 2011 4:29 am Post subject: Reply with quote

Grand High Poobah

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

vijsam wrote:
Is the information provided in the above link is correct?


What happens when you try it?

Indeed, what does the documentation say about the scope of a UDP? How does that map the scope of a subflow within a main flow?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
MrSmith
PostPosted: Tue Oct 25, 2011 7:07 am Post subject: Reply with quote

Master

Joined: 20 Mar 2008
Posts: 215

Vitor
Quote:
This does not make them UDPs any more than my Ford being parked in front of a Toyota dealership makes it a Toyota.


Unless of course your Ford had a Toyota engine in it and a Toyota badge on a Ford body, in which case it would have a indentity crisis as it wouldn't know if it was a Toyord or Fota
_________________
-------- *
“Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.”
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Oct 25, 2011 7:27 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Apparently my BMW is made in Oxford, so I think automotive identity crises aren't that far-fetched.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Oct 25, 2011 7:35 am Post subject: Reply with quote

Grand High Poobah

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

MrSmith wrote:
Vitor
Quote:
This does not make them UDPs any more than my Ford being parked in front of a Toyota dealership makes it a Toyota.


Unless of course your Ford had a Toyota engine in it and a Toyota badge on a Ford body, in which case it would have a indentity crisis as it wouldn't know if it was a Toyord or Fota


In which event it would be parked in front of the Ford dealership while I beat the salesman with a trout until he told me what the complementary coffee had been spiked with during the sales process.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker (ACE) SupportPromoted Property and User Defined Property
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.