[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sandesha-dev
Subject:    Re: svn commit: r579708 - in /webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main
From:       "Chamikara Jayalath" <chamikaramj () gmail ! com>
Date:       2007-09-29 4:28:14
Message-ID: 9d4ec10b0709282128m226dd9f5p75383379d8ee85a2 () mail ! gmail ! com
[Download RAW message or body]

Yes, we hv to consider all other cases. checkForSyncResponse() is a general
method which checks for any synchronous response.
Also what u need to check for is the CREATE_SEQUENCE_RESPONSE action. Not
the CREATE_SEQUENCE action.

Chamikara


On 9/28/07, Deepal Jayasinghe <deepalk@gmail.com> wrote:
>
> Well , I added code to terminate the sequence when we send CS and
> receive non CS response. All the other cases I have ignored , if you
> think we need to consider other one as well then I can add the code
> for that.
>
> Thanks
> Deepal
>
> On 9/28/07, Chamikara Jayalath <chamikaramj@gmail.com> wrote:
> > Hi Deepal,
> >
> > Did you assume that checkForSyncResponse() only checks for a
> > CreateSequenceResponse messages.
> > It's not the case. It can be anything ( an Ack, CSR, application
> response
> > etc.)
> >
> > Chamikara
> >
> >
> >
> > On 9/27/07, Deepal jayasinghe <deepalk@gmail.com> wrote:
> > >
> > > Andrew K Gatford wrote:
> > > > To check the fix, I'd like to understand what response is being
> returned
> > > > when sending out a CreateSequence message that isn't a
> > > > CreateSequenceResponse - I'm assuming a Reliable Messaging Fault, or
> is
> > > it
> > > > something else ?
> > > >
> > > It was something else. It is like we send a CS req to a server which
> > > does not have either addressing or rm support. In that case it will
> just
> > > process the request and send an application response. So the reply was
> > > neither a CS response nor a SOAF fault.
> > >
> > > Thanks
> > > Deepal
> > > > Andrew Gatford
> > > >
> > > > Hursley MP211
> > > > Telephone :
> > > > Internal (7) 245743
> > > > External 01962 815743
> > > > Internet : gatfora@uk.ibm.com
> > > >
> > > >
> > > >
> > > > deepal@apache.org
> > > > 26/09/2007 17:20
> > > >
> > > > To
> > > > sandesha-cvs@ws.apache.org
> > > > cc
> > > >
> > > > Subject
> > > > svn commit: r579708 - in
> > > >
> > >
> >
> /webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2:
> > > > msgprocessors/ApplicationMsgProcessor.java
> storage/beans/RMSBean.java
> > > > workers/SenderWorker.java
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: sandesha-dev-help@ws.apache.org
> > >
> > >
> >
>
>
> --
>
>
>
>
>
> ============================
> Deepal Jayasinghe
> Lanka Software Foundation
>

[Attachment #3 (text/html)]

Yes, we hv to consider all other cases. checkForSyncResponse() is a general method \
which checks for any synchronous response. <br>Also what u need to check for is the \
CREATE_SEQUENCE_RESPONSE action. Not the CREATE_SEQUENCE action. \
<br><br>Chamikara<br><br><br><div><span class="gmail_quote">On 9/28/07, <b \
class="gmail_sendername">Deepal Jayasinghe</b> &lt;<a \
href="mailto:deepalk@gmail.com">deepalk@gmail.com</a>&gt; wrote:</span><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> Well , I added code to terminate the sequence when we \
send CS and<br>receive non CS response. All the other cases I have ignored , if \
you<br>think we need to consider other one as well then I can add the code<br>for \
that. <br><br>Thanks<br>Deepal<br><br>On 9/28/07, Chamikara Jayalath &lt;<a \
href="mailto:chamikaramj@gmail.com">chamikaramj@gmail.com</a>&gt; wrote:<br>&gt; Hi \
Deepal,<br>&gt;<br>&gt; Did you assume that checkForSyncResponse() only checks for a \
<br>&gt; CreateSequenceResponse messages.<br>&gt; It&#39;s not the case. It can be \
anything ( an Ack, CSR, application response<br>&gt; etc.)<br>&gt;<br>&gt; \
Chamikara<br>&gt;<br>&gt;<br>&gt;<br>&gt; On 9/27/07, Deepal jayasinghe &lt; <a \
href="mailto:deepalk@gmail.com">deepalk@gmail.com</a>&gt; wrote:<br>&gt; &gt;<br>&gt; \
&gt; Andrew K Gatford wrote:<br>&gt; &gt; &gt; To check the fix, I&#39;d like to \
understand what response is being returned<br>&gt; &gt; &gt; when sending out a \
CreateSequence message that isn&#39;t a <br>&gt; &gt; &gt; CreateSequenceResponse - \
I&#39;m assuming a Reliable Messaging Fault, or is<br>&gt; &gt; it<br>&gt; &gt; &gt; \
something else ?<br>&gt; &gt; &gt;<br>&gt; &gt; It was something else. It is like we \
send a CS req to a server which <br>&gt; &gt; does not have either addressing or rm \
support. In that case it will just<br>&gt; &gt; process the request and send an \
application response. So the reply was<br>&gt; &gt; neither a CS response nor a SOAF \
fault. <br>&gt; &gt;<br>&gt; &gt; Thanks<br>&gt; &gt; Deepal<br>&gt; &gt; &gt; Andrew \
Gatford<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Hursley MP211<br>&gt; &gt; &gt; Telephone \
:<br>&gt; &gt; &gt; Internal (7) 245743<br>&gt; &gt; &gt; External 01962 815743 \
<br>&gt; &gt; &gt; Internet : <a \
href="mailto:gatfora@uk.ibm.com">gatfora@uk.ibm.com</a><br>&gt; &gt; &gt;<br>&gt; \
&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; <a \
href="mailto:deepal@apache.org">deepal@apache.org</a><br> &gt; &gt; &gt; 26/09/2007 \
17:20<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; To<br>&gt; &gt; &gt; <a \
href="mailto:sandesha-cvs@ws.apache.org">sandesha-cvs@ws.apache.org</a><br>&gt; &gt; \
&gt; cc<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Subject <br>&gt; &gt; &gt; svn commit: \
r579708 - in<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; \
/webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2:<br>&gt; \
&gt; &gt; msgprocessors/ApplicationMsgProcessor.java storage/beans/RMSBean.java \
<br>&gt; &gt; &gt; workers/SenderWorker.java<br>&gt; &gt; &gt;<br>&gt; &gt; \
&gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; \
&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; \
--------------------------------------------------------------------- <br>&gt; &gt; \
To unsubscribe, e-mail: <a \
href="mailto:sandesha-dev-unsubscribe@ws.apache.org">sandesha-dev-unsubscribe@ws.apache.org</a><br>&gt; \
&gt; For additional commands, e-mail: <a \
href="mailto:sandesha-dev-help@ws.apache.org"> \
sandesha-dev-help@ws.apache.org</a><br>&gt; &gt;<br>&gt; \
&gt;<br>&gt;<br><br><br>--<br><br><br><br><br><br>============================<br>Deepal \
Jayasinghe<br>Lanka Software Foundation<br></blockquote></div><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic