GetAMQPMessage
Structure
GetAMQPMessage(sHost, sPort, sUser, sPassword, sContainer, sSession, sReceiver, sTarget, bSSL, iTimeOut)
Parameters
| Parameter | Type | Description
| sHost | String | Host of the server to connect to.sPort | String | Port to send the message to.sUser | String | User to connect assPassword | String | Password to connect assContainer | String | AMQP container to usesSession | String | AMQP session to usesReceiver | String | AMQP receiver to usesTarget | String | Target Queue to send message tobSSL | Boolean | Whether to use SSL when connectingiTimeOut | Integer | Number of seconds to wait before timing out |
Return Value
The message found, or an error message describing the problem sending.
Description
This function connects to a server using the AMQP protocol and attempts to get a message from it.
Example
GetAMQPMessage("localhost", "5672", "", "", "IndyContainer", "IndySession", "IndyReceiver", "DemoTarget", false, 1)
Application Compatibility
All |