Constructor
new RpcServer(amqpUri, channelName, configurationopt)
- Source:
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
amqpUri |
AmqpURI
|
||
channelName |
ChannelName
|
||
configuration |
Configuration
|
<optional> |
Methods
respond(contentToPublish, correlationId) → {boolean}
Respond to the last call/message.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
contentToPublish |
number
|
string
|
boolean
|
Object
|
Array
|
|
correlationId |
string
|
correlation ID (as gotten from the call) parameter to use when the server is to process multiple calls at once |
Returns:
- Type:
-
boolean