Author |
Message
|
scravr |
Posted: Tue Dec 02, 2008 7:22 am Post subject: mqinput promote properties |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
HI all,
Can MQInput node "Input Message Parsing" properties can be promoted?
Can I promote (and replace when creating BAR) the Message Set, Type and Format properties?
When deployed, I do not see the place holder in BAR file for these 3 properties.
Thanks,
Moshe |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 02, 2008 7:25 am Post subject: Re: mqinput promote properties |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
scravr wrote: |
Can MQInput node "Input Message Parsing" properties can be promoted? |
Yes
scravr wrote: |
Can I promote (and replace when creating BAR) the Message Set, Type and Format properties? |
Yes
scravr wrote: |
When deployed, I do not see the place holder in BAR file for these 3 properties. |
Did you promote them at design time? Do they show as promoted there? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
scravr |
Posted: Tue Dec 02, 2008 7:37 am Post subject: mqinput promote properties |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
i do see all promoted items in design-time flow-level.
also promoted input-q-name and i do see it in generated BAR file.
in addition i see in BAR file all promoted items from 2 sub-flows.
the only thing i do not see in BAR file are the 3 parsing message type/set/format of mqinput node ??? !!! |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Dec 02, 2008 2:53 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I don't believe they are promotable.
What you can do is create UDF's and use them with an RDF node... _________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 02, 2008 3:12 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
fjb_saper wrote: |
I don't believe they are promotable. |
I was about to post a refutation. Until I tried to promote them. Oops.
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
scravr |
Posted: Wed Dec 03, 2008 6:14 am Post subject: mqinput promote properties |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
How can UDF/RDF help to figureout the message set/type/format on MQInput?
Basically, I have a flow with MQInput, few computes, DB, ... , and final MQOutput.
I need to deploy the flow on few sets of MQinput/MQoutput. Each MQInput has diff message format/type/set.
I thought to promote the set/type/format and then route base on it; but we figured out that its not posible.
So how UDF/RDF can help?
how do i go about it?
what do i need for UDF/RDF?
do i still need MQInput or should I replace it with something else to start the flow and get the set/type/format?
?
?
? |
|
Back to top |
|
 |
scravr |
Posted: Wed Dec 03, 2008 11:00 am Post subject: mqinput promote properties |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
|
Back to top |
|
 |
wbi_telecom |
Posted: Wed Dec 03, 2008 11:10 am Post subject: |
|
|
 Disciple
Joined: 15 Feb 2006 Posts: 188 Location: Harrisburg, PA
|
Is the queue in MQInput same for all the formats?
If yes then I would take the message as XMLNS or BLOB and based on certain field in the message assign the message set to it for furthur processing. (Either using RCD or Create and Parse) . This way you don't have to re deploy your message flow again and again.
If the queue is different then I would design separate message flows each starting with a different input queue. This will keep the design modular and you can scale, maintain message flows independent of each other.
Cheers, |
|
Back to top |
|
 |
wbi_telecom |
Posted: Wed Dec 03, 2008 11:29 am Post subject: |
|
|
 Disciple
Joined: 15 Feb 2006 Posts: 188 Location: Harrisburg, PA
|
Vitor,
I also did a simple test and found out that all the properties under Input message parsing tab in MQInput can be promoted. They all are greyed out in the node saying "promoted to Flow"and they all appear as properties of the message flow. So I don't quite understand why it did not work for you. Am I missing something??
Cheers, |
|
Back to top |
|
 |
scravr |
Posted: Wed Dec 03, 2008 11:43 am Post subject: mqinput promote properties |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
Yes, you are missing.... Did you open the BAR and try override the values ?
I have multiple Input Qs with diff message set/type/format in each Q
that need to be reformated to single/same output msg set/type/format.
Basically:
Q1 with msg set1/type1/format1
Q2 with msg set2/type2/format2
Q3 with msg set3/type3/format3
...
and need to reformat to OutQ with msg setX/typeX/formatX
I have a Main-Flow with MQInput node passing to ProcessSubFlow (and failure/catch to ErrorSubFlow)
ProcessSubFlow route to Compute nodes based on msg type/set/format.
I cannot route base on data since data structure/format are diff.
I cannot route base on Q name since Qs can be changed (imagine Q full and other production errors)
I thought to promote MQInput set/type/format properties and solve it very simple !!!
I like the design since I can redeploy the BAR by overide set/type/format and outputQ.
And when I get a new Q + set/type/format, I just need to add a new compute in ProcessSubFlow and the delpoy/override.
With XMLMS/BLOB we lose the set/type/format. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 03, 2008 11:45 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
wbi_telecom wrote: |
Vitor,
I also did a simple test and found out that all the properties under Input message parsing tab in MQInput can be promoted. They all are greyed out in the node saying "promoted to Flow"and they all appear as properties of the message flow. |
I got halfway there - greyed out in the node but not properties of the flow.
wbi_telecom wrote: |
So I don't quite understand why it did not work for you. |
Neither do I. I was 99% certain you could do it.
wbi_telecom wrote: |
Am I missing something?? |
One of us is. I wouldn't assume it's you at this point....
I'll have a better look when I've more time. I suspect pilot error this end and/or a missing fix to Toolkit _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
TonyD |
Posted: Wed Dec 03, 2008 12:04 pm Post subject: |
|
|
Knight
Joined: 15 May 2001 Posts: 540 Location: New Zealand
|
wbi_telecom wrote: |
Am I missing something?? |
Possibly ... scravr wants to be able to modify the properties in the BAR file which is not possible even though the properties are promoted. The 'Terminals and Properties' section for each node in the HELP shows which properties are configurable (the 'C' column). |
|
Back to top |
|
 |
wbi_telecom |
Posted: Wed Dec 03, 2008 12:14 pm Post subject: |
|
|
 Disciple
Joined: 15 Feb 2006 Posts: 188 Location: Harrisburg, PA
|
Tony D,
Thanks for pointing that out.
scrvr,
I would use different input nodes for each message format and use source queue attribute of MQMD to classify the messages. This will make sure that the flow cna processes messages of all formats at the same time without having to redeploy.
Cheers, |
|
Back to top |
|
 |
scravr |
Posted: Wed Dec 03, 2008 12:29 pm Post subject: mqinput promote properties |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
how?
not sure what you mean?
i like to have a single InputQ node. and then multiple deploy. |
|
Back to top |
|
 |
scravr |
Posted: Wed Dec 03, 2008 12:36 pm Post subject: mqinput promote properties |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
i may have 40 diff input qs...... |
|
Back to top |
|
 |
|