« Return to Thread: Dynamically configure broker

Dynamically configure broker

by Jenny wei :: Rate this Message:

Reply to Author | View in Thread

Hi,

   In the Lingo example file, I saw:

   <!-- JMS ConnectionFactory to use -->
  <bean id="jmsFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
    <property name="brokerURL" value="vm://localhost"/>
  </bean>

   I wonder if there is a way to dynamically configure broker. My application client could potentially connect to different servers, after a user chooses one, it will use the service provided by the specified server. So the hardcoded broker URL will not work.  For different customers, they will use different server set up. Again, the hardcoded broker URL will not work.

   Thanks,

   Jenny

 « Return to Thread: Dynamically configure broker

LightInTheBox - Buy quality products at wholesale price!