Class AmqpChannel

AmqpChannel is a channel opened with the AMQP broker. Use AmqpClient.openChannel() to create a new AmqpChannel.


Field Summary
Function onbindqueue
          The bindqueue handler is called when a bind request completes.
Function oncancel
          The cancel handler is called when a cancel request completes.
Function onclose
          The close handler is called when the channel closes.
Function oncommittransaction
          The committransaction handler is called when a transaction commit completes.
Function onconsume
          The consume handler is called when a consume request completes.
Function ondeclareexchange
          The declareexchange handler is called when an exchange declaration completes.
Function ondeclarequeue
          The declarequeue handler is called when a queue declaration completes.
Function ondeleteexchange
          The deleteexchange handler is called when a request to delete an exchange completes.
Function ondeletequeue
          The deletequeue handler is called when a request to delete a queue completes.
Function onerror
          The error handler is called when the channel .
Function onflow
          The flow handler is called when a flow request completes.
Function onget
          The get handler is called when a get request returns.
Function onmessage
          The message handler is called when a message is received.
Function onopen
          The open handler is called when the channel opens.
Function onpurgequeue
          The purgequeue handler is called when a purge request completes.
Function onrecover
          The recover handler is called when a recover request completes.
Function onreject
          The reject handler is called when a reject request completes.
Function onrollbacktransaction
          The rollbacktransaction handler is called when a transaction rollback completes.
Function onselecttransaction
          The selecttransaction handler is called when a select request completes.
Function onunbindqueue
          The unbindqueue handler is called when a request to unbind a queue from and exchange completes.
 
Constructor Summary
AmqpChannel()
            AmqpChannel
 
Method Summary
 AmqpChannel ackBasic(config)
           This method acknowledges one or more messages delivered via the Deliver or Get-Ok methods.
 AmqpChannel bindQueue(config, callback)
           This method binds a queue to an exchange.
 AmqpChannel cancelBasic(config, callback)
           This method cancels a consumer.
 AmqpChannel closeChannel(config, callback)
           This method indicates that the sender wants to close the channel.
 AmqpChannel commitTx(callback)
           This method commits all message publications and acknowledgments performed in the current transaction.
 AmqpChannel consumeBasic(config, callback)
           This method asks the server to start a "consumer", which is a transient request for messages from a specific queue.
 AmqpChannel declareExchange(config, callback)
           This method creates an exchange if it does not already exist, and if the exchange exists, verifies that it is of the correct and expected class.
 AmqpChannel declareQueue(config, callback)
           This method creates or checks a queue.
 AmqpChannel deleteExchange(config, callback)
           This method deletes an exchange.
 AmqpChannel deleteQueue(config, callback)
           This method deletes a queue.
 AmqpChannel flowChannel(active, callback)
           This method asks the peer to pause or restart the flow of content data sent by a consumer.
 AmqpChannel flowOkChannel(active, callback)
           Confirms to the peer that a flow command was received and processed.
 AmqpChannel getBasic(config, callback)
           This method provides a direct access to the messages in a queue using a synchronous dialogue that is designed for specific types of application where synchronous functionality is more important than performance.
 AmqpChannel publishBasic(config, callback)
           This method publishes a message to a specific exchange.
 AmqpChannel purgeQueue(config, callback)
           This method removes all messages from a queue which are not awaiting acknowledgment.
 AmqpChannel qosBasic(config, callback)
           This method requests a specific quality of service.
 AmqpChannel recoverBasic(requeue, callback)
           This method asks the server to redeliver all unacknowledged messages on a specified channel.
 AmqpChannel rejectBasic(config)
           This is the overloaded form of AmqpChannel.rejectBasic() function that named parameters or arguments using the Configuration object.
 AmqpChannel rollbackTx(callback)
           This method abandons all message publications and acknowledgments performed in the current transaction.
 AmqpChannel selectTx(callback)
           This method sets the channel to use standard transactions.
 AmqpChannel unbindQueue(config, callback)
           This method unbinds a queue from an exchange.
 
Field Detail

onbindqueue

Function onbindqueue

oncancel

Function oncancel

onclose

Function onclose

oncommittransaction

Function oncommittransaction

onconsume

Function onconsume

ondeclareexchange

Function ondeclareexchange

ondeclarequeue

Function ondeclarequeue

ondeleteexchange

Function ondeleteexchange

ondeletequeue

Function ondeletequeue

onerror

Function onerror

onflow

Function onflow

onget

Function onget

onmessage

Function onmessage

onopen

Function onopen

onpurgequeue

Function onpurgequeue

onrecover

Function onrecover

onreject

Function onreject

onrollbacktransaction

Function onrollbacktransaction

onselecttransaction

Function onselecttransaction

onunbindqueue

Function onunbindqueue

Constructor Detail

AmqpChannel

AmqpChannel()

Method Detail

ackBasic

AmqpChannel ackBasic(config)

bindQueue

AmqpChannel bindQueue(config, callback)

cancelBasic

AmqpChannel cancelBasic(config, callback)

closeChannel

AmqpChannel closeChannel(config, callback)

commitTx

AmqpChannel commitTx(callback)

consumeBasic

AmqpChannel consumeBasic(config, callback)

declareExchange

AmqpChannel declareExchange(config, callback)

declareQueue

AmqpChannel declareQueue(config, callback)

deleteExchange

AmqpChannel deleteExchange(config, callback)

deleteQueue

AmqpChannel deleteQueue(config, callback)

flowChannel

AmqpChannel flowChannel(active, callback)

flowOkChannel

AmqpChannel flowOkChannel(active, callback)

getBasic

AmqpChannel getBasic(config, callback)

publishBasic

AmqpChannel publishBasic(config, callback)

purgeQueue

AmqpChannel purgeQueue(config, callback)

qosBasic

AmqpChannel qosBasic(config, callback)

recoverBasic

AmqpChannel recoverBasic(requeue, callback)

rejectBasic

AmqpChannel rejectBasic(config)

rollbackTx

AmqpChannel rollbackTx(callback)

selectTx

AmqpChannel selectTx(callback)

unbindQueue

AmqpChannel unbindQueue(config, callback)

Documentation generated by JsDoc Toolkit 1.3.3 on Thu Sep 25 2014 15:48:00 GMT-0700 (PDT)