question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ConsumerDispatcherConcurrency can not be parsed in connection string

See original GitHub issue

Describe 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:closed
  • Created 10 months ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

How to parse a connection string - asp.net
I have tried split but it wont allow me to split on a = sign. How do I go about parsing this out?...
Read more >
[BUG] BlobServiceClient can't parse connection string with ...
[BUG] BlobServiceClient can't parse connection string with custom domain and not port 11002 #27126.
Read more >
Configure a connection string - Azure Storage
Configure a connection string for an Azure storage account. A connection string contains the information needed to authorize access to a ...
Read more >
Connection String URI Format
This document describes the URI formats for defining connections between applications and MongoDB instances in the official MongoDB Drivers.
Read more >
Casing in SqlServerStorage parsing connectionstring
The Dashboard writes always a “Connection String cannot be parsed” message. It would be more error-prone to make the method case insensitive.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found