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 » esql checksum

Post new topic  Reply to topic
 esql checksum « View previous topic :: View next topic » 
Author Message
happyj
PostPosted: Wed Mar 01, 2006 4:45 am    Post subject: esql checksum Reply with quote

Voyager

Joined: 07 Feb 2005
Posts: 87

Has anyone implemented a checksum generator with esql ?
Any particular algorithm ?

I would like to store this along with an id in a database lookup
and change the processing if I get an identical data message for
the same id.

Any pointers ?

thanks
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Wed Mar 01, 2006 4:47 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi happyj,

Could you explain your requirement please....

Regards.
Back to top
View user's profile Send private message Send e-mail
wschutz
PostPosted: Wed Mar 01, 2006 5:01 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

I would think you'd be better off writing / getting a java checksum generator and then implememeting that in the broker (if v6 = java compute node, else java proc ....) rather than in esql .....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
happyj
PostPosted: Wed Mar 01, 2006 5:05 am    Post subject: Reply with quote

Voyager

Joined: 07 Feb 2005
Posts: 87

thanks

I am on V5 ( apologies for not saying )
Back to top
View user's profile Send private message
happyj
PostPosted: Wed Mar 01, 2006 5:39 am    Post subject: Reply with quote

Voyager

Joined: 07 Feb 2005
Posts: 87

elvis_gn

I am dealing with a lot of data (many, large messages)
coming in much of which is repeated.
because of this I would like to change the flow processing depending on
if it is a repeat or not and not have to store the entire message.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Mar 01, 2006 8:02 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

If the messages are very large, the size of the input bitstream might be as good a hash value as any. If you're going to avoid storing the message, then presumably you're going to have to check every byte at some point before you assume that they're identical.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Mar 01, 2006 1:05 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You could as well use an MD5 hash to check for identity...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » esql checksum
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.