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 » mqinput promote properties

Post new topic  Reply to topic Goto page 1, 2  Next
 mqinput promote properties « View previous topic :: View next topic » 
Author Message
scravr
PostPosted: Tue Dec 02, 2008 7:22 am    Post subject: mqinput promote properties Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 388
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
View user's profile Send private message Send e-mail MSN Messenger
Vitor
PostPosted: Tue Dec 02, 2008 7:25 am    Post subject: Re: mqinput promote properties Reply with quote

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
View user's profile Send private message
scravr
PostPosted: Tue Dec 02, 2008 7:37 am    Post subject: mqinput promote properties Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 388
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
View user's profile Send private message Send e-mail MSN Messenger
fjb_saper
PostPosted: Tue Dec 02, 2008 2:53 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Dec 02, 2008 3:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
scravr
PostPosted: Wed Dec 03, 2008 6:14 am    Post subject: mqinput promote properties Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 388
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
View user's profile Send private message Send e-mail MSN Messenger
scravr
PostPosted: Wed Dec 03, 2008 11:00 am    Post subject: mqinput promote properties Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 388
Location: NY NY USA 10021

any ideas?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
wbi_telecom
PostPosted: Wed Dec 03, 2008 11:10 am    Post subject: Reply with quote

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
View user's profile Send private message
wbi_telecom
PostPosted: Wed Dec 03, 2008 11:29 am    Post subject: Reply with quote

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
View user's profile Send private message
scravr
PostPosted: Wed Dec 03, 2008 11:43 am    Post subject: mqinput promote properties Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 388
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
View user's profile Send private message Send e-mail MSN Messenger
Vitor
PostPosted: Wed Dec 03, 2008 11:45 am    Post subject: Reply with quote

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
View user's profile Send private message
TonyD
PostPosted: Wed Dec 03, 2008 12:04 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
wbi_telecom
PostPosted: Wed Dec 03, 2008 12:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
scravr
PostPosted: Wed Dec 03, 2008 12:29 pm    Post subject: mqinput promote properties Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 388
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
View user's profile Send private message Send e-mail MSN Messenger
scravr
PostPosted: Wed Dec 03, 2008 12:36 pm    Post subject: mqinput promote properties Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 388
Location: NY NY USA 10021

i may have 40 diff input qs......
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » mqinput promote properties
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.