🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
JMS API connection factory route to different VPN
I don't see a set target VPN name, while creating the connection factory, so after the connection factory lookup the messages are going to the same VPN where the lookup is done, but I want to redirect the messages to different VPN. is it possible?
It is like routing to different VPN for the actual data, and all the clients connect to JNDI VPN for entry.
I am able to use the setVpn() method on the SolConnectionfactory object after the lookup to route the data connection to desired VPN, but I think it should be part of creating the factory administratively.
Please let me know.
Comments
-
Hi @onlysam,
The Solace JNDI is configured on a given solace vpn and currently only supports having clients connect to that same VPN. So I think your options would be to do what you're already doing, where you override the VPN after the lookup or if you really wanted you could have a remote JNDI server that isn't provided by the PubSub+ Event Broker.
This is a cool idea though, if you're a paying customer I think it would be great if you could open a support ticket requesting this enhancement. I can't guarantee it will be implemented but at least it will get it on the list of potential enhancements
0 -
Hi @onlysam . Out of curiosity, are you an EMS user?
As Marc said, the JNDI lookup service provided by Solace is not so flexible to allow "connecting to someplace else". To achieve this, many of our customers use external JNDI servers (not the Solace broker) in production and can configure it however they want. The onboard JNDI capability in the Solace broker is generally good enough for dev and test environments, but if you want something fancier then go external.
0