ConsumerDispatcherConcurrency can not be parsed in connection string
See original GitHub issueDescribe the bug
I’ve added consumerDispatcherConcurrency=1 to the connection string, however RabbitHutch.Create throws Exception:
Unhandled exception. EasyNetQ.EasyNetQException: Connection String Parsing failure: Couldn't parse the whole input; unparsable remainder is: ";consumerDispatcherConcurrency=1". at EasyNetQ.ConnectionString.ConnectionStringParser.Parse(String connectionString) at EasyNetQ.ConnectionString.CompositeConnectionStringParser.Parse(String connectionString)
To Reproduce
Nothing fancy, just try to create bus:
var bus = RabbitHutch.CreateBus("host=localhost;virtualHost=test;username=;password=;timeout=300;publisherConfirms=true;mandatoryPublish=true;consumerDispatcherConcurrency=1")
Expected behavior Bus should be created
Please complete the following information):
- EasyNetQ version: [e.g.
7.3.1
] - RabbitMQ version [e.g.
6.4.0
]
Additional context I’ve checked disassembled code of EasyNetQ and it looks like it contains old version of EasyNetQ/ConnectionString/ConnectionStringGrammar.cs??? Is it some merging problem?
Issue Analytics
- State:
- Created 10 months ago
- Comments:7 (7 by maintainers)
Top GitHub Comments
https://github.com/EasyNetQ/EasyNetQ/releases/tag/7.3.2
https://www.nuget.org/packages/EasyNetQ/7.3.2