Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class AMQPConfigBuilder
Link copied to clipboard
class AMQPConfigServerBuilder
Link copied to clipboard
interface AMQPConnection
Link copied to clipboard
Link copied to clipboard
open class DefaultAMQPConnection(val config: AMQPConfig, val messageListeningScope: CoroutineScope) : AMQPConnection
Link copied to clipboard
object FrameDecoder
Functions
Link copied to clipboard
Creates an AMQPConfig using a DSL builder.
fun amqpConfig(url: Url, tls: TLSConfig? = null, sniServerName: String? = null, timeout: Duration = AMQPConfig.Server.Defaults.timeout, connectionName: String = AMQPConfig.Server.Defaults.CONNECTION_NAME): AMQPConfig
Convenience function to create AMQPConfig from a URL and key options.
fun amqpConfig(urlString: String, tls: TLSConfig? = null, sniServerName: String? = null, timeout: Duration = AMQPConfig.Server.Defaults.timeout, connectionName: String = AMQPConfig.Server.Defaults.CONNECTION_NAME): AMQPConfig
Convenience function to create AMQPConfig from a URL string and key options.
Link copied to clipboard
suspend fun createAMQPConnection(coroutineScope: CoroutineScope, config: AMQPConfig): AMQPConnection
suspend fun createAMQPConnection(coroutineScope: CoroutineScope, block: AMQPConfigBuilder.() -> Unit): AMQPConnection
Connect to broker.
suspend fun createAMQPConnection(coroutineScope: CoroutineScope, url: Url, tls: TLSConfig? = null, sniServerName: String? = null, timeout: Duration = AMQPConfig.Server.Defaults.timeout, connectionName: String = AMQPConfig.Server.Defaults.CONNECTION_NAME): AMQPConnection
Connect to broker using a URL.
suspend fun createAMQPConnection(coroutineScope: CoroutineScope, urlString: String, tls: TLSConfig? = null, sniServerName: String? = null, timeout: Duration = AMQPConfig.Server.Defaults.timeout, connectionName: String = AMQPConfig.Server.Defaults.CONNECTION_NAME): AMQPConnection
Connect to broker using a URL string.