I think I know what is causing this issue!
The session is created based on SpringJCSMPFactory, and SolaceJavaAutoConfiguration Bean.
as follow:
solaceFactory = solaceJavaAutoConfiguration.getSpringJCSMPFactory();
session = solaceFactory.createSession();
That is giving me access to the broker and the queue based on the Spring boot application properties
solace.java.clientPassword=password
solace.java.clientUsername=username
solace.java.host=tcps://mybroker:55443
solace.java.msgVpn=default
How I can pass other properties to the session if it is created based on SpringBoot JCSMP Factory? since the SpringJCSMPFactory createSession() method doesn’t accept JCSMPProperties as parameter?