Component holds open connection to RMQ
Component holds open connection to RMQ
(create config)
Create RabbitMQ connection for given connection config. Config can either contain ':url' key with full url or can be map with username, password, host and port values. Config always need to contain vhost!
Create RabbitMQ connection for given connection config. Config can either contain ':url' key with full url or can be map with username, password, host and port values. Config always need to contain vhost! - {:url 'amqp://user:password@localhost:5492' :vhost 'main'} - {:username 'user' :password 'password' :host 'localhost' :port '5492':vhost 'main'} Optional config params - :connection-name - if not specified username is used as connection-name - {:url 'amqp://user:password@localhost:5492' :vhost 'main' :connection-name 'conn1'}
(extract-server-config {:keys [url host port username password vhost
connection-name secure?]})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close