All Downloads are FREE. Search and download functionalities are using the official Maven repository.

era.client.2.4.2.source-code.client.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8" ?>

<!--
  - Client configuration.
  -
  - Author: [email protected]
  - Since: 1.5.0
  - Version: $Id: client.xml 16614 2013-07-03 22:35:32Z colin $
  - $License$
  -->

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd">

  <!--
    - The connection factory for incoming connections. Note that ActiveMQ
    - pooled factories only support outgoing connections, hence a simple
    - factory is used for incoming ones.
    -
    - See 'http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/
    - activemq/spring/ActiveMQConnectionFactory.html' for a complete list
    - of options.
    -->

  <bean
   id="metc_connection_factory_in"
   class="org.apache.activemq.ActiveMQConnectionFactory">
    <property
     name="brokerURL"
     ref="brokerURL"/>
    <property
     name="userName"
     ref="runtimeUsername"/>
    <property
     name="password"
     ref="runtimePassword"/>
  </bean>

  <!--
    - The connection factory for outgoing connections.
    -
    - See 'http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/
    - activemq/pool/PooledConnectionFactory.html' for a complete list
    - of options.
    -->

  <bean
   id="metc_connection_factory_out"
   class="org.apache.activemq.pool.PooledConnectionFactory">
    <property
     name="connectionFactory"
     ref="metc_connection_factory_in"/>
  </bean>

  <!--
    - The client configuration bean.
    -->

  <bean
   class="org.marketcetera.client.config.SpringConfig">
    <!-- The connection factory for incoming JMS connections. -->
    <property
     name="incomingConnectionFactory"
     ref="metc_connection_factory_in"/>
    <!-- The connection factory for outgoing JMS connections. -->
    <property
     name="outgoingConnectionFactory"
     ref="metc_connection_factory_out"/>
  </bean>
</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy