config the JMS_WAIT_REPLY parameter for JMSSender in the axis2.xml
configuration file e.g.
<transportSender name="jms">
<class="org.apache.axis2.transport.jms.JMSSender"/>
<parameter name="JMS_WAIT_REPLY">1000</parameter>
</transportSender>
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: Fri, 15 Aug 2008 16:49:57 -0700
From: [EMAIL PROTECTED]
To: [email protected]
Subject: Re: JMS timeout
Thanks Asankha!
But I did try that before and it did not work.
Where
should I put it exactly? in the Receiver or Sender? can you please give
me an example of axis2.xml with the modification just to make sure I am doing
the
correct thing?
Thanks again
On Tue, Aug 12, 2008 at 9:48 AM, Asankha C. Perera <[EMAIL PROTECTED]> wrote:
Hi Ihab
Please set the message context property "JMS_WAIT_REPLY" to what you
desire (in ms). This will override the default timeout
asankha
Ihab EL-ALAMI wrote:
Thanks for your prompt reply,
But actually I am not doing that programmatically.
Is there a way to specify that statically from the axis2.xml file for
instance?
Ihab EL ALAMI
Process Expert
Intalio, The Open Source BPMS Company
Date: Tue, 12 Aug 2008 08:13:21 -0700
From: [EMAIL PROTECTED]
To: [email protected]
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.
--
Asankha C. Perera
WSO2 - http://wso2.org
http://esbmagic.blogspot.com
_________________________________________________________________
Talk to your Yahoo! Friends via Windows Live Messenger. Find out how.
http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008