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 » Assigning the value for promoted propertiesin the msg flow

Post new topic  Reply to topic
 Assigning the value for promoted propertiesin the msg flow « View previous topic :: View next topic » 
Author Message
selvaetkt
PostPosted: Tue Jun 25, 2013 1:16 am    Post subject: Assigning the value for promoted propertiesin the msg flow Reply with quote

Novice

Joined: 25 Jun 2013
Posts: 16
Location: chennai

Hi All,

1.I dont know what are the ways we can assign the values for promoted properties in a flow . can you please explain this

2.for example my flow has mqinput->compute->mqoutput node . if the input queue is a promoted property of a flow , how it will get the queue name . from where ?
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Tue Jun 25, 2013 2:23 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.

The Promoted properties are in the 'Basic' tab of the message flow properties.

Try it and see.
_________________
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
madkak
PostPosted: Tue Jun 25, 2013 2:23 am    Post subject: Reply with quote

Newbie

Joined: 11 May 2013
Posts: 4

either you can give this using bar over ride property and manually at bar level.
Back to top
View user's profile Send private message
selvaetkt
PostPosted: Tue Jun 25, 2013 2:56 am    Post subject: either you can give this using bar over ride property and ma Reply with quote

Novice

Joined: 25 Jun 2013
Posts: 16
Location: chennai

Thanks madkak. you explained about bar over ride. it can be done once the bar file is created .

In my case , i promoted mqinput queue name property to the flow. when i try to create bar file i am getting the following error. so how i can do the bar over ride in this case please help me .
-----------------------------------------------------------------------------------
Processing file flow11.msgflow
Failed to add file flow11.msgflow to archive file.
/test111/flow11.msgflow has errors.
Please correct the errors and try again.
-------------------------------------------------------------------------------------
Back to top
View user's profile Send private message Send e-mail
selvaetkt
PostPosted: Tue Jun 25, 2013 3:04 am    Post subject: The Promoted properties are in the 'Basic' tab of the messag Reply with quote

Novice

Joined: 25 Jun 2013
Posts: 16
Location: chennai

Thanks for reply smdavies99. Yes i can find the 'Basic' tab of the message flow properties.

Consider this scenario . Mqinput->compute->Mqoutput . if this is the sub flow and reusable in various projects. I want to assign the values for queue name for mqinput node dynamically at run time , is it possible to create a bar file without a input queue name(promoted to flow). please help me on this.
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Jun 25, 2013 5:51 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There's a huge difference between a bar file and a subflow.

There's also an immensely large difference between a file named ".subflow" and a file named ".msgflow".

You can't deploy anything named ".msgflow" that contains an MQInput node that does not have a queue set on it's properties.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jun 25, 2013 7:20 am    Post subject: Re: The Promoted properties are in the 'Basic' tab of the me Reply with quote

Grand High Poobah

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

selvaetkt wrote:
I want to assign the values for queue name for mqinput node dynamically at run time


You can't.

The best you can do is assign it at deploy time.

And as my most worthy associate points out, you can't deploy it (or indeed add it to a bar file) without any value at all.

I echo and endorse his comments on the difference between a message flow and a sub flow. Just because your flow is architecturally a common sub flow doesn't make it a broker subflow.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jun 25, 2013 8:27 am    Post subject: Reply with quote

Jedi Knight

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

You can use QALIAS on the QMGR to change the queue that gets opened when the message flow starts.
_________________
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
selvaetkt
PostPosted: Wed Jun 26, 2013 2:39 am    Post subject: Thanks Everyone Reply with quote

Novice

Joined: 25 Jun 2013
Posts: 16
Location: chennai

Hi All ,

Thanks to everyone to give me the clear idea about the issue . now i can understand that we are doing bar override during implementation.

But in my case we are using .msgflow as a subflow . so my final doubt is whether we can use .msgflow as a subflow .
Back to top
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Wed Jun 26, 2013 3:02 am    Post subject: Re: Thanks Everyone Reply with quote

Jedi Knight

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

selvaetkt wrote:
But in my case we are using .msgflow as a subflow . so my final doubt is whether we can use .msgflow as a subflow .


Did you follow the information in the InfoCentre regarding Subflows?

http://publib.boulder.ibm.com/infocenter/wmbhelp/v8r0m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fac00370_.htm
_________________
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
selvaetkt
PostPosted: Wed Jun 26, 2013 3:53 am    Post subject: thanks- lancelotlinc Reply with quote

Novice

Joined: 25 Jun 2013
Posts: 16
Location: chennai

Now i am clear .Many Thanks . it is very useful for me as a beginner of message broker developer.
Back to top
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Wed Jun 26, 2013 4:17 am    Post subject: Re: thanks- lancelotlinc Reply with quote

Jedi Knight

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

selvaetkt wrote:
Now i am clear .Many Thanks . it is very useful for me as a beginner of message broker developer.


Have you attended the training? Being new is ok, but you really should read the InfoCentre more and attend the training.

https://www-304.ibm.com/jct03001c/services/learning/us/pdfs/roadmaps/wmb_v8_dev.pdf

The roadmap specifies nine days of training.
_________________
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
NealM
PostPosted: Wed Jun 26, 2013 12:58 pm    Post subject: Reply with quote

Master

Joined: 22 Feb 2011
Posts: 230
Location: NC or Utah (depends)

Just one minor thing. smdavies99 is wrong when he stated that "The Promoted properties are in the 'Basic' tab of the message flow properties" if he meant that to be restrictive.
You can promote properties from other than the Basic tab of a node, and the name of the tab they are on in that node, or any other tab name that you can think of (ex: the node's name), can be used to hold the promoted properties at the flow/subflow level. The "New Group" button on the Promote Property's Target Selection pop-up lets you decide what the tab name(s) will be.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Jun 26, 2013 11:32 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

NealM wrote:
Just one minor thing. smdavies99 is wrong when he stated that "The Promoted properties are in the 'Basic' tab of the message flow properties" if he meant that to be restrictive.
You can promote properties from other than the Basic tab of a node, and the name of the tab they are on in that node, or any other tab name that you can think of (ex: the node's name), can be used to hold the promoted properties at the flow/subflow level. The "New Group" button on the Promote Property's Target Selection pop-up lets you decide what the tab name(s) will be.


I was just starting from an example flow I have. The OP was IMHO hardly likely to be aware of those other options at this stage in their broker education.
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Assigning the value for promoted propertiesin the msg flow
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.