Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the AMQP which is based on Rabbitmq in Ali Cloud #350

Closed
WillPhoenixLiu opened this issue Jun 13, 2019 · 2 comments

Comments

@WillPhoenixLiu
Copy link

commented Jun 13, 2019

When I connected to the AMQP queue, I need to setup the following 2 options. So I add them in the RabbitMQOptions.

The 2 options:

public IList<AuthMechanismFactory> AuthMechanisms { get; set; }
public bool TopologyRecoveryEnabled { get; set; }

I was trying to create a PR, but I got request failed with status code: 403.

yang-xiaodong added a commit that referenced this issue Jun 14, 2019
@yang-xiaodong

This comment has been minimized.

Copy link
Member

commented Jun 14, 2019

Hello, we have improved RabbitMQOptions to provide extensions option to configure the client original configuration, you can using like this:

x.UseRabbitMQ(o =>
{
    o.HostName = "localhost";
    o.ConnectionFactoryOptions = opt => { 
        //rabbitmq client ConnectionFactory config
    };
 });
@yang-xiaodong

This comment has been minimized.

Copy link
Member

commented Jun 21, 2019

Fixed in v2.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.