On Wed, Mar 18, 2009 at 8:16 AM, Alex Boisvert <[email protected]> wrote:

> I think messages should be accepted (queued) even if the instance is
> suspended...  unless we're talking about the special case where a 2-way
> invocation is done over an unreliable protocol (HTTP) which was the subject
> of another recent discussion.
>

Right now that's actually the general case :) But for one-ways, I agree
queuing would probably make more sense.

Matthieu


>
> alex
>
>
>
> On Wed, Mar 18, 2009 at 7:52 AM, Matthieu Riou <[email protected]>wrote:
>
>> On Wed, Mar 18, 2009 at 1:01 AM, Milinda Pathirage <
>> [email protected]> wrote:
>>
>> > I tried following condition check in ODEProcess.java.
>> >
>> >  if(mexdao.getInstance().getState() == ProcessState.STATE_SUSPENDED){
>> >                     throw new InvalidProcessException("Instance is
>> > suspended.", InvalidProcessException.SUSPENDED_CAUSE_CODE);
>> >  }
>> >
>> > Is it ok to handle it in that way or is there any other things I have to
>> > consider when checking for suspended instances.
>> >
>>
>> Looks ok to me.
>>
>> Matthieu
>>
>>
>> >
>> > Thanks,
>> > Milinda
>> >
>> >
>> > On Tue, Mar 17, 2009 at 9:41 PM, Matthieu Riou <[email protected]
>> >wrote:
>> >
>> >> On Tue, Mar 17, 2009 at 7:33 AM, Milinda Pathirage <
>> >> [email protected]> wrote:
>> >>
>> >> > Hi all,
>> >> > If user invokes a suspended instance (For example, we have suspended
>> a
>> >> > instance of counter process and user invokes get method of that
>> >> particular
>> >> > instance), do ODE responds with a meaningful error like "Cannot
>> Invoke
>> >> > suspended instances".
>> >> >
>> >>
>> >> OTOH I don't think we have a specific fault for this. So the answer is:
>> >> probably not.
>> >>
>> >> Matthieu
>> >>
>> >>
>> >> >
>> >> > Thanks,
>> >> > Milinda
>> >> >
>> >> > --
>> >> > http://mpathirage.com
>> >> > http://wso2.org "Oxygen for Web Service Developers"
>> >> > http://wsaxc.blogspot.com "Web Services With Axis2/C"
>> >> >
>> >>
>> >
>> >
>> >
>> > --
>> > http://mpathirage.com
>> > http://wso2.org "Oxygen for Web Service Developers"
>> > http://wsaxc.blogspot.com "Web Services With Axis2/C"
>> >
>>
>
>

Reply via email to