setting this on the stub, did it for me.
           
options.setProperty(JMSConstants.JMS_WAIT_REPLY,Long.valueOf("some_value_inmillisecs"));

hope it helps.


mgainty wrote:
> 
> 
> take a look at JMSEndpoint javadoc at
> http://ws.apache.org/axis/java/apiDocs/org/apache/axis/transport/jms/JMSEndpoint.html
> 
> you can specfy timeout via 2nd parameter to call method
>  
> byte[]
> call(byte[] message,
>      long timeout)
> 
> 
> 
> Anyone else?
> Martin 
> ______________________________________________ 
> Disclaimer and confidentiality note 
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and
> Sender does not endorse distribution to any party other than intended
> recipient. Sender does not necessarily endorse content contained within
> this transmission. 
> 
> 
> Date: Tue, 12 Aug 2008 08:13:21 -0700
> From: el-al...@intalio.com
> To: axis-user@ws.apache.org
> Subject: JMS timeout
> 
> Hi everybody,
> I have set up my JMS transport, and I would like now to call a service via
> JMS.
> 
> The problem is this service needs more than 20 seconds to answer back, and
> the timeout for this transport is set to 30000ms.
> 
> How can I modify the timeout?
> 
> Thanks in advance
> Ihab
> 
> 
> _________________________________________________________________
> Get more from your digital life.  Find out how.
> http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home2_082008
> 

-- 
View this message in context: 
http://www.nabble.com/JMS-timeout-tp18946364p26027126.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to