Methods
addConfirmListener
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:105
Parameters
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:111
Parameters
Returns void
basicAck
basicAck( deliveryTag: number , multiple: boolean ) : PromiseLike < void >
basicAck( deliveryTag: number , multiple: boolean , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:43
Parameters
deliveryTag: number
multiple: boolean
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:49
Parameters
deliveryTag: number
multiple: boolean
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
basicConsumer
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:73
Parameters
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:77
Parameters
Returns void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:82
Parameters
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:87
Parameters
Returns void
basicGet
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:64
Parameters
queue: string
autoAck: boolean
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:69
Parameters
Returns void
basicNack
basicNack( deliveryTag: number , multiple: boolean , requeue: boolean ) : PromiseLike < void >
basicNack( deliveryTag: number , multiple: boolean , requeue: boolean , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:54
Parameters
deliveryTag: number
multiple: boolean
requeue: boolean
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:59
Parameters
deliveryTag: number
multiple: boolean
requeue: boolean
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
basicPublish
basicPublish( exchange: string , routingKey: string , body: Buffer ) : PromiseLike < void >
basicPublish( exchange: string , routingKey: string , body: Buffer , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
basicPublish( exchange: string , routingKey: string , properties: any , body: Buffer ) : PromiseLike < void >
basicPublish( exchange: string , routingKey: string , properties: any , body: Buffer , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:93
Parameters
exchange: string
routingKey: string
body: Buffer
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:99
Parameters
exchange: string
routingKey: string
body: Buffer
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:365
Parameters
exchange: string
routingKey: string
properties: any
body: Buffer
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:371
Parameters
exchange: string
routingKey: string
properties: any
body: Buffer
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
basicPublishWithDeliveryTag
basicPublishWithDeliveryTag( exchange: string , routingKey: string , properties: any , body: Buffer , deliveryTagHandler: ( ( res: number ) => void ) | Handler < number > | null | undefined ) : PromiseLike < void >
basicPublishWithDeliveryTag( exchange: string , routingKey: string , properties: any , body: Buffer , deliveryTagHandler: ( ( res: number ) => void ) | Handler < number > | null | undefined , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:380
Parameters
exchange: string
routingKey: string
properties: any
body: Buffer
deliveryTagHandler: ( ( res: number ) => void ) | Handler < number > | null | undefined
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:389
Parameters
exchange: string
routingKey: string
properties: any
body: Buffer
deliveryTagHandler: ( ( res: number ) => void ) | Handler < number > | null | undefined
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
basicQos
basicQos( prefetchCount: number ) : PromiseLike < void >
basicQos( prefetchCount: number , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
basicQos( prefetchCount: number , global: boolean ) : PromiseLike < void >
basicQos( prefetchCount: number , global: boolean , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
basicQos( prefetchSize: number , prefetchCount: number , global: boolean ) : PromiseLike < void >
basicQos( prefetchSize: number , prefetchCount: number , global: boolean , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:153
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:159
Parameters
prefetchCount: number
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:165
Parameters
prefetchCount: number
global: boolean
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:171
Parameters
prefetchCount: number
global: boolean
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:180
Parameters
prefetchSize: number
prefetchCount: number
global: boolean
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:189
Parameters
prefetchSize: number
prefetchCount: number
global: boolean
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
confirmSelect
confirmSelect( ) : PromiseLike < void >
confirmSelect( resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:117
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:123
Parameters
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
exchangeBind
exchangeBind( destination: string , source: string , routingKey: string ) : PromiseLike < void >
exchangeBind( destination: string , source: string , routingKey: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
exchangeBind( destination: string , source: string , routingKey: string , arguments: {} ) : PromiseLike < void >
exchangeBind( destination: string , source: string , routingKey: string , arguments: {} , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:224
Parameters
destination: string
source: string
routingKey: string
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:229
Parameters
destination: string
source: string
routingKey: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:234
Parameters
destination: string
source: string
routingKey: string
arguments: {}
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:239
Parameters
destination: string
source: string
routingKey: string
arguments: {}
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
exchangeDeclare
exchangeDeclare( exchange: string , type: string , durable: boolean , autoDelete: boolean ) : PromiseLike < void >
exchangeDeclare( exchange: string , type: string , durable: boolean , autoDelete: boolean , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
exchangeDeclare( exchange: string , type: string , durable: boolean , autoDelete: boolean , config: {} ) : PromiseLike < void >
exchangeDeclare( exchange: string , type: string , durable: boolean , autoDelete: boolean , config: {} , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:194
Parameters
exchange: string
type: string
durable: boolean
autoDelete: boolean
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:199
Parameters
exchange: string
type: string
durable: boolean
autoDelete: boolean
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:204
Parameters
exchange: string
type: string
durable: boolean
autoDelete: boolean
config: {}
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:209
Parameters
exchange: string
type: string
durable: boolean
autoDelete: boolean
config: {}
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
exchangeDelete
exchangeDelete( exchange: string ) : PromiseLike < void >
exchangeDelete( exchange: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:214
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:219
Parameters
exchange: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
exchangeUnbind
exchangeUnbind( destination: string , source: string , routingKey: string ) : PromiseLike < void >
exchangeUnbind( destination: string , source: string , routingKey: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
exchangeUnbind( destination: string , source: string , routingKey: string , arguments: {} ) : PromiseLike < void >
exchangeUnbind( destination: string , source: string , routingKey: string , arguments: {} , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:244
Parameters
destination: string
source: string
routingKey: string
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:249
Parameters
destination: string
source: string
routingKey: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:254
Parameters
destination: string
source: string
routingKey: string
arguments: {}
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:259
Parameters
destination: string
source: string
routingKey: string
arguments: {}
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
isConnected
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:344
Returns boolean
isOpenChannel
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:359
Returns boolean
messageCount
messageCount( queue: string ) : PromiseLike < number >
messageCount( queue: string , resultHandler: ( ( res: AsyncResult < number > ) => void ) | Handler < AsyncResult < number > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:314
Parameters
Returns PromiseLike < number >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:319
Parameters
queue: string
resultHandler: ( ( res: AsyncResult < number > ) => void ) | Handler < AsyncResult < number > >
Returns void
queueBind
queueBind( queue: string , exchange: string , routingKey: string ) : PromiseLike < void >
queueBind( queue: string , exchange: string , routingKey: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
queueBind( queue: string , exchange: string , routingKey: string , arguments: {} ) : PromiseLike < void >
queueBind( queue: string , exchange: string , routingKey: string , arguments: {} , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:274
Parameters
queue: string
exchange: string
routingKey: string
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:279
Parameters
queue: string
exchange: string
routingKey: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:284
Parameters
queue: string
exchange: string
routingKey: string
arguments: {}
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:289
Parameters
queue: string
exchange: string
routingKey: string
arguments: {}
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
queueDeclare
queueDeclare( queue: string , durable: boolean , exclusive: boolean , autoDelete: boolean ) : PromiseLike < any >
queueDeclare( queue: string , durable: boolean , exclusive: boolean , autoDelete: boolean , resultHandler: ( ( res: AsyncResult < any > ) => void ) | Handler < AsyncResult < any > > ) : void
queueDeclare( queue: string , durable: boolean , exclusive: boolean , autoDelete: boolean , config: {} ) : PromiseLike < any >
queueDeclare( queue: string , durable: boolean , exclusive: boolean , autoDelete: boolean , config: {} , resultHandler: ( ( res: AsyncResult < any > ) => void ) | Handler < AsyncResult < any > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:394
Parameters
queue: string
durable: boolean
exclusive: boolean
autoDelete: boolean
Returns PromiseLike < any >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:399
Parameters
queue: string
durable: boolean
exclusive: boolean
autoDelete: boolean
resultHandler: ( ( res: AsyncResult < any > ) => void ) | Handler < AsyncResult < any > >
Returns void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:404
Parameters
queue: string
durable: boolean
exclusive: boolean
autoDelete: boolean
config: {}
Returns PromiseLike < any >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:409
Parameters
queue: string
durable: boolean
exclusive: boolean
autoDelete: boolean
config: {}
resultHandler: ( ( res: AsyncResult < any > ) => void ) | Handler < AsyncResult < any > >
Returns void
queueDeclareAuto
queueDeclareAuto( ) : PromiseLike < {} >
queueDeclareAuto( resultHandler: ( ( res: AsyncResult < {} > ) => void ) | Handler < AsyncResult < {} > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:264
Returns PromiseLike < {} >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:269
Parameters
resultHandler: ( ( res: AsyncResult < {} > ) => void ) | Handler < AsyncResult < {} > >
Returns void
queueDelete
queueDelete( queue: string ) : PromiseLike < any >
queueDelete( queue: string , resultHandler: ( ( res: AsyncResult < any > ) => void ) | Handler < AsyncResult < any > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:414
Parameters
Returns PromiseLike < any >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:419
Parameters
queue: string
resultHandler: ( ( res: AsyncResult < any > ) => void ) | Handler < AsyncResult < any > >
Returns void
queueDeleteIf
queueDeleteIf( queue: string , ifUnused: boolean , ifEmpty: boolean ) : PromiseLike < any >
queueDeleteIf( queue: string , ifUnused: boolean , ifEmpty: boolean , resultHandler: ( ( res: AsyncResult < any > ) => void ) | Handler < AsyncResult < any > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:424
Parameters
queue: string
ifUnused: boolean
ifEmpty: boolean
Returns PromiseLike < any >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:429
Parameters
queue: string
ifUnused: boolean
ifEmpty: boolean
resultHandler: ( ( res: AsyncResult < any > ) => void ) | Handler < AsyncResult < any > >
Returns void
queueUnbind
queueUnbind( queue: string , exchange: string , routingKey: string ) : PromiseLike < void >
queueUnbind( queue: string , exchange: string , routingKey: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
queueUnbind( queue: string , exchange: string , routingKey: string , arguments: {} ) : PromiseLike < void >
queueUnbind( queue: string , exchange: string , routingKey: string , arguments: {} , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:294
Parameters
queue: string
exchange: string
routingKey: string
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:299
Parameters
queue: string
exchange: string
routingKey: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:304
Parameters
queue: string
exchange: string
routingKey: string
arguments: {}
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:309
Parameters
queue: string
exchange: string
routingKey: string
arguments: {}
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
restartConnect
restartConnect( attempts: number ) : PromiseLike < void >
restartConnect( attempts: number , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:349
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:354
Parameters
attempts: number
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
start
start( ) : PromiseLike < void >
start( resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:324
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:329
Parameters
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
stop
stop( ) : PromiseLike < void >
stop( resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:334
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:339
Parameters
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
waitForConfirms
waitForConfirms( ) : PromiseLike < void >
waitForConfirms( resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
waitForConfirms( timeout: number ) : PromiseLike < void >
waitForConfirms( timeout: number , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:130
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:137
Parameters
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:142
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:147
Parameters
timeout: number
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Returns void
Static create
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:32
Parameters
Defined in io.vertx/vertx-rabbitmq-client/target/npm/index.d.ts:37
Parameters
Add a Confirm Listener to the channel. Note that this will automatically call confirmSelect, it is not necessary to call that too.