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 » Random number generation in WMB7.0

Post new topic  Reply to topic
 Random number generation in WMB7.0 « View previous topic :: View next topic » 
Author Message
Lucky
PostPosted: Thu Jan 27, 2011 4:18 am    Post subject: Random number generation in WMB7.0 Reply with quote

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
View user's profile Send private message
Mr Butcher
PostPosted: Thu Jan 27, 2011 4:33 am    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Thu Jan 27, 2011 4:54 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Is there a UUID function?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Jan 27, 2011 4:55 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Generate the random number in Java Compute Node.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
fatherjack
PostPosted: Thu Jan 27, 2011 4:57 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Thu Jan 27, 2011 5:05 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Questions to answer:
  1. Which transformation interface? ESQL, PHP, Java, Mapping?
  2. 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'.
  3. Where have you looked for this answer?
  4. What have you tried?
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 » Random number generation in WMB7.0
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.