|
From: Patrick Y. <kc...@ce...> - 2003-06-05 02:56:04
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"> <title></title> </head> <body> I see your point. By the way, are you (and anybody reading this message) calling those methods in your system? Will changing the method signatures breaks your code?<br> <br> Regards, -Patrick<br> <br> <br> <br> <br> Mayne, Peter wrote:<br> <blockquote type="cite" cite="mid...@s-..."> <meta http-equiv="Content-Type" content="text/html; "> <meta name="Generator" content="MS Exchange Server version 5.5.2654.45"> <title>RE: [ebxmlms-develop] Request musings (including nasty catch)</title> <p><font size="2"><quote></font> <br> <font size="2">getPendingMessages() is for admin purpose. It lets you see how many messages are in the "outbox" and lets you make a correct decision on whether you should stop Hermes or not. </font></p> <p><font size="2">getReceivedMessageIds() is for message receiving purpose. That is, if you use NoMessageListenerImpl, there will be no URL posting to you, nor onMessage() callback. You have to call that function to find out how many messages are in the "inbox".</font></p> <p><font size="2">So as you see, they are in two different categories. We don't see inconsistency here.</font> <br> <font size="2"><quote></font> </p> <p><font size="2">The inconsistency I was referring to is in the naming. getPendingMessages() should really be called getPendingMessageIds().</font></p> <p><font size="2">Also, getPendingMessages() returns a String[], but getMessageStatus() takes an ArrayList. No big deal, but slightly awkward.</font></p> <p><font size="2">PJDM</font> <br> <font size="2">--</font> <br> <font size="2">Peter Mayne</font> <br> <font size="2">Technology Consultant</font> <br> <font size="2">Spherion Technology Solutions</font> <br> <font size="2">Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602</font> <br> <font size="2">T: 61 2 62689727 F: 61 2 62689777</font> </p> <font size="3" color="BLUE"> <pre>The information contained in this email and any attachments to it: (a) may be confidential and if you are not the intended recipient, any interference with, use, disclosure or copying of this material is unauthorised and prohibited; and (b) may contain personal information of the recipient and/or the sender as defined under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to collect, hold and use such information and any personal information contained in a response to this email, for any reasonable purpose in the ordinary course of Spherion's business, including forwarding this email internally or disclosing it to a third party. All personal information collected by Spherion will be handled in accordance with Spherion's Privacy Policy. If you have received this email in error, please notify the sender and delete it. (c) you agree not to employ or arrange employment for any candidate(s) supplied in this email and any attachments without first entering into a contractual agreement with Spherion. You further agree not to divulge any information contained in this document to any person(s) or entities without the express permission of Spherion. </pre> </font> </blockquote> </body> </html> |