I think it's a great idea. If you have a situation where you like to publish information that is sampled with very high frequency in your device it could save a lot of performance if you can buffer the samples and send them in an array (timestamped) with some interval, say every 10 seconds or so.
An array of Elements will also result in less bandwidth usage since the overhead in the SOAP message will be the same if you send one sample or a thousand. -----Original Message----- From: Vinh Nguyen (vinguye2) [mailto:[EMAIL PROTECTED] Sent: Fri 2/16/2007 2:16 AM To: [email protected] Subject: publish array of Elements Currently, NotificationProducer.publish() sends out a single Element. Out of curiousity, would it make sense to enhance it to publish an array of Elements? A workaround is to wrap the array in a parent Element, and publish the parent. But I'm trying to see if anyone else has a reason to publish an array of elements.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
