Mantis - Hessian
|Viewing Issue Advanced Details|
|ID:||Category:||Severity:||Reproducibility:||Date Submitted:||Last Update:|
|2572||feature||always||04-04-08 07:30||07-11-08 09:06|
|ETA:||none||Fixed in Version:||3.1.6|
|Summary:||0002572: Hessian/Flex: hessian.client.HessianMessage never sets its messageId|
I've been adding some debug/logging to my application to track messages sent and received, but it's hard to line them up because HessianMessage never sets a unique messageId (it's always null).
If HessianMessage just extended mx.messaging.message.AbstractMessage instead of implementing IMessage, it would pick up the code that sets the Id. In fact, the whole class would just boil down to this:
internal class HessianMessage extends AbstractMessage
public function HessianMessage(body:Object, destination:String)
this.body = body;
this.destination = destination;
I've been running my app with this change (using Flex 2.0.1) and it seems to work ok.
|Steps To Reproduce:|
See http://opensource.adobe.com/svn/opensource/flex/sdk/tags/184.108.40.2067/frameworks/projects/rpc/src/mx/messaging/messages/AbstractMessage.as [^]
Notice that that "function get messageId()" assigns a uuid to the messageId if none was set before.
|There are no notes attached to this issue.|