| Package | mx.messaging |
| Class | public class Producer |
| Subclasses | AsyncRequest |
Hide MXML Syntax
The <mx:Producer> tag inherits all the tag attributes of its superclass, and adds the following tag attributes:
<mx:Producer
Properties
defaultHeaders="No default."
/>
| Property | Defined By | ||
|---|---|---|---|
| subtopic : String
Provides access to the subtopic for the remote destination that the MessageAgent uses.
| Producer | ||
| Method | Defined By | ||
|---|---|---|---|
|
Producer()
Constructs a Producer.
| Producer | ||
| Method | Defined By | ||
|---|---|---|---|
| Producer | |||
| subtopic | property |
subtopic:String [read-write] Provides access to the subtopic for the remote destination that the MessageAgent uses.
This property can be used as the source for data binding.
public function get subtopic():String
public function set subtopic(value:String):void
| Producer | () | Constructor |
public function Producer()
Constructs a Producer.
function sendMessage():void
{
var producer:Producer = new Producer();
producer.destination = "NASDAQ";
var msg:AsyncMessage = new AsyncMessage();
msg.headers.operation = "UPDATE";
msg.body = {"SYMBOL":50.00};
producer.send(msg);
}
| internalSend | () | method |
protected override function internalSend(message:IMessage, waitForClientId:Boolean = true):void
Parameters
message:IMessage |
|
waitForClientId:Boolean (default = true) |
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/mx/messaging/Producer.html