import mx.controls.Alert;
import mx.events.CollectionEvent;
import mx.messaging.messages.AsyncMessage;
import mx.messaging.events.MessageEvent;
import mx.collections.ArrayCollection;
[Bindable]
private var myData:ArrayCollection = new ArrayCollection(
[{name:"A", sales:5.00},
{name:"B", sales:8.00},
{name:"C", sales:2.00}]);
private function initApp():void
{
myConsumer.subscribe();
var message:AsyncMessage = new AsyncMessage();
message.body = myData;
myProducer.send(message);
}
private function messageHandler(event:MessageEvent):void
{
}