Platforms to show: All Mac Windows Linux Cross-Platform

Back to RabbitMQConnectionMBS class.

RabbitMQConnectionMBS.ClientProperties as Dictionary

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get the client properties table

Get the properties that were passed to the broker on connection.
(Read only property)

RabbitMQConnectionMBS.DataInBuffer as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Check to see if there is data left in the receive buffer.

Can be used to see if there is data still in the buffer, if so calling SimpleWaitFrame will not immediately enter a blocking read.

Returns true if there is data in the recieve buffer, false otherwise.
(Read only property)

RabbitMQConnectionMBS.FramesEnqueued as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Checks to see if there are any incoming frames ready to be read.

Checks to see if there are any frame objects buffered by the connection object. Having one or more frames buffered means that SimpleWaitFrame() will return a frame without potentially blocking on a read() call.

Returns true if there are frames enqueued, false otherwise.
(Read only property)

RabbitMQConnectionMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The internal object reference.

(Read and Write property)

RabbitMQConnectionMBS.HandshakeTimeout as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get or set the login handshake timeout.

Login performs the login handshake with the broker. This function sets the timeout associated with completing this operation from the client side.

The timeout must be set before Login is called to change from the default timeout.

Note that the RabbitMQ broker has a configurable timeout for completing the login handshake, the default is 10 seconds. rabbitmq-c has a default of 12 seconds.
(Read and Write property)

RabbitMQConnectionMBS.Heartbeat as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get the number of seconds between heartbeats of the connection.

The number of seconds between heartbeats is set when connection negotiation takes place in Login.

Returns the number of seconds between heartbeats.
(Read only property)

RabbitMQConnectionMBS.MaximumChannel as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get the maximum number of channels the connection can handle.

The maximum number of channels is set when connection negotiation takes
place in Login.

Returns the maximum number of channels. 0 if there is no limit.
(Read only property)

RabbitMQConnectionMBS.MaximumFrameSize as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get the maximum size of an frame the connection can handle.

The maximum size of an frame is set when connection negotiation takes place in Login.

Return the maximum size in bytes of an frame.
(Read only property)

RabbitMQConnectionMBS.RPCReply as RabbitMQRPCReplyMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get the last global RPCReply

The API methods corresponding to most synchronous AMQP methods return a pointer to the decoded method result. Upon error, they return nil, and we need some way of discovering what, if anything,
went wrong. RPCReply() returns the most recent RabbitMQRPCReplyMBS instance corresponding to such an API operation for the given connection.

Only use it for operations that do not themselves return RabbitMQRPCReplyMBS; operations that do return RabbitMQRPCReplyMBS generally do NOT update this per-connection-global RabbitMQRPCReplyMBS instance.

Returns the most recent RabbitMQRPCReplyMBS object:

  • Reply.Type = kResponseNormal. Login completed successfully
  • Reply.Type = kResponseLibraryException. In most cases errors from the broker when logging in will be represented by the broker closing the socket. In this case r.libraryError will be set to kStatusConnectionClosed. This error can represent a number of error conditions including: invalid vhost, authentication failure.
  • Reply.Type = kResponseServerException. The broker returned an exception:
  • If Reply.MethodId = kChannelCloseMethod a channel exception occurred, check decoded properties to see details of the exception. The client should SendMethod() a kChannelCloseOkMethod. The channel must be re-opened before it can be used again. Any resources associated with the channel (auto-delete exchanges, auto-delete queues, consumers) are invalid and must be recreated before attempting to use them again.
  • If Reply.MethodId = kConnectionCloseMethod a connection exception occurred, check decoded properties to see details of the exception. The client SendMethod() a kConnectionCloseOkMethod and disconnect from the broker.
(Read only property)

Some examples using this property:

RabbitMQConnectionMBS.RPCTimeout as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The RPC timeout.

Get or set the RPC timeout.

Sets the timeout for any RPC-style AMQP command (e.g., QueueDeclare).
This timeout may be changed at any time by calling this function with a new
timeout. The timeout applies individually to each RPC that is made.

The default value is 0, or an infinite timeout.

When an RPC times out, the function will return an error kStatusTimeout,
and the connection will be closed.

RPC-timeouts are an advanced feature intended to be used to detect
dead connections quickly when the rabbitmq-c implementation of heartbeats
does not work. Do not use RPC timeouts unless you understand the implications
of doing so.
(Read and Write property)

RabbitMQConnectionMBS.ServerProperties as Dictionary

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get the broker properties table.

Returns a dictionary containing the properties advertised by the broker on connection.
(Read only property)

RabbitMQConnectionMBS.SocketFileDescriptor as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get the socket descriptor in use by a socket object.

Retrieve the underlying socket descriptor. This function can be used to perform low-level socket operations that aren't supported by the socket interface. Use with caution!
(Read only property)

RabbitMQConnectionMBS.SSLCACertPath as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The CA certificate file path.

cacert Path to the CA cert file in PEM format.
(Read only property)

RabbitMQConnectionMBS.SSLCertPath as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The certificate file path.

Cert file in PEM format.
(Read only property)

RabbitMQConnectionMBS.SSLKeyData as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The client key.

A buffer containing client key in PEM format.
(Read only property)

RabbitMQConnectionMBS.SSLKeyPath as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The file path to the SSL key.

(Read only property)

RabbitMQConnectionMBS.SSLMaxVersion as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Maximum allowed SSL version.

Defaults to latest TLS version.
(Read and Write property)

RabbitMQConnectionMBS.SSLMinVersion as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Minimum allowed SSL version.

Defaults to TLS v1.0.
(Read and Write property)

RabbitMQConnectionMBS.SSLVerifyHostname as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Enable or disable hostname verification.

Hostname verification checks the broker cert for a CN or SAN that matches the hostname that OpenSocket() is presented.
Peer verification is controlled by SSLVerifyPeer property.
(Read and Write property)

Some examples using this property:

RabbitMQConnectionMBS.SSLVerifyPeer as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property RabbitMQ MBS RabbitMQ Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Enable or disable peer verification.

Peer verification validates the certificate chain that is sent by the broker.
Hostname validation is controlled by SSLVerifyHostname.
(Read and Write property)

Some examples using this property:

The items on this page are in the following plugins: MBS RabbitMQ Plugin.


The biggest plugin in space...