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

Add support to configure RMQ virtual host in deployment.toml file #3329

Open
AboOmar opened this issue May 11, 2024 · 0 comments
Open

Add support to configure RMQ virtual host in deployment.toml file #3329

AboOmar opened this issue May 11, 2024 · 0 comments

Comments

@AboOmar
Copy link

AboOmar commented May 11, 2024

To reuse a RabbitMQ connection as per the documentation , one must add connection parameters in the deployment.toml file. However, when specifying RMQ virtual host, the WSO2 MI server fails to recognize this value, resulting in authorization exceptions upon connection attempts to RMQ

Despite adding the values below, the server does not utilize the virtual host during the connection process to RMQ.

[[transport.rabbitmq.sender]]
name = "RabbitMQConnectionFactory"
parameter.hostname = "localhost"
parameter.port = 5672
parameter.vhost = "TestVHost" (parameter.virtualhost) (parameter.virtual.host)
parameter.username = "guest"
parameter.password = "guest"

It will be a performance win if this can be fixed to reuse connection factory in such cases.

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant