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 » How To Override UDP defined at flow level by passing value

Post new topic  Reply to topic
 How To Override UDP defined at flow level by passing value « View previous topic :: View next topic » 
Author Message
snegi3
PostPosted: Fri Feb 14, 2014 4:15 pm    Post subject: How To Override UDP defined at flow level by passing value Reply with quote

Newbie

Joined: 14 Feb 2014
Posts: 3

Scenario - I have a main flow which uses a Sub flow for adding some extra validation on message. I have defined a UDP variable at flow level for the sub flow and on main flow level I am providing a UDP value or you can say passing UDP value at flow level on to the subflow for futher processing now the problem is here , I need to pass 2 different values from same main flow to same sub flow means, this should be able to handle 2 types of value now. this sub flow can received 2 types of UDP values, But as I am defining the value at flow level so at a time only value is being passed to sub flow. so solution I want to know if I can pass these different values dynamically on to the sub flow ? Say one message comes with UDP value X and next message comes with Y so this should be able to handle both, now I can't hardcode both values at flow level UDP , i need to find a way to pass these value to UDP parameter and say I have some default value in UDP now , can this be possible to over ride that value and pass the X value using any means say using esql itself ?
Back to top
View user's profile Send private message
Gralgrathor
PostPosted: Fri Feb 14, 2014 4:25 pm    Post subject: Reply with quote

Master

Joined: 23 Jul 2009
Posts: 297

Saywhat?

From what I understand, you've got multiple use cases, and want to pass some different value down to the subflow for each use case, right?

Simple. Make your flow so that there's a separate invocation of the subflow for each use case. Then give each invocation the appropriate value. You can adjust the separate values at deploy-time.
Back to top
View user's profile Send private message Send e-mail
snegi3
PostPosted: Sat Feb 15, 2014 12:34 am    Post subject: Reply with quote

Newbie

Joined: 14 Feb 2014
Posts: 3

Gralgrathor wrote:
Saywhat?

From what I understand, you've got multiple use cases, and want to pass some different value down to the subflow for each use case, right?

Simple. Make your flow so that there's a separate invocation of the subflow for each use case. Then give each invocation the appropriate value. You can adjust the separate values at deploy-time.



Yes , You got it right these are 2 use cases now I have.. it sounds good to me also , will try to invoke subflow separately today , thanks
Back to top
View user's profile Send private message
snegi3
PostPosted: Sat Feb 15, 2014 12:23 pm    Post subject: Reply with quote

Newbie

Joined: 14 Feb 2014
Posts: 3

It Worked Thanks.
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 » How To Override UDP defined at flow level by passing value
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.