exceptionless/Exceptionless

how to use rabbitmq as messagebus or queue?

Opened this issue · 9 comments

Foundatio.Rabbitmq use uri-spec as connectionstring (https://www.rabbitmq.com/docs/uri-spec)

but in Exceptionless, we can not build it like uri

image

can give me an example?

We probably need to take a pass at redoing all of configuration to be more explicit, but you should be able to do this two ways.

  1. Set the MessageBus connection string to provider=rabbitmq;CONNECTION_STRING_HERE
  2. Set the MessageBus connection string to provider=rabbitmq; then add rabbitmq to the connection strings app config / env section with the raw connection string

cc @ejsmith

We probably need to take a pass at redoing all of configuration to be more explicit, but you should be able to do this two ways.

  1. Set the MessageBus connection string to provider=rabbitmq;CONNECTION_STRING_HERE
  2. Set the MessageBus connection string to ; then add rabbitmq to the connection strings app config / env section with the raw connection stringprovider=rabbitmq

cc @ejsmith
all dosn't work fine because exceptionless request connectionstring must like key=value patten
image
ParseConnectionString() and BuildConnectionString() method working on it.

Can you please add a sample connection string that can be bested. If you wouldn't mind adding a test and or updating this that would be a huge help. I know the cache one supports this, might have just been a miss.

Can you paste that connection string here and also try escaping it with quotes?

I was finally able to dig in and get this fixed. I've submitted a pr for the team to review.

Thanks for logging this, this is fixed in a nightly build

I had to revert this change as it was a pretty big breaking change to configuration. We will address this shortly.