Author |
Message
|
kiran.kasarapu |
Posted: Wed Mar 03, 2010 3:37 am Post subject: Routing an Input Message based on the Trasaction type ? |
|
|
 Novice
Joined: 19 Feb 2008 Posts: 16 Location: Bangalore
|
Hi,
I have a scenario where in i need to route a message based on the transactiontype in the input message and need to invoke associated subprocess. It would be great if anyone can share the routing logic.
Thanks |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Mar 03, 2010 3:53 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Where is the transaction type stored?
Can you give us an example?
If it is in the message itself then a bit of ESQL around an If... Then... Else ... End IF statement followed by a RouteToLabel Node would be a good place to start. _________________ 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 |
|
 |
kiran.kasarapu |
Posted: Wed Mar 03, 2010 4:08 am Post subject: Routing an Input Message based on the Trasaction type ? |
|
|
 Novice
Joined: 19 Feb 2008 Posts: 16 Location: Bangalore
|
Hi,
Thanks for the reply, yes it's in message itself.
for example if transaction type is start ----> need to invoke couple of subflows like getdata,store data. and if transaction type is log ----> need to invoke other subprocess addlog,storelog and if transaction type is refer ----> need to refer other subflows.
Please let me know if u need any other info... |
|
Back to top |
|
 |
nathanw |
Posted: Wed Mar 03, 2010 7:22 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
RTFM on ESQL! _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
aradha |
Posted: Thu Mar 04, 2010 3:12 am Post subject: |
|
|
Apprentice
Joined: 16 Dec 2008 Posts: 45
|
|
Back to top |
|
 |
nathanw |
Posted: Thu Mar 04, 2010 3:45 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
aradha i would reply in PM but we cannot _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Mar 04, 2010 3:50 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
What you are trying to do is very much
Broker Development 101.
It is all very basic stuff. The sort of thing that would be covered in a training course or by self learining and reading the documentation.
Have you received any training in the nobe art of Broker Message flow Development? _________________ 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 |
|
 |
aradha |
Posted: Thu Mar 04, 2010 4:40 am Post subject: |
|
|
Apprentice
Joined: 16 Dec 2008 Posts: 45
|
yes nathanw why we are not able to check PM messgs
then how can know |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Mar 04, 2010 5:03 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
RTFM is short hand for Read The Fine Manual.
At least in polite company, the F stands for FINE. It's like in polite company, SNAFU stands for Situation Normal, All Fouled Up. |
|
Back to top |
|
 |
nathanw |
Posted: Thu Mar 04, 2010 5:05 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
jeff thank you
was trying to think of another way for the F _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
|