Re: how to set message RetransmissionInterval when engaging sandesha
Sara Mitchell <saralmitchell-gM/[email protected]> Fri, 27 Nov 2009 13:02:39 +0000
| Newsgroups | gmane.comp.apache.webservices.fx.devel |
|---|---|
| Message-ID | <[email protected]> |
--000e0cdf93bc17ef1e047959e842 Content-Type: text/plain; charset=ISO-8859-1 Hello Soni, I'd suggest eliminating your custom module from the problem first. Either remove them from the flow to make sure that everything else is working fine or debug the flow through that inflowhandler to see what is happening. Thanks, Sara 2009/11/27 Swapna Soni <[email protected]> > Hello Sara, > > I am still facing the same issue. I have engaged the sandesha in > client program and in service's service.xml. I have custom modules also > engaged and its inflowHandler and outflowHandler takes little time to > complete the executing. In meantime client side sandesha is resending the > request and at the end client program is getting two responses in one > envelope. But response is coming only till inflowhandler, its not going till > client program. Could you please suggest me what is the issue and how could > i resolve it. > > Thanks, > Swapna Soni. > > ------------------------------ > *From:* Sara Mitchell [mailto:saralmitchell-gM/[email protected]] > *Sent:* Friday, November 27, 2009 5:05 PM > *To:* soni swapna > *Subject:* Re: how to set message RetransmissionInterval when engaging > sandesha > > Hello Soni, > > The Sandesha docs explain where to set the RetransmissionInterval in the > module.xml -> > http://ws.apache.org/sandesha/sandesha2/userGuide.html#retransmissioninterval > > - <#125358c8c1298450_> <sandesha2:RMAssertion> > - <#125358c8c1298450_> <wsp:Policy> > <sandesha2:AcknowledgementInterval>3000</ > sandesha2:AcknowledgementInterval> > <sandesha2:RetransmissionInterval>6000</sandesha2:RetransmissionInterval> > - <!-- > > '-1' conveys that there is no limit to the max. number of retransmissions. > > --> > <sandesha2:MaximumRetransmissionCount>10</ > sandesha2:MaximumRetransmissionCount> > <sandesha2:ExponentialBackoff>false</sandesha2:ExponentialBackoff> > <sandesha2:InactivityTimeout>60</sandesha2:InactivityTimeout> > <sandesha2:InactivityTimeoutMeasure>seconds</ > sandesha2:InactivityTimeoutMeasure> > - <!-- > > Once a sequence has been marked as deleted, or timed out, this is the length of time that the > > sequence will remain before all sequence state is totally removed > > --> > <sandesha2:SequenceRemovalTimeout>600</sandesha2:SequenceRemovalTimeout> > <sandesha2:SequenceRemovalTimeoutMeasure>seconds</ > sandesha2:SequenceRemovalTimeoutMeasure> > <sandesha2:InvokeInOrder>true</sandesha2:InvokeInOrder> > - <!-- > > These will not be overriden by service level policies > > --> > <sandesha2:MessageTypesToDrop>none</sandesha2:MessageTypesToDrop> > - <!-- > > This will not be overriden by service level policies > > --> > - <#125358c8c1298450_> <sandesha2:StorageManagers> > <sandesha2:InMemoryStorageManager> > org.apache.sandesha2.storage.inmemory.InMemoryStorageManager</ > sandesha2:InMemoryStorageManager> > <sandesha2:PermanentStorageManager> > org.apache.sandesha2.storage.inmemory.InMemoryStorageManager</ > sandesha2:PermanentStorageManager> > </sandesha2:StorageManagers> > - <!-- > > This will not be overriden by service level policies > > --> > <sandesha2:SecurityManager> > org.apache.sandesha2.security.dummy.DummySecurityManager</ > sandesha2:SecurityManager> > <sandesha2:ContextManager> > org.apache.sandesha2.context.DummyContextManager</sandesha2:ContextManager > > > <sandesha2:EPRDecorator>org.apache.sandesha2.addressing.EPRDecoratorImpl > </sandesha2:EPRDecorator> > - <#125358c8c1298450_> <sandesha2:MakeConnection> > <sandesha2:Enabled>true</sandesha2:Enabled> > <sandesha2:UseRMAnonURI>true</sandesha2:UseRMAnonURI> > </sandesha2:MakeConnection> > - <!-- > > <sandesha2:UseMessageSerialization>true</sandesha2:UseMessageSerialization> > > --> > <sandesha2:EnforceRM>false</sandesha2:EnforceRM> > </wsp:Policy> > </sandesha2:RMAssertion> > > > > A google search produces some useful stuff on the setUseSeparateListener() > function > http://www.mail-archive.com/[email protected]/msg04286.html > http://wso2.org/library/1092 > > > Hope that helps. > Sara > > > 2009/11/27 soni swapna <[email protected]> > >> >> Hi Sandesha Team, >> >> Could you please let me know how to seet the RetransmissionInterval >> time when engaging sandesha? And what value to set to >> setUseSeparateListener() function when using sendReceive() method to >> invoke >> a service. Its little urgent. Please response as soon as possible. >> >> Thanks, >> Swapna Soni. >> -- >> View this message in context: >> http://old.nabble.com/how-to-set-message-RetransmissionInterval-when-engaging-sandesha-tp26540828p26540828.html >> Sent from the Apache Sandesha mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > --000e0cdf93bc17ef1e047959e842 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello Soni,<br><br>I'd suggest eliminating your custom module from the = problem first.=A0 Either remove them from the flow to make sure that everyt= hing else is working fine or debug the flow through that inflowhandler to s= ee what is happening.<br> <br>Thanks,<br>Sara<br><br><div class=3D"gmail_quote">2009/11/27 Swapna Son= i <span dir=3D"ltr"><<a href=3D"mailto:[email protected]">[email protected]= m</a>></span><br><blockquote class=3D"gmail_quote" style=3D"border-left:= 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex= ;"> <div> <div dir=3D"ltr" align=3D"left"><span><font color=3D"#0000ff" size=3D"2" fa= ce=3D"Arial">Hello Sara,</font></span></div> <div dir=3D"ltr" align=3D"left"><span><font color=3D"#0000ff" size=3D"2" fa= ce=3D"Arial"></font></span>=A0</div> <div dir=3D"ltr" align=3D"left"><span><font color=3D"#0000ff" size=3D"2" fa= ce=3D"Arial">=A0=A0=A0=A0=A0=A0=A0 I am still=20 facing the same issue. I have engaged the sandesha in client program and in= =20 service's service.xml. I have custom modules also engaged and its inflo= wHandler=20 and outflowHandler takes little time to complete the executing. In meantime= =20 client side sandesha is resending the request and at the end client program= is=20 getting two responses in one envelope. But response is coming only till=20 inflowhandler, its not going till client program. Could you please suggest = me=20 what is the issue and how could i resolve it.</font></span></div> <div dir=3D"ltr" align=3D"left"><span><font color=3D"#0000ff" size=3D"2" fa= ce=3D"Arial"></font></span>=A0</div> <div dir=3D"ltr" align=3D"left"><span><font color=3D"#0000ff" size=3D"2" fa= ce=3D"Arial">Thanks,</font></span></div> <div dir=3D"ltr" align=3D"left"><span><font color=3D"#0000ff" size=3D"2" fa= ce=3D"Arial">Swapna Soni.</font></span></div><br> <div dir=3D"ltr" align=3D"left" lang=3D"en-us"> <hr> <font size=3D"2" face=3D"Tahoma"><div class=3D"im"><b>From:</b> Sara Mitche= ll=20 [mailto:<a href=3D"mailto:saralmitchell-gM/[email protected]" target=3D"_blank">s= aralmitchell-gM/[email protected]</a>] <br><b>Sent:</b> Friday, November 27, 2009= =20 5:05 PM<br><b>To:</b> soni swapna<br></div><b>Subject:</b> Re: how to set m= essage=20 RetransmissionInterval when engaging sandesha<br></font><br></div><div><div= ></div><div class=3D"h5"> <div></div>Hello Soni,<br><br>The Sandesha docs explain where to set the=20 RetransmissionInterval in the module.xml -> <a href=3D"http://ws.apache.= org/sandesha/sandesha2/userGuide.html#retransmissioninterval" target=3D"_bl= ank">http://ws.apache.org/sandesha/sandesha2/userGuide.html#retransmissioni= nterval</a><br> <br> <div style=3D"margin-left: 80px;"> <div style=3D"margin-left: 1em;"><a href=3D"#125358c8c1298450_">-</a> <span= ><</span><span>sandesha2:RMAssertion</span><span>></span></div> <div> <div> <div style=3D"margin-left: 1em;"><a href=3D"#125358c8c1298450_">-</a> <span= ><</span><span>wsp:Policy</span><span>></span></div> <div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:AcknowledgementInterval</span><span>></span><span>3000</span><span>&= lt;/</span><span>sandesha2:AcknowledgementInterval</span><span>></span>= =20 </div></div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:RetransmissionInterval</span><span>></span><span>6000</span><span>&l= t;/</span><span>sandesha2:RetransmissionInterval</span><span>></span>=20 </div></div> <div><span><a>-</a> <span><!--</span></span> <span><pre> '-1' co= nveys that there is no limit to the max. number of retransmissions.</pre></= span><span></span><span>--></span> </div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:MaximumRetransmissionCount</span><span>></span><span>10</span><span>= </</span><span>sandesha2:MaximumRetransmissionCount</span><span>></sp= an>=20 </div></div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:ExponentialBackoff</span><span>></span><span>false</span><span></= </span><span>sandesha2:ExponentialBackoff</span><span>></span>=20 </div></div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:InactivityTimeout</span><span>></span><span>60</span><span></</sp= an><span>sandesha2:InactivityTimeout</span><span>></span> </div></div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:InactivityTimeoutMeasure</span><span>></span><span>seconds</span><sp= an></</span><span>sandesha2:InactivityTimeoutMeasure</span><span>></s= pan>=20 </div></div> <div><span><a>-</a> <span><!--</span></span> <span><pre> Once a sequence= has been marked as deleted, or timed out, this is the length of time that = the<br> sequence will remain before all sequence state is totally re= moved </pre></span><span></span><span>--></span> </div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:SequenceRemovalTimeout</span><span>></span><span>600</span><span><= ;/</span><span>sandesha2:SequenceRemovalTimeout</span><span>></span>=20 </div></div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:SequenceRemovalTimeoutMeasure</span><span>></span><span>seconds</spa= n><span></</span><span>sandesha2:SequenceRemovalTimeoutMeasure</span><sp= an>></span>=20 </div></div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:InvokeInOrder</span><span>></span><span>true</span><span></</span= ><span>sandesha2:InvokeInOrder</span><span>></span> </div></div> <div><span><a>-</a> <span><!--</span></span> <span><pre> These will not = be overriden by service level policies </pre></span><span></span><span>--&g= t;</span> </div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:MessageTypesToDrop</span><span>></span><span>none</span><span></<= /span><span>sandesha2:MessageTypesToDrop</span><span>></span>=20 </div></div> <div><span><a>-</a> <span><!--</span></span> <span><pre> This will not b= e overriden by service level policies </pre></span><span></span><span>-->= ;</span> </div> <div> <div style=3D"margin-left: 1em;"><a href=3D"#125358c8c1298450_">-</a> <span= ><</span><span>sandesha2:StorageManagers</span><span>></span></div> <div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:InMemoryStorageManager</span><span>></span><span>org.apache.sandesha= 2.storage.inmemory.InMemoryStorageManager</span><span></</span><span>san= desha2:InMemoryStorageManager</span><span>></span> </div> </div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:PermanentStorageManager</span><span>></span><span>org.apache.sandesh= a2.storage.inmemory.InMemoryStorageManager</span><span></</span><span>sa= ndesha2:PermanentStorageManager</span><span>></span> </div> </div> <div><span></span><span></</span><span>sandesha2:StorageManagers</span><= span>></span></div></div></div> <div><span><a>-</a> <span><!--</span></span> <span><pre> This will not b= e overriden by service level policies </pre></span><span></span><span>-->= ;</span> </div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:SecurityManager</span><span>></span><span>org.apache.sandesha2.secur= ity.dummy.DummySecurityManager</span><span></</span><span>sandesha2:Secu= rityManager</span><span>></span> </div> </div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:ContextManager</span><span>></span><span>org.apache.sandesha2.contex= t.DummyContextManager</span><span></</span><span>sandesha2:ContextManage= r</span><span>></span> </div> </div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:EPRDecorator</span><span>></span><span>org.apache.sandesha2.addressi= ng.EPRDecoratorImpl</span><span></</span><span>sandesha2:EPRDecorator</s= pan><span>></span> </div> </div> <div> <div style=3D"margin-left: 1em;"><a href=3D"#125358c8c1298450_">-</a> <span= ><</span><span>sandesha2:MakeConnection</span><span>></span></div> <div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:Enabled</span><span>></span><span>true</span><span></</span><span= >sandesha2:Enabled</span><span>></span> </div></div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:UseRMAnonURI</span><span>></span><span>true</span><span></</span>= <span>sandesha2:UseRMAnonURI</span><span>></span> </div></div> <div><span></span><span></</span><span>sandesha2:MakeConnection</span><s= pan>></span></div></div></div> <div><span><a>-</a> <span><!--</span></span> <span><pre> <sandesha2:U= seMessageSerialization>true</sandesha2:UseMessageSerialization> </= pre></span><span></span><span>--></span> </div> <div> <div style=3D"margin-left: 1em;"><span></span><span><</span><span>sandes= ha2:EnforceRM</span><span>></span><span>false</span><span></</span><s= pan>sandesha2:EnforceRM</span><span>></span> </div></div> <div><span></span><span></</span><span>wsp:Policy</span><span>></span= ></div></div></div> <div><span></span><span></</span><span>sandesha2:RMAssertion</span><span= >></span></div></div></div><br><br><br>A google search produces some=20 useful stuff on the setUseSeparateListener() function<br><a href=3D"http://= www.mail-archive.com/[email protected]/msg04286.html" target=3D"_b= lank">http://www.mail-archive.com/[email protected]/msg04286.html<= /a><br> <a href=3D"http://wso2.org/library/1092" target=3D"_blank">http://wso2.org/= library/1092</a><br><br> <div class=3D"gmail_quote"><br>Hope that helps.<br>Sara<br><br><br>2009/11/= 27 soni=20 swapna <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"= _blank">[email protected]</a>></span><br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Hi=20 Sandesha Team,<br><br>Could you please let me know how to seet the=20 RetransmissionInterval<br>time when engaging sandesha? And what value to = set=20 to<br>setUseSeparateListener() function when using sendReceive() method t= o=20 invoke<br>a service. Its little urgent. Please response as soon as=20 possible.<br><br>Thanks,<br>Swapna Soni.<br><font color=3D"#888888">--<br= >View=20 this message in context: <a href=3D"http://old.nabble.com/how-to-set-mess= age-RetransmissionInterval-when-engaging-sandesha-tp26540828p26540828.html"= target=3D"_blank">http://old.nabble.com/how-to-set-message-RetransmissionI= nterval-when-engaging-sandesha-tp26540828p26540828.html</a><br> Sent=20 from the Apache Sandesha mailing list archive at=20 Nabble.com.<br><br><br>--------------------------------------------------= -------------------<br>To=20 unsubscribe, e-mail: <a href=3D"mailto:[email protected]= .org" target=3D"_blank">[email protected]</a><br>For= =20 additional commands, e-mail: <a href=3D"mailto:[email protected]= e.org" target=3D"_blank">[email protected]</a><br><br></font>= </blockquote></div><br></div></div></div> </blockquote></div><br> --000e0cdf93bc17ef1e047959e842--