Search
Preparing search index...
The search index is not available
Datapio SDK Index
/
@datapio/sdk-amqp-engine
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@datapio/sdk-amqp-engine
index
amqplib
ConfirmChannel
Interface ConfirmChannel
Hierarchy
Channel
ConfirmChannel
Index
Methods
ack
ack
All
add
Listener
assert
Exchange
assert
Queue
bind
Exchange
bind
Queue
cancel
check
Exchange
check
Queue
close
consume
delete
Exchange
delete
Queue
emit
event
Names
get
get
Max
Listeners
listener
Count
listeners
nack
nack
All
off
on
once
prefetch
prepend
Listener
prepend
Once
Listener
publish
purge
Queue
raw
Listeners
recover
reject
remove
All
Listeners
remove
Listener
send
ToQueue
set
Max
Listeners
unbind
Exchange
unbind
Queue
wait
For
Confirms
Methods
ack
ack
(
message
:
Message
, allUpTo
?:
boolean
)
:
void
Parameters
message:
Message
Optional
allUpTo:
boolean
Returns
void
ack
All
ack
All
(
)
:
void
Returns
void
add
Listener
add
Listener
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
ConfirmChannel
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
ConfirmChannel
assert
Exchange
assert
Exchange
(
exchange
:
string
, type
:
string
, options
?:
AssertExchange
)
:
Bluebird
<
AssertExchange
>
Parameters
exchange:
string
type:
string
Optional
options:
AssertExchange
Returns
Bluebird
<
AssertExchange
>
assert
Queue
assert
Queue
(
queue
:
string
, options
?:
AssertQueue
)
:
Bluebird
<
AssertQueue
>
Parameters
queue:
string
Optional
options:
AssertQueue
Returns
Bluebird
<
AssertQueue
>
bind
Exchange
bind
Exchange
(
destination
:
string
, source
:
string
, pattern
:
string
, args
?:
any
)
:
Bluebird
<
Empty
>
Parameters
destination:
string
source:
string
pattern:
string
Optional
args:
any
Returns
Bluebird
<
Empty
>
bind
Queue
bind
Queue
(
queue
:
string
, source
:
string
, pattern
:
string
, args
?:
any
)
:
Bluebird
<
Empty
>
Parameters
queue:
string
source:
string
pattern:
string
Optional
args:
any
Returns
Bluebird
<
Empty
>
cancel
cancel
(
consumerTag
:
string
)
:
Bluebird
<
Empty
>
Parameters
consumerTag:
string
Returns
Bluebird
<
Empty
>
check
Exchange
check
Exchange
(
exchange
:
string
)
:
Bluebird
<
Empty
>
Parameters
exchange:
string
Returns
Bluebird
<
Empty
>
check
Queue
check
Queue
(
queue
:
string
)
:
Bluebird
<
AssertQueue
>
Parameters
queue:
string
Returns
Bluebird
<
AssertQueue
>
close
close
(
)
:
Bluebird
<
void
>
Returns
Bluebird
<
void
>
consume
consume
(
queue
:
string
, onMessage
:
(
msg
:
null
|
ConsumeMessage
)
=>
void
, options
?:
Consume
)
:
Bluebird
<
Consume
>
Parameters
queue:
string
onMessage:
(
msg
:
null
|
ConsumeMessage
)
=>
void
(
msg
:
null
|
ConsumeMessage
)
:
void
Parameters
msg:
null
|
ConsumeMessage
Returns
void
Optional
options:
Consume
Returns
Bluebird
<
Consume
>
delete
Exchange
delete
Exchange
(
exchange
:
string
, options
?:
DeleteExchange
)
:
Bluebird
<
Empty
>
Parameters
exchange:
string
Optional
options:
DeleteExchange
Returns
Bluebird
<
Empty
>
delete
Queue
delete
Queue
(
queue
:
string
, options
?:
DeleteQueue
)
:
Bluebird
<
DeleteQueue
>
Parameters
queue:
string
Optional
options:
DeleteQueue
Returns
Bluebird
<
DeleteQueue
>
emit
emit
(
event
:
string
|
symbol
,
...
args
:
any
[]
)
:
boolean
Parameters
event:
string
|
symbol
Rest
...
args:
any
[]
Returns
boolean
event
Names
event
Names
(
)
:
(
string
|
symbol
)
[]
Returns
(
string
|
symbol
)
[]
get
get
(
queue
:
string
, options
?:
Get
)
:
Bluebird
<
false
|
GetMessage
>
Parameters
queue:
string
Optional
options:
Get
Returns
Bluebird
<
false
|
GetMessage
>
get
Max
Listeners
get
Max
Listeners
(
)
:
number
Returns
number
listener
Count
listener
Count
(
event
:
string
|
symbol
)
:
number
Parameters
event:
string
|
symbol
Returns
number
listeners
listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
nack
nack
(
message
:
Message
, allUpTo
?:
boolean
, requeue
?:
boolean
)
:
void
Parameters
message:
Message
Optional
allUpTo:
boolean
Optional
requeue:
boolean
Returns
void
nack
All
nack
All
(
requeue
?:
boolean
)
:
void
Parameters
Optional
requeue:
boolean
Returns
void
off
off
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
ConfirmChannel
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
ConfirmChannel
on
on
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
ConfirmChannel
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
ConfirmChannel
once
once
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
ConfirmChannel
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
ConfirmChannel
prefetch
prefetch
(
count
:
number
, global
?:
boolean
)
:
Bluebird
<
Empty
>
Parameters
count:
number
Optional
global:
boolean
Returns
Bluebird
<
Empty
>
prepend
Listener
prepend
Listener
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
ConfirmChannel
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
ConfirmChannel
prepend
Once
Listener
prepend
Once
Listener
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
ConfirmChannel
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
ConfirmChannel
publish
publish
(
exchange
:
string
, routingKey
:
string
, content
:
Buffer
, options
?:
Publish
, callback
?:
(
err
:
any
, ok
:
Empty
)
=>
void
)
:
boolean
Parameters
exchange:
string
routingKey:
string
content:
Buffer
Optional
options:
Publish
Optional
callback:
(
err
:
any
, ok
:
Empty
)
=>
void
(
err
:
any
, ok
:
Empty
)
:
void
Parameters
err:
any
ok:
Empty
Returns
void
Returns
boolean
purge
Queue
purge
Queue
(
queue
:
string
)
:
Bluebird
<
PurgeQueue
>
Parameters
queue:
string
Returns
Bluebird
<
PurgeQueue
>
raw
Listeners
raw
Listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
recover
recover
(
)
:
Bluebird
<
Empty
>
Returns
Bluebird
<
Empty
>
reject
reject
(
message
:
Message
, requeue
?:
boolean
)
:
void
Parameters
message:
Message
Optional
requeue:
boolean
Returns
void
remove
All
Listeners
remove
All
Listeners
(
event
?:
string
|
symbol
)
:
ConfirmChannel
Parameters
Optional
event:
string
|
symbol
Returns
ConfirmChannel
remove
Listener
remove
Listener
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
ConfirmChannel
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
ConfirmChannel
send
ToQueue
send
ToQueue
(
queue
:
string
, content
:
Buffer
, options
?:
Publish
, callback
?:
(
err
:
any
, ok
:
Empty
)
=>
void
)
:
boolean
Parameters
queue:
string
content:
Buffer
Optional
options:
Publish
Optional
callback:
(
err
:
any
, ok
:
Empty
)
=>
void
(
err
:
any
, ok
:
Empty
)
:
void
Parameters
err:
any
ok:
Empty
Returns
void
Returns
boolean
set
Max
Listeners
set
Max
Listeners
(
n
:
number
)
:
ConfirmChannel
Parameters
n:
number
Returns
ConfirmChannel
unbind
Exchange
unbind
Exchange
(
destination
:
string
, source
:
string
, pattern
:
string
, args
?:
any
)
:
Bluebird
<
Empty
>
Parameters
destination:
string
source:
string
pattern:
string
Optional
args:
any
Returns
Bluebird
<
Empty
>
unbind
Queue
unbind
Queue
(
queue
:
string
, source
:
string
, pattern
:
string
, args
?:
any
)
:
Bluebird
<
Empty
>
Parameters
queue:
string
source:
string
pattern:
string
Optional
args:
any
Returns
Bluebird
<
Empty
>
wait
For
Confirms
wait
For
Confirms
(
)
:
Bluebird
<
void
>
Returns
Bluebird
<
void
>
Modules
Channel
Common
Message
Fields
Confirm
Channel
ack
ack
All
add
Listener
assert
Exchange
assert
Queue
bind
Exchange
bind
Queue
cancel
check
Exchange
check
Queue
close
consume
delete
Exchange
delete
Queue
emit
event
Names
get
get
Max
Listeners
listener
Count
listeners
nack
nack
All
off
on
once
prefetch
prepend
Listener
prepend
Once
Listener
publish
purge
Queue
raw
Listeners
recover
reject
remove
All
Listeners
remove
Listener
send
ToQueue
set
Max
Listeners
unbind
Exchange
unbind
Queue
wait
For
Confirms
Connection
Consume
Message
Consume
Message
Fields
Get
Message
Get
Message
Fields
Message
Message
Fields
Message
Properties
Message
Property
Headers
Server
Properties
XDeath
credentials
connect
Generated using
TypeDoc