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

Not able to connect to multiple VPNs within same host #43

Open
anupam-contaque opened this issue Aug 5, 2022 · 2 comments
Open

Not able to connect to multiple VPNs within same host #43

anupam-contaque opened this issue Aug 5, 2022 · 2 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@anupam-contaque
Copy link

Use case: I have this setup of Solace where message VPNs are separated based on the business domain. We are designing a Spring Boot application that needs to process the data for different domains using JMS.

Right now solace-spring-boot configuration allows only one message VPN to connect to while the brokers are generally set up with more than one VPNs based on the nature of messages.

Is there any plan to support multiple VPNs using the configuration?
Currently do we have any workaround to setup solace-spring-boot that can subscribe/publish to queues of different VPNs?

@Nephery
Copy link
Collaborator

Nephery commented Aug 12, 2022

In general, Spring Boot auto-configure only supports the auto-configuration of a single connection.

There's currently an open issue raised there to support multiple DataSources which is related to this: spring-projects/spring-boot#15732. Until the Spring team figures out how they want to approach this, there's nothing we can really do right now to support the auto-configuration of multiple PubSub+ sessions.

For reference, here's a similar discussion regarding adding multi-session support for Rabbit MQ: spring-projects/spring-boot#25369

@Nephery
Copy link
Collaborator

Nephery commented Aug 12, 2022

If JMS is not a hard requirement for you, as an alternative solution, I suggest you check out the PubSub+ binder for Spring Cloud Stream: https://github.com/SolaceProducts/solace-spring-cloud/tree/master/solace-spring-cloud-starters/solace-spring-cloud-stream-starter

This project natively supports multiple sessions out of the box: https://docs.spring.io/spring-cloud-stream/docs/current/reference/html/spring-cloud-stream.html#multiple-systems

@Nephery Nephery added enhancement New feature or request wontfix This will not be worked on labels Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants