[ \t]+$ => "" (empty) Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg) Of course this effort to remove trailing spaces has no functional implications. Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135 In the meantime I did some refactoring also in *.java and *.groovy files : ){ => ) { if( => if ( while( => while ( }else => } else else{ => else { switch( => switch ( try{ => try { }catch => } catch catch( => catch ( }finally{ => } finally { So these changes are also in this commit, should not be a problem anyway. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
106 lines
5.2 KiB
XML
106 lines
5.2 KiB
XML
<?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.
|
|
-->
|
|
|
|
<service-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/service-config.xsd">
|
|
|
|
<service-engine name="default">
|
|
<!-- Name of the service to use for authorization -->
|
|
<authorization service-name="userLogin"/>
|
|
|
|
<!-- Thread pool configuration (max/min threads, uses to live and time to live) -->
|
|
<thread-pool send-to-pool="pool"
|
|
purge-job-days="4"
|
|
failed-retry-min="3"
|
|
ttl="18000000"
|
|
wait-millis="750"
|
|
jobs="10"
|
|
min-threads="5"
|
|
max-threads="15"
|
|
poll-enabled="true"
|
|
poll-db-millis="20000">
|
|
<run-from-pool name="pool"/>
|
|
</thread-pool>
|
|
|
|
<!-- Service Engine Configuration -->
|
|
<engine name="bsh" class="org.ofbiz.service.engine.BeanShellEngine"/>
|
|
<engine name="entity-auto" class="org.ofbiz.service.engine.EntityAutoEngine"/>
|
|
<engine name="groovy" class="org.ofbiz.service.engine.GroovyEngine"/>
|
|
<engine name="group" class="org.ofbiz.service.group.ServiceGroupEngine"/>
|
|
<engine name="http" class="org.ofbiz.service.engine.HttpEngine"/>
|
|
<engine name="interface" class="org.ofbiz.service.engine.InterfaceEngine"/>
|
|
<engine name="jacl" class="org.ofbiz.service.engine.BSFEngine"/>
|
|
<engine name="java" class="org.ofbiz.service.engine.StandardJavaEngine"/>
|
|
<engine name="javascript" class="org.ofbiz.service.engine.BSFEngine"/>
|
|
<engine name="jms" class="org.ofbiz.service.jms.JmsServiceEngine"/>
|
|
<engine name="jpython" class="org.ofbiz.service.engine.BSFEngine"/>
|
|
<engine name="route" class="org.ofbiz.service.engine.RouteEngine"/>
|
|
<engine name="rmi" class="org.ofbiz.service.rmi.RmiServiceEngine"/>
|
|
<engine name="simple" class="org.ofbiz.minilang.SimpleServiceEngine"/>
|
|
<engine name="soap" class="org.ofbiz.service.engine.SOAPClientEngine"/>
|
|
<engine name="ofbiz-workflow" class="org.ofbiz.workflow.WorkflowEngine"/>
|
|
<engine name="workflow" class="org.ofbiz.shark.service.SharkServiceEngine"/>
|
|
<engine name="webslinger-server" class="org.ofbiz.webslinger.WebslingerServerEngine"/>
|
|
|
|
<service-location name="main-rmi" location="rmi://localhost:1099/RMIDispatcher"/>
|
|
<service-location name="main-http" location="http://localhost:8080/webtools/control/httpService"/>
|
|
|
|
<service-location name="entity-sync-rmi" location="rmi://localhost:1099/RMIDispatcher"/>
|
|
<service-location name="entity-sync-http" location="http://localhost:8080/webtools/control/httpService"/>
|
|
|
|
<service-location name="rita-rmi" location="rmi://localhost:1099/RMIDispatcher"/>
|
|
<service-location name="eedcc-test" location="http://localhost:8080/webtools/control/httpService"/>
|
|
|
|
<!-- default notification group for all services loaded with 'main' loader
|
|
- uncomment this to enable error notification for all services
|
|
- (default.fail.main, default.success.main can also be defined
|
|
|
|
<notification-group name="default.error.main">
|
|
<notification subject="Service Error ${model.serviceName}"
|
|
screen="component://content/widget/EmailScreens.xml#ServiceNotification"/>
|
|
<notify type="from">ofbiz@test.com</notify>
|
|
<notify type="to">error@test.com</notify>
|
|
</notification-group>
|
|
-->
|
|
|
|
<!-- Start-Up Services -->
|
|
<!--
|
|
- runtime-data-id refers to the RuntimeData entity for in-parameters
|
|
- runtime-delay is the milliseconds after startup this service should run
|
|
- run-in-pool is the name of the pool to run the job in; defaults to the send-to-poll (above)
|
|
|
|
<startup-service name="testScv" runtime-data-id="9900" runtime-delay="0" run-in-pool="pool"/>
|
|
-->
|
|
|
|
<!-- JMS Service Queue/Topic Configuration -->
|
|
<!--
|
|
<jms-service name="serviceMessenger" send-mode="all">
|
|
<server jndi-server-name="default"
|
|
jndi-name="jms/TopicConnectionFactory"
|
|
topic-queue="jms/OFBTopic"
|
|
type="topic"
|
|
username="admin"
|
|
password="admin"
|
|
listen="true"/>
|
|
</jms-service>
|
|
-->
|
|
</service-engine>
|
|
</service-config>
|