| Package | com.kaazing.gateway.jms.client.stomp |
| Interface | public interface GenericMessageConsumer extends MessageConsumer |
| Property | Defined 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 | ||
![]() | messageListener : MessageListener
Gets the message consumer's
MessageListener. | MessageConsumer | |
| messageProcessor : GenericMessageProcessor
Returns the message selector for this consumer.
| GenericMessageConsumer | ||
![]() | messageSelector : String Gets this message consumer's message selector expression.
| MessageConsumer | |
| noLocal : Boolean [read-only]
Returns whether local messages should be delivered.
| GenericMessageConsumer | ||
| Method | Defined by | ||
|---|---|---|---|
|
clearQueuedMessages():void
| GenericMessageConsumer | ||
![]() |
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 | ||
|
processMessage(message:GenericMessage):void
Process inbound messages and deliver to consumer queue.
| GenericMessageConsumer | ||
![]() |
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 | |
![]() |
Not yet implemented.
Receives the next message if one is immediately available.
| MessageConsumer | |
| acknowledgeMode | property |
acknowledgeMode:int [read-write]Implementation
public function get acknowledgeMode():int
public function set acknowledgeMode(value:int):void
| destination | property |
destination:GenericDestination [read-only]Returns the destination for this consumer.
Implementation public function get destination():GenericDestination
| durableSubscriberName | property |
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
| exceptionListener | property |
exceptionListener:ExceptionListener [read-write]Implementation
public function get exceptionListener():ExceptionListener
public function set exceptionListener(value:ExceptionListener):void
| messageProcessor | property |
messageProcessor:GenericMessageProcessor [read-write]Returns the message selector for this consumer.
Implementation public function get messageProcessor():GenericMessageProcessor
public function set messageProcessor(value:GenericMessageProcessor):void
| noLocal | property |
noLocal:Boolean [read-only]Returns whether local messages should be delivered.
Implementation public function get noLocal():Boolean
| clearQueuedMessages | () | method |
public function clearQueuedMessages():void
| init | () | method |
public function init():voidMust be called after the message consumer is constructed
| isDurable | () | method |
public function isDurable():BooleanReturns whether the consumer is durable
ReturnsBoolean |
| processMessage | () | method |
public function processMessage(message:GenericMessage):voidProcess inbound messages and deliver to consumer queue.
Parametersmessage:GenericMessage |