Packagecom.kaazing.gateway.amqp.client
Classpublic class AmqpEvent
InheritanceAmqpEvent Inheritance flash.events.Event

AmqpEvent is dispatched to event listeners and callback functions registered when using AmqpClient and AmqpChannel



Public Properties
 PropertyDefined by
  amqpProperties : AmqpProperties
The amqpProperties field contains the content properties for message events.
AmqpEvent
  args : Object
AmqpEvent
  body : ByteBuffer
The body field contains the payload of message events.
AmqpEvent
  message : String
Holds the error message when the event is of AmqpEvent.ERROR type.
AmqpEvent
  source : Object
The source field contains the reference to the object that dispatched the event.
AmqpEvent
Public Methods
 MethodDefined by
  
AmqpEvent(sender:Object, frame:Object, headers:Object = null)
AmqpEvent
Public Constants
 ConstantDefined by
  BINDQUEUE : String = "bindqueue"
[static]
AmqpEvent
  CANCEL : String = "cancel"
[static]
AmqpEvent
  CLOSE : String = "close"
[static]
AmqpEvent
  COMMITTRANSACTION : String = "committransaction"
[static]
AmqpEvent
  CONSUME : String = "consume"
[static]
AmqpEvent
  DECLAREEXCHANGE : String = "declareexchange"
[static]
AmqpEvent
  DECLAREQUEUE : String = "declarequeue"
[static]
AmqpEvent
  DELETEEXCHANGE : String = "deleteexchange"
[static]
AmqpEvent
  DELETEQUEUE : String = "deletequeue"
[static]
AmqpEvent
  ERROR : String = "error"
[static]
AmqpEvent
  FLOW : String = "flow"
[static]
AmqpEvent
  GET : String = "get"
[static]
AmqpEvent
  MESSAGE : String = "message"
[static]
AmqpEvent
  OPEN : String = "open"
[static]
AmqpEvent
  PURGEQUEUE : String = "purgequeue"
[static]
AmqpEvent
  RECOVER : String = "recover"
[static]
AmqpEvent
  REJECT : String = "reject"
[static]
AmqpEvent
  ROLLBACKTRANSACTION : String = "rollbacktransaction"
[static]
AmqpEvent
  SELECTTRANSACTION : String = "selecttransaction"
[static]
AmqpEvent
  UNBINDQUEUE : String = "unbindqueue"
[static]
AmqpEvent
Property detail
amqpPropertiesproperty
public var amqpProperties:AmqpProperties

The amqpProperties field contains the content properties for message events.

argsproperty 
public var args:Object

bodyproperty 
public var body:ByteBuffer

The body field contains the payload of message events.

messageproperty 
public var message:String

Holds the error message when the event is of AmqpEvent.ERROR type. Otherwise, it contains null.

sourceproperty 
public var source:Object

The source field contains the reference to the object that dispatched the event. This could be either AmqpClient or AmqpChannel instance.

Constructor detail
AmqpEvent()constructor
public function AmqpEvent(sender:Object, frame:Object, headers:Object = null)Parameters
sender:Object
 
frame:Object
 
headers:Object (default = null)
Constant detail
BINDQUEUEconstant
public static const BINDQUEUE:String = "bindqueue"
CANCELconstant 
public static const CANCEL:String = "cancel"
CLOSEconstant 
public static const CLOSE:String = "close"
COMMITTRANSACTIONconstant 
public static const COMMITTRANSACTION:String = "committransaction"
CONSUMEconstant 
public static const CONSUME:String = "consume"
DECLAREEXCHANGEconstant 
public static const DECLAREEXCHANGE:String = "declareexchange"
DECLAREQUEUEconstant 
public static const DECLAREQUEUE:String = "declarequeue"
DELETEEXCHANGEconstant 
public static const DELETEEXCHANGE:String = "deleteexchange"
DELETEQUEUEconstant 
public static const DELETEQUEUE:String = "deletequeue"
ERRORconstant 
public static const ERROR:String = "error"
FLOWconstant 
public static const FLOW:String = "flow"
GETconstant 
public static const GET:String = "get"
MESSAGEconstant 
public static const MESSAGE:String = "message"
OPENconstant 
public static const OPEN:String = "open"
PURGEQUEUEconstant 
public static const PURGEQUEUE:String = "purgequeue"
RECOVERconstant 
public static const RECOVER:String = "recover"
REJECTconstant 
public static const REJECT:String = "reject"
ROLLBACKTRANSACTIONconstant 
public static const ROLLBACKTRANSACTION:String = "rollbacktransaction"
SELECTTRANSACTIONconstant 
public static const SELECTTRANSACTION:String = "selecttransaction"
UNBINDQUEUEconstant 
public static const UNBINDQUEUE:String = "unbindqueue"