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 » Processing messages if received only for certain period

Post new topic  Reply to topic
 Processing messages if received only for certain period « View previous topic :: View next topic » 
Author Message
santy
PostPosted: Tue Dec 29, 2009 9:50 am    Post subject: Processing messages if received only for certain period Reply with quote

Centurion

Joined: 03 Nov 2006
Posts: 141

Hi,

I'm working on WMB 6.1 and I have the below requirement.

I'm going to send the request to an application at 06:45,12:00 and 16:45 and I'm expected to receive the responses after 15 mins like 07:00, 12:15 and 17:00.

My requirement is to process the reponses received only for 17:00.

Problem I'm facing is how can I process the messages received only for 17:00? All of the responses contains same data and there is no date-time field and it might happen that I might receive the 17:00 response early tomorrow next day or I might receive the 12:00 and 16:45 responses at the 17:00.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Dec 29, 2009 10:12 am    Post subject: Re: Processing messages if received only for certain period Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

santy wrote:
there is no date-time field


Aside from the put date/time of course. Which you'd think would be close enough for your purposes.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
santy
PostPosted: Tue Dec 29, 2009 10:29 am    Post subject: Reply with quote

Centurion

Joined: 03 Nov 2006
Posts: 141

I'm not getting any good solution.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Dec 29, 2009 10:39 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

santy wrote:
I'm not getting any good solution.


I didn't think mine was that bad.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Tue Dec 29, 2009 2:07 pm    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

This sounds like something that sits in application land. Make your receiving application sleep to the next 15 minute window (ie 15, 30, 45, 00) as required. Thats how you do it; why is another matter known only to you.....
Back to top
View user's profile Send private message
santy
PostPosted: Tue Dec 29, 2009 2:20 pm    Post subject: Reply with quote

Centurion

Joined: 03 Nov 2006
Posts: 141

Sorry Vitor, I didn't get what you are saying. which put date/time you are talking about? the one which is present in MQMD Header.[/quote]
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Dec 29, 2009 2:41 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

santy wrote:
the one which is present in MQMD Header.




Not accurate to be sure, but if the reply was sent at 13:00 it's unlikely to be an answer to your 16:45 request IMHO.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Dec 29, 2009 2:57 pm    Post subject: Reply with quote

Grand High Poobah

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

Keep a running log (DB?) of the requests with timestamp & msgid and correlid.
When looking for answers just look for the corresponding correlids.
You can further limit by time on the MQMD of the response if you need.

Have fun
_________________
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 » Processing messages if received only for certain period
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.