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 » setting the timeout on HTTP request node

Post new topic  Reply to topic
 setting the timeout on HTTP request node « View previous topic :: View next topic » 
Author Message
jdevassy
PostPosted: Mon Apr 16, 2007 11:19 pm    Post subject: setting the timeout on HTTP request node Reply with quote

Apprentice

Joined: 16 Oct 2005
Posts: 37
Location: Melbourne, Australia

Hi, I have a requirement where I have to set the HTTP request timeout on fly. Is that possible to set it in esql, like the url?

SET OutputLocalEnvironment.Destination.HTTP.timeout-- is that possible?

Thanks in advance

Joe
Back to top
View user's profile Send private message Yahoo Messenger
mgk
PostPosted: Tue Apr 17, 2007 12:34 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Hi,

Unfortunately this is not possible. Could you elaborate a little on why you feel the need to ajust the timout dynamically?
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
jdevassy
PostPosted: Tue Apr 17, 2007 2:34 am    Post subject: Reply with quote

Apprentice

Joined: 16 Oct 2005
Posts: 37
Location: Melbourne, Australia

hi,
thanks for the reply...

I am kind of trying to create a general flow, which can take requests for any URL and timeout and i want to set it depending on from where it gets called. The values for the timeout can either be set in the calling flow or can be read from a config file.

Is there a way around it?

Thanks
Joe
Back to top
View user's profile Send private message Yahoo Messenger
mgk
PostPosted: Tue Apr 17, 2007 2:54 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Sorry, there is no real workaround using the HTTPRequest node. One possibility would be to have several HTTPRequest nodes, each with different timeouts, (say have one starting at 10 seconds and the next at 20 seconds etc) and use a Compute node with Propagate to Label to send to incoming message to the request node with the next highest timeout. This assumes you don't need fine grained timeouts of course...
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
jdevassy
PostPosted: Tue Apr 17, 2007 3:40 pm    Post subject: Reply with quote

Apprentice

Joined: 16 Oct 2005
Posts: 37
Location: Melbourne, Australia

Hi MGK,

THanks...I will try this

Joe
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » setting the timeout on HTTP request node
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.