Packageweborb.messaging
Classpublic class WeborbConsumer
InheritanceWeborbConsumer Inheritance mx.messaging.Consumer

WeborbConsumer subscribes to a destination to receive messages. Consumers send subscribe and unsubscribe messages which generate a MessageAckEvent or MessageFaultEvent depending upon whether the operation was successful or not. Once subscribed, a WeborbConsumer dispatches a MessageEvent for each message it receives. WeborbConsumer provides the ability to filter messages using a selector. These selectors must be understood by the destination.



Public Properties
 PropertyDefined By
  subqueue : String
[write-only] Setting the subqueue when the Consumer is connected and subscribed has the side effect of unsubscribing and resubscribing the consumer.
WeborbConsumer
Public Methods
 MethodDefined By
  
WeborbConsumer(destination:String = null)
Create an instance of consumer and optionally initialize with the destination
WeborbConsumer
Property Detail
subqueueproperty
subqueue:String  [write-only]

Setting the subqueue when the Consumer is connected and subscribed has the side effect of unsubscribing and resubscribing the consumer.


Implementation
    public function set subqueue(value:String):void
Constructor Detail
WeborbConsumer()Constructor
public function WeborbConsumer(destination:String = null)

Create an instance of consumer and optionally initialize with the destination

Parameters
destination:String (default = null)