You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by jv...@hytti.uku.fi on 2006/06/01 14:07:09 UTC

[Axis2] FireAndForget and Thread.sleep()

Hello!
I'm using fireAndforget() operation to send one-way SOAP messages. Is there any
way to get along without using the Thread.sleep(sleepingTime) operation in
one-way messaging? Because I have to send many messages consecutively, the
Thread.sleep() wastes a lot of time. If the sleeping time is too small, the
last message messes up the previous one. In my service, the sleeping time must
be set to over 1000 milliseconds to avoid corrupting some of the messages, so
this is quite a big problem to me. Is this Thread.sleep() thing going to be
fixed in the future releases of Axis2?

- Jouko Valtola, University of Kuopio Finland

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] FireAndForget and Thread.sleep()

Posted by Davanum Srinivas <da...@gmail.com>.
Could u please open up an enhancement request with your sample code?

http://issues.apache.org/jira/

thanks,
dims

On 6/1/06, jvaltola@hytti.uku.fi <jv...@hytti.uku.fi> wrote:
> Hello!
> I'm using fireAndforget() operation to send one-way SOAP messages. Is there any
> way to get along without using the Thread.sleep(sleepingTime) operation in
> one-way messaging? Because I have to send many messages consecutively, the
> Thread.sleep() wastes a lot of time. If the sleeping time is too small, the
> last message messes up the previous one. In my service, the sleeping time must
> be set to over 1000 milliseconds to avoid corrupting some of the messages, so
> this is quite a big problem to me. Is this Thread.sleep() thing going to be
> fixed in the future releases of Axis2?
>
> - Jouko Valtola, University of Kuopio Finland
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas : http://wso2.com/blogs/

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org