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 » Delay in calling provider

Post new topic  Reply to topic
 Delay in calling provider « View previous topic :: View next topic » 
Author Message
SOLOHERO
PostPosted: Tue Jul 15, 2008 9:27 pm    Post subject: Delay in calling provider Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

Hi Guys,

Here is a scenerio.

1.Consumer sends request to broker.
2. Broker Manuplates and sends the request to provider1
3. But before calling provider1 we need a delay of 1sec so where can i set this delay.?
4.can this delay be set in an external properties file?
5. After calling provider1 , response from provider1 is aggreated with consumer request and sent to Provider2.

Thanks in advance..
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
AkankshA
PostPosted: Tue Jul 15, 2008 9:49 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

Introducing delay is not that easy in MB...

u can either do it using sleep function of java compute node

or may be customize Time Out nodes... {but using Time Out nodes just for a second does not really make sense to me.. }

may i ask you why do u want to introduce delay at the first place..
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
SOLOHERO
PostPosted: Tue Jul 15, 2008 10:18 pm    Post subject: Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

Thanks for the response.

i can sure tell you why we want a delay.

1. before consumer sends request to broker , it stores some infomatoin in provider1.
2. when consumer sends request to broker and broker has to call provider1 to retrieve the stored information by consumer.

3. but there may be some cases where there will be delay for the provider1 to store the information sent by consumer.

4. Broker tries to retrieve that information whcih is not stored it, so we need a delay to send a request to provider1.

Thanks
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
sridhsri
PostPosted: Wed Jul 16, 2008 5:45 am    Post subject: Reply with quote

Master

Joined: 19 Jun 2008
Posts: 297

I wouldn't mess around with sleep calls in the JCN. I would recommend using TimeoutNotification Node with a TimeoutControl Node.
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 » Delay in calling provider
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.