Author |
Message
|
Lucky |
Posted: Thu Jan 27, 2011 4:18 am Post subject: Random number generation in WMB7.0 |
|
|
Apprentice
Joined: 06 Feb 2007 Posts: 35
|
Hi,
We have an requirement of sending an random number in each of the message to downstream.
Is there any such facility available in WMb7.0 version. So, that we can get this number generated and asosciate with the message.
Thanks in advance! |
|
Back to top |
|
 |
Mr Butcher |
Posted: Thu Jan 27, 2011 4:33 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
just curious ... what for? to identify the message? a random number is not unique. message already have their identification fiels, e.g. the msgid _________________ Regards, Butcher |
|
Back to top |
|
 |
zpat |
Posted: Thu Jan 27, 2011 4:54 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Is there a UUID function? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Jan 27, 2011 4:55 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
fatherjack |
Posted: Thu Jan 27, 2011 4:57 am Post subject: |
|
|
 Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
|
zpat wrote: |
Is there a UUID function? |
But does it return a random *number* as per the OP requirement ? _________________ Never let the facts get in the way of a good theory. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jan 27, 2011 5:05 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Questions to answer:
- Which transformation interface? ESQL, PHP, Java, Mapping?
- Exactly *how* random? 4 is a random number, and can appear an arbitrary number of times in a row in a truly mathematically random sequence (although very unlikely to do so). So a function that always returns 4 meets some definition of 'random'.
- Where have you looked for this answer?
- What have you tried?
|
|
Back to top |
|
 |
|