| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- $Rev: 594117 $ $Date: 2007-11-13 00:35:48 +1100 (Tue, 13 Nov 2007) $ --> |
| |
| <module xmlns="http://geronimo.apache.org/xml/ns/deployment-${geronimoSchemaVersion}"> |
| |
| <gbean name="DiscoveryPublisher" class="org.apache.geronimo.farm.discovery.JmxDiscoveryPublisher"> |
| <!--<attribute name="nodeName">FarmPersistence</attribute>--> |
| <attribute name="clusterName">cluster1</attribute> |
| <attribute name="protocol">rmi</attribute> |
| <attribute name="urlPath">JMXConnector</attribute> |
| <attribute name="discoveryType">farm</attribute> |
| <reference name="DiscoveryAgent"> |
| <name>DiscoveryAgent</name> |
| </reference> |
| <reference name="RMIRegistryService"> |
| <name>RMIRegistry</name> |
| </reference> |
| <dependency> |
| <name>PluginInstaller</name> |
| </dependency> |
| </gbean> |
| |
| <gbean name="MulticastLocation" class="org.apache.geronimo.farm.discovery.MulticastLocation"> |
| <attribute name="host">239.255.3.2</attribute> |
| <attribute name="port">6142</attribute> |
| </gbean> |
| |
| <gbean name="DiscoveryAgent" class="org.apache.geronimo.farm.discovery.MulticastDiscoveryAgent"> |
| <attribute name="heartRate">500</attribute> |
| <attribute name="maxMissedHeartbeats">10</attribute> |
| <attribute name="loopbackMode">false</attribute> |
| <attribute name="initialReconnectDelay">5000</attribute> |
| <attribute name="maxReconnectDelay">30000</attribute> |
| <attribute name="backOffMultiplier">0</attribute> |
| <attribute name="useExponentialBackOff">false</attribute> |
| <reference name="MulticastLocation"> |
| <name>MulticastLocation</name> |
| </reference> |
| </gbean> |
| |
| </module> |