|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Propagate |
« View previous topic :: View next topic » |
Author |
Message
|
prasad.gh789 |
Posted: Thu Aug 28, 2014 9:47 am Post subject: Propagate |
|
|
Novice
Joined: 06 Aug 2014 Posts: 20
|
My requirement is to create the interface for FILE validation.
fileinput-->compute-->out-->fileout and out1--> log4j subflow
retrieve input file from fileinput node then log the input file with timestamp using log4j using environment variable propagate to out1 terminal.
then return to compute node swich to the esql and validate the input file name if validation success
propagate to terminal out for placing fileout as well as log the success msg with log4j.
if validation failed propagate to out terminal for log the msg using log4j and
terminate the flow.
i had already don this flow with multiple compute nodes and subflows .
but my requirement is to use only single compute and log4j subflow using propagation and environment variables
i don't have idea about propagate statement .
if we propagate msg to one terminal then how to back the compute control don other validations and propagations? |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 28, 2014 9:55 am Post subject: Re: Propagate |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
prasad.gh789 wrote: |
i had already don this flow with multiple compute nodes and subflows .
but my requirement is to use only single compute and log4j subflow using propagation and environment variables |
Where does this requirement come from? What's the technical issue driving it? I assume you're not doing this because your manager thought your previous working solution looked "cluttered"?
prasad.gh789 wrote: |
i don't have idea about propagate statement . |
Then either don't use it, or read up it.
prasad.gh789 wrote: |
if we propagate msg to one terminal then how to back the compute control don other validations and propagations? |
It's not than well known, but IBM provide a thing called the Knowledge Center. The entry in it for PROPAGATE says, among other helpful things:
Quote: |
Propagation is a synchronous process. That is, the next statement is not executed until all the processing of the message in downstream nodes has completed |
_________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
prasad.gh789 |
Posted: Thu Aug 28, 2014 10:13 am Post subject: |
|
|
Novice
Joined: 06 Aug 2014 Posts: 20
|
Thank you for your response.
actually i am delivered this interface. it is working my manager told me client asked to reduce the nodes.it is not cluttered but they ask to do with single compute and single log4j subflow |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Aug 28, 2014 10:17 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Ah! I see we have the latest installment in
"And the requirement is..."
http://www.mqseries.net/phpBB2/viewtopic.php?t=63133
I have to ask the Original Poster why are you limited to a single Compute Node?
Why does your manager think this would be better?
Is you manager a Broker expert? If he isn't then why is he asking you to do this? Even if he is, why apart from a simplification of the picture of the flow is he asking you to spend time on this?
Will the resultant code be more maintainable?
Will you have to maintain it? _________________ 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 |
|
 |
Vitor |
Posted: Thu Aug 28, 2014 10:45 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
prasad.gh789 wrote: |
they ask to do with single compute and single log4j subflow |
I got that, but why are they asking? Does the client think they're being charged by the node? Do they believe that a single complex node is easier to maintain and runs faster than a group of simple nodes? Especially given the additional risks of using PROPAGATE (as laid out in that link)?
I know The Customer Is Always Right but the Customer in this instance is paying for your knowledge and experience, so you should be offering advice or at least pushing back in the face of these rather ludicious requests. Next thing you know, the client will want a Compute node who's icon shows up in the palette in their corporate colours.
Though, as my worthy associate points out, yours is a familiar story here. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|