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 » Propagate

Post new topic  Reply to topic
 Propagate « View previous topic :: View next topic » 
Author Message
prasad.gh789
PostPosted: Thu Aug 28, 2014 9:47 am    Post subject: Propagate Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu Aug 28, 2014 9:55 am    Post subject: Re: Propagate Reply with quote

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
View user's profile Send private message
prasad.gh789
PostPosted: Thu Aug 28, 2014 10:13 am    Post subject: Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Thu Aug 28, 2014 10:17 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.

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
View user's profile Send private message
Vitor
PostPosted: Thu Aug 28, 2014 10:45 am    Post subject: Reply with quote

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
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 » Propagate
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.