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

org.coos.config.coos.xml Maven / Gradle / Ivy

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

<coos xmlns="http://www.coos.org/CoosXMLSchema" name="${name:-coos1}">

  <router class="org.coos.messaging.routing.DefaultRouter">
V    
    <segment name="${segment:-.}" routeruuid="${routeruuid:-Router1}"
      routeralgorithm="simpledv" />

    <!--The simpledv algorithm is specifically targeted towards the dispatcher setup in telenor objects -->
    <routeralgorithm name="simpledv"
      class="org.coos.messaging.routing.SimpleDVAlgorithm">
      <property name="refreshInterval" value="${refreshInterval:-5000}" />
    </routeralgorithm>
    
    <!--The linkstate algorithm is the most generic and should be used in the generic case -->
    <!--<routeralgorithm name="linkstate"
      class="org.coos.messaging.routing.LinkStateAlgorithm">
      <property name="refreshInterval" value="2000" />
    </routeralgorithm>-->

  </router>

  <channelserver name="TCPServer"
    class="org.coos.messaging.transport.TCPTransportManager">
    <property name="port" value="${port:-15656}" />
  </channelserver>

  <channel name="out" init="${enabled:-false}" transport="TCP1" defaultgw="true">
    <inBound>
    </inBound>
    <outBound>
    </outBound>
  </channel>

  <transport name="TCP1" class="org.coos.messaging.transport.TCPTransport">
    <property name="host" value="${connectHost:-localhost}" />
    <property name="port" value="${connectPort:-15656}" />
    <property name="retry" value="true" />
  </transport>

  <processor name="logger" class="org.coos.messaging.processor.Logger"
    shared="true" />

</coos>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy