|
From: Patrick Y. <kc...@ce...> - 2006-09-07 12:43:35
|
Hello, It seems that there are some confusions here, so I have checked and=20 traced the source code once again. And here is my finding: 1. I found that the ACK over SMTP does work. So I apologize for I have=20 given out wrong information to the list before. 2. The reason why the line 464 of MessageServiceHandler.java ignores the=20 returned ACK is that, the returned message would only be processed in=20 the case of SYNC_REPLY. In SMTP case, all messages are sent in=20 asynchronous mode. Therefore, in our mail handling method, we ignore the=20 message generated for synchronous response, and the message generated=20 for asynchronous response will be processed before the return of the=20 onMessage() method. 3. Like DW has said, we don't recommend to use it when it is deployed in=20 an open environment, where the latency of the network is too unpredictabl= e. Hope this removes the confusion caused. Sorry about that, again. Regards, -Patrick Arnstein Vestad wrote: > That's very interesting to hear - it all seemed very strange when I tri= ed it and I researched both on this list and by contacting the developers= who seemed to confirm my findings that acknowledgement messages was gene= rated and persisted locally, but never transmitted over the SMTP. When I = researched the problem I also got this message from Patrick:=20 > > =20 >> This probably is a bug. Hermes cannot handle well of the ACK message w= hen >working with SMTP protocol. For details, please see line 464 of >Mes= sageServiceHandler.java in the latest source tree. The handler simply >ig= nore the ACK message generated. >> >> Regards, -Patrick >> =20 > > We're currently not planning to implement hermes again - but if we do I= 'll give you a call, always nice working with you! > > > -----Opprinnelig melding----- > Fra: ebx...@li... [mailto:ebxmlms-gene= ral...@li...] P=E5 vegne av Torsten Kirschner > Sendt: 7. september 2006 13:23 > Til: 'General discussions' > Emne: Re: [ebxmlms-general] Hermes servlet problem > > Hi again, > > those are two different statements, "Hermes1 doesn't support ebxml reli= able > messaging over the SMTP protocol" and "we certainly couldn't get it > working". > The first is incorrect, while I take your word for the second. > > I do not know what Patrick means by "a complete acknowledgement mechani= sm on > SMTP". The ebXML reliable messaging in Hermes1 is transport-agnostic. T= he > SMTP/POP transport adapter is certainly very simple, but then again, so= are > these protocols. Altogether it just works. There is no "problem". > > We have it running in production, interoperable with different ebXML MS > implementations. > If You are interested, I could show You how it's done.=20 > > best regards > Torsten > > -----Opprinnelig melding----- > Fra: ebx...@li... > [mailto:ebx...@li...] P=E5 vegne av Ar= nstein > Vestad > Sendt: 7. september 2006 10:03 > Til: General discussions > Emne: Re: [ebxmlms-general] Hermes servlet problem > > > =20 >> Torsten Kirschner >> Sendt: 7. september 2006 08:17 >> Til: 'General discussions' >> Emne: Re: [ebxmlms-general] [SPAM] - Hermes servlet problem >> =20 > -BayesianFilter >detected spam > > =20 >> Hi Arnstein, >> >> I think You might be wrong here.=20 >> >> Hermes1 does support reliable messaging, and if I recall correctly, >> =20 > this is > =20 >> implemented in a transport-agnostic way.=20 >> >> Anyway, I have seen Hermes1 both send and receive acknowledgement >> =20 > messages, > =20 >> as well as re-send messages if an acknowledgement was not received in >> =20 > time. > =20 >> All over SMTP. >> =20 > > Well - we certainly couldn't get it working, and this is all very stran= ge, > as I had confirmation of the problem from the developers as well as an = offer > of paid consulting work to fix it: > > > =20 >>>> -----Opprinnelig melding----- >>>> Fra: Patrick Yee [mailto:kc...@ce...] >>>> Sendt: 20. januar 2006 03:51 >>>> Til: Arnstein Vestad >>>> Kopi: 'ope...@ce...' >>>> Emne: Re: Smtp-fix for Hermes 1 >>>> >>>> Hi Arnstein, >>>> >>>> Thanks for using Hermes. >>>> >>>> We did not implement a complete acknowledgment mechanism on SMTP.=20 >>>> =20 > [...] > > > -----------------------------------------------------------------------= -- > Using Tomcat but need to do more? Need to support web services, securit= y? > Get stuff done quickly with pre-integrated technology to make your job = easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > ebxmlms-general mailing list > ebx...@li... > https://lists.sourceforge.net/lists/listinfo/ebxmlms-general > > -----------------------------------------------------------------------= -- > Using Tomcat but need to do more? Need to support web services, securit= y? > Get stuff done quickly with pre-integrated technology to make your job = easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > ebxmlms-general mailing list > ebx...@li... > https://lists.sourceforge.net/lists/listinfo/ebxmlms-general > > =20 --=20 Regards, Patrick Yee Center for E-Commerce Infrastructure Development Making E-Commerce Everyday Commerce |