Announcement Announcement Module
Collapse
No announcement yet.
Configuring Tibco server Urls for JMS in Tomcat Server Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Configuring Tibco server Urls for JMS in Tomcat Server

    Hi,

    I have my Tibco connection factories and server url's hardcoded in spring xml files like below:

    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>
    I would like to move the serverUrl and userName, passwords out of the code into Tomcat server, could you please help on this?

    Thanks,
    Archana
Working...
X