|
From: Gait B. <gai...@ti...> - 2005-09-09 07:14:04
|
synchronous here only applies to the MSH-MSH communication (it's an ebMS setting). What it means is that the receiving MSH must return the acknowledgment on the SOAP response, rather than in a separate message. I believe Hermes will hold the ack until the receiving client has picked up the message (i.e. until onMessage returned), but I'm not completely sure. However, request.send does *not* wait for the acknowledgment. request.sendReliably probably does. Patrick you may want to give the final verdict, my memory is a little blurred here.. pso...@no... wrote: > > Wahid, > thx for your help.... > but perhaps, i don't understand something.... > I 've modify sample LoopBack like your sample... > > I have this output : > Try to send......... > // request.send(..) > Message sent ... > sleep for 10 seconds......... > > Message received... // onMessage > > I should hope this output : > Try to send......... > // request.send(..) > Message received... // onMessage > Message sent ... > sleep for 10 seconds......... > > Is it possible and how ? is there an issue ? or is it wrong to do > this ? > > thx for your help > > Regards > Pascal > > > > > > *Wahid Muhammad <wa...@ph...>* > > 08/09/05 12:49 > > > Pour : "'ebx...@li...'" > <ebx...@li...> > cc : "'pso...@no...'" > <pso...@no...> > Objet : RE: [ebxmlms-general] LoopBack sample > > > > > Pascal, > > Im sure you can send a synchronous message using the constructor of > the request object.... > > Request mshReq = new Request( > ac, new URL(toMshUrl), this, > transportType,1,"3000",Constants.SYNC_REPLY_MODE_SIGNALS_AND_RESPONSE > ,false,"3000"); > > If you use the tellisense on the constants object and you will see the > different transport types. > > Hope this helps > > Regards > > Wahid > > ------------------------------------------------------------------------ > > *From:* pso...@no... > [mailto:pso...@no...] * > Sent:* 08 September 2005 11:24* > To:* ebx...@li...* > Subject:* [ebxmlms-general] LoopBack sample > > > Hi, > I'm an hermes new user.. and i try to understand and use it........ > > Is'it possible to send synchronus message (It seems yes) with the > solution ? and how ? for example in LoopBack sample what are the > modifications ? > > In my configuration, it seems that all sended messages are received > when i re-execute LooBack... > > Regards, > Pascal > |