Author |
Message
|
yadav.neeraj01 |
Posted: Thu Feb 20, 2014 9:52 am Post subject: Persistence |
|
|
 Apprentice
Joined: 23 Feb 2011 Posts: 49
|
i need to sequence my output message name by a number.....this number should be incremented by 1 for each input message....for example if there are n input message are coming from source then at destination out1, out2, out3.....outn message should be created. How can i fulfill this requirement??
If i use any variable then it will get refreshed each time with new message or when flow stop or redeployed....please provide yours input on this....  |
|
Back to top |
|
 |
JosephGramig |
Posted: Thu Feb 20, 2014 11:12 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Not sure what you mean.
So, if I guess that you mean you have an MQInput->Compute->out[1..n]
where you want to route the message to out1 for first msg, out2 for second and so on. What are the out[n] wired to? Up to what number out[n]?
How does this make sense?
If you want to distributed this over a number of known targets, then propagate to label works better.
What are you trying to do? |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 20, 2014 11:29 am Post subject: Re: Persistence |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
yadav.neeraj01 wrote: |
How can i fulfill this requirement?? |
You shouldn't - this stinks of message affinity.
Do you plan to number message from 1 to infinity? Does the number reset at some point? What is the business need for these numbers to be incremented?
If you're simply trying to ensure 1-n messages are processed as a group and in sequence in a group, WMQ supports that. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Simbu |
Posted: Thu Feb 20, 2014 8:44 pm Post subject: |
|
|
 Master
Joined: 17 Jun 2011 Posts: 289 Location: Tamil Nadu, India
|
Yadav,Sequence node will solve your requirement. |
|
Back to top |
|
 |
yadav.neeraj01 |
Posted: Thu Feb 20, 2014 10:17 pm Post subject: |
|
|
 Apprentice
Joined: 23 Feb 2011 Posts: 49
|
Thanks for reply..... I am using wmb v7....do we have sequence node in this??
for others who didn't. Understand my requirement..let me explain again....customer want to sequence output messages at destination...for example if 10 input messages of same name are coming from source then we need to sequence corresponding output message to differentiate.. |
|
Back to top |
|
 |
zpat |
Posted: Fri Feb 21, 2014 12:15 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
yadav.neeraj01 wrote: |
Thanks for reply..... I am using wmb v7....do we have sequence node in this??
. |
Do you have the time and movitation to look at your WMB toolkit palette or the infocenter for this node? _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
 |
Gralgrathor |
Posted: Fri Feb 21, 2014 1:08 am Post subject: |
|
|
Master
Joined: 23 Jul 2009 Posts: 297
|
yadav.neeraj01 wrote: |
let me explain again....customer want to sequence output messages at destination...for example if 10 input messages of same name are coming from source then we need to sequence corresponding output message to differentiate.. |
Still don't understand it. Do you mean you want your output messages numbered? As in MQMD.MsgSeqNumber, grouped by messagetype?
If so, then how will you determine whether a group is complete? |
|
Back to top |
|
 |
fatherjack |
Posted: Fri Feb 21, 2014 7:27 am Post subject: |
|
|
 Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
|
yadav.neeraj01 wrote: |
for example if 10 input messages of same name ..... |
What do you mean by 'message name'? _________________ Never let the facts get in the way of a good theory. |
|
Back to top |
|
 |
yadav.neeraj01 |
Posted: Sat Feb 22, 2014 8:24 am Post subject: |
|
|
 Apprentice
Joined: 23 Feb 2011 Posts: 49
|
done with sequence node...thanks for help....  |
|
Back to top |
|
 |
PeterPotkay |
Posted: Sat Feb 22, 2014 9:23 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
yadav.neeraj01 wrote: |
done with sequence node...thanks for help....  |
Your message flow with the sequence node, is it deployed to only one Broker or multiple Brokers that are all working in parallel? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
yadav.neeraj01 |
Posted: Sat Feb 22, 2014 9:27 am Post subject: |
|
|
 Apprentice
Joined: 23 Feb 2011 Posts: 49
|
|
Back to top |
|
 |
|