Packagecom.kaazing.gateway.jms.client.stomp
Interfacepublic interface GenericMessageConsumer extends MessageConsumer



Public Properties
 PropertyDefined by
  acknowledgeMode : int
GenericMessageConsumer
  destination : GenericDestination
[read-only] Returns the destination for this consumer.
GenericMessageConsumer
  durableSubscriberName : String
[read-only] Returns the durable subscriber name for this consumer, or null if not a Topic Subscriber
GenericMessageConsumer
  exceptionListener : ExceptionListener
GenericMessageConsumer
 InheritedmessageListener : MessageListener
Gets the message consumer's MessageListener.
MessageConsumer
  messageProcessor : GenericMessageProcessor
Returns the message selector for this consumer.
GenericMessageConsumer
 InheritedmessageSelector : String
Gets this message consumer's message selector expression.
MessageConsumer
  noLocal : Boolean
[read-only] Returns whether local messages should be delivered.
GenericMessageConsumer
Public Methods
 MethodDefined by
  
GenericMessageConsumer
 Inherited
close(callback:Function = null):VoidFuture
Closes the message consumer.
MessageConsumer
  
init():void
Must be called after the message consumer is constructed
GenericMessageConsumer
  
isDurable():Boolean
Returns whether the consumer is durable
GenericMessageConsumer
  
Process inbound messages and deliver to consumer queue.
GenericMessageConsumer
 Inherited
receive(timeout:int = 0, callback:Function = null):MessageFuture
Not yet implemented. Receives the next message produced for this message consumer, that arrives within the specified timeout interval.
MessageConsumer
 Inherited
Not yet implemented. Receives the next message if one is immediately available.
MessageConsumer
Property detail
acknowledgeModeproperty
acknowledgeMode:int  [read-write]Implementation
    public function get acknowledgeMode():int
    public function set acknowledgeMode(value:int):void
destinationproperty 
destination:GenericDestination  [read-only]

Returns the destination for this consumer.

Implementation
    public function get destination():GenericDestination
durableSubscriberNameproperty 
durableSubscriberName:String  [read-only]

Returns the durable subscriber name for this consumer, or null if not a Topic Subscriber

Implementation
    public function get durableSubscriberName():String
exceptionListenerproperty 
exceptionListener:ExceptionListener  [read-write]Implementation
    public function get exceptionListener():ExceptionListener
    public function set exceptionListener(value:ExceptionListener):void
messageProcessorproperty 
messageProcessor:GenericMessageProcessor  [read-write]

Returns the message selector for this consumer.

Implementation
    public function get messageProcessor():GenericMessageProcessor
    public function set messageProcessor(value:GenericMessageProcessor):void
noLocalproperty 
noLocal:Boolean  [read-only]

Returns whether local messages should be delivered.

Implementation
    public function get noLocal():Boolean
Method detail
clearQueuedMessages()method
public function clearQueuedMessages():void
init()method 
public function init():void

Must be called after the message consumer is constructed

isDurable()method 
public function isDurable():Boolean

Returns whether the consumer is durable

Returns
Boolean
processMessage()method 
public function processMessage(message:GenericMessage):void

Process inbound messages and deliver to consumer queue.

Parameters
message:GenericMessage