RabbitMQConfig

struct RabbitMQConfig

singleton struct for storing global configurations

  • singleton access to instance

    Declaration

    Swift

    static let sharedInstance = RabbitMQConfig()
  • url for rabbitmq host

    Declaration

    Swift

    var host: String = "127.0.0.1"
  • port to rabbitmq host

    Declaration

    Swift

    var port: Int = 5672
  • rabbitmq queue identifier for subscription

    Declaration

    Swift

    var readQueue: String = "meta.production.test"
  • rabbitmq exchange identifier

    Declaration

    Swift

    var exchange: String = "meta.production"
  • rabbitmq queue identifier for publishing

    Declaration

    Swift

    var writeQueue: String = "meta.production.results"
  • rabbitmq routing key for publishing

    Declaration

    Swift

    var routingKey: String = "results"
  • rabbitmq user name

    Declaration

    Swift

    var user: String = "guest"
  • rabbitmq password

    Declaration

    Swift

    var password: String = "guest"