diff --git a/README.md b/README.md index 682a097..e01b075 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,6 @@ Dependencies can be found within requirements.txt and are installed automaticall To publish to RabbitMQ, loggingMode should be set to 'rabbitmq', and rabbitmqca, rabbitmqcacert, rabbitmqcakey, and rabbitmqRoutingKey should be provided. The certificates should align with the certificate authority which the RabbitMQ server recognises. To publish direct into an MSSQL or MariaDB database, the loggingMode should be set accordingly (see below), and sqlUsername, sqlPassword, sqlServer, and sqlDatabase should be provided. -You will need the associated ODBC driver installed for whichever DBMS you choose. ODBC references can be modified in odbcReferences.py to suit your system. You can probably even get alternative DBMS's working such as PostgreSQL as long as you convert the schema. See the available configuration options, which should be specified in config.py. diff --git a/rabbitmq.py b/rabbitmq.py index fe01cc6..41922f8 100644 --- a/rabbitmq.py +++ b/rabbitmq.py @@ -41,9 +41,9 @@ class rabbitMQClient: self.rabbitmqPort = rabbitmqPort self.routingKey = routingKey - @retry(stop_max_attempt_number=120, wait_fixed=1000) def publish(self, message): + @retry(stop_max_attempt_number=120, wait_fixed=1000) def publishMessage(conn): ch = conn.channel()