Hi,
I have my Tibco connection factories and server url's hardcoded in spring xml files like below:
I would like to move the serverUrl and userName, passwords out of the code into Tomcat server, could you please help on this?Code:<bean id="tibConnectionFactory" class="com.tibco.tibjms.TibjmsQueueConnectionFactory"> <property name="serverUrl" value="tcp://localhost:7222"/> <property name="userName" value=""/> <property name="userPassword" value=""/> </bean> <bean id="connectionFactory" class="org.springframework.jms.connection.CachingConnectionFactory"> <property name="targetConnectionFactory" ref="tibConnectionFactory"/> <property name="sessionCacheSize" value="10"/> <property name="cacheProducers" value="true"/> <property name="cacheConsumers" value="true"/> </bean>
Thanks,
Archana


Reply With Quote