# # Copyright (c) 2005-2012 EBM WebSourcing, 2012-2015 Linagora # # This program/library is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 2.1 of the License, or (at your # option) any later version. # # This program/library is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License # for more details. # # You should have received a copy of the GNU Lesser General Public License # along with this program/library; If not, see # for the GNU Lesser General Public License version 2.1. # ----------------------------------------------------------------------- # Petals ESB - General Properties # ----------------------------------------------------------------------- # This property specifies the name of the container. In distributed mode, this property is mandatory # and must match a container name in the topology.xml file. petals.container.name=sample-0 # This property defines the root directory of all data directories of the current container. # If not specified, the default values is the directory 'data' contained in the parent directory # of the directory containing the file 'server.properties'. #petals.data.basedir=/var/lib/petals/${petals.container.name} # This property specifies the (absolute) path to the Petals repository. # Petals holds its JBI configuration in this repository and can recover this configuration from it. # If not specified, the default repository is '${petals.data.basedir}/repository' #petals.repository.path=${petals.data.basedir}/repository # This property specifies the (absolute) path to the Petals working area. # If not specified, the default value is '${petals.data.basedir}/work' #petals.work.path=${petals.data.basedir}/work # This property defines the configuration file of the logging system. Check the Petals documentation # for more information about the default value. #petals.container.log.config.file=/etc/petals-esb/container-available/${petals.container.name}/logger.properties # This property sets the maximum duration of the processing of a life-cycle operation on a JBI # components and SAs (start, stop, ...). It prevents from hanging threads. petals.task.timeout=120000 # This property is used to activate the control of exchange acceptance by target component when # the NMR routes messages (see isExchangeWithConsumerOkay and isExchangeWithProviderOkay methods # in JBI Component interface). # If not specified, the false value is selected by default. #petals.exchange.validation=true # This property is used to isolate the ClassLoaders created for Shared Libraries and Components # from the Petals container one. # It can be useful to avoid concurrent libraries loading issues. # If not specified, the false value is selected by default. petals.classloaders.isolated=true # This property is used to deactivate the auto-loader service. # It can be useful in production environment to deactivate this service. petals.autoloader=true # This property is used to set the delay, in milliseconds, between two directory scans of the # auto-loader. Default value: 4000ms #petals.autoloader.scan.period=4000 # This property is used to define the directory scanned to install artifacts. # If not specified, the default value is '${petals.data.basedir}/install' #petals.autoloader.path.install=${petals.data.basedir}/install # This property is used to define the directory scanned to install artifacts. # If not specified, the default value is '${petals.data.basedir}/installed' #petals.autoloader.path.installed=${petals.data.basedir}/installed # Alternate topology configuration file URL. This value must be a valid URL like : # - http://localhost:8080/petals/topology.xml # - file:///home/petals/config/topology.xml # - or any valid URL (java.net.URL validation) # # If not specified, the local topology.xml file is used. #petals.topology.url= # Passphrase needed to get sensible information of other Petals nodes of the topology as JMX credentials. # It is required to get sensible information and cannot be null or empty. petals.topology.passphrase=petals # This property defines the strategy of the router # Two kind of strategy can be defines: 'highest' or 'random'. # The following parameters, separated by commas, represent respectively the weighting for a local # endpoint, the weighting for a remote active endpoint and the weighting for a remote inactive endpoint. # The 'random' strategy chooses an endpoint randomly in function of the defined weightings. # # Every endpoint has a chance to be elected, but the more the weight is strong, the more the endpoint # can be elected. # # The 'highest' strategy chooses an endpoint amongst the endpoints with the strongest weight. # If not specified, the strategy 'highest,3,2,1' is selected by default. #petals.router.strategy=highest,3,2,1 # This property defines the number of attempt to send a message to an endpoint. # Several attempts can be done when there is transport failure during the convey of a message # If not specified, 2 attempts is selected by default. #petals.router.send.attempt=2 # This property defines the delay between the send attempts, in milliseconds. # If not specified, 1 second is selected by default. #petals.router.send.delay=1000 #--------------------------------- # Petals ESB - SSL Connections #--------------------------------- # This property defines the key password to retrieve the private key. #petals.ssl.key.password=yourKeyPassword # This property defines the keystore file where the keys are stored. #petals.ssl.keystore.file=/yourPath/yourKeystoreFile # This property defines the keystore password. #petals.ssl.keystore.password=yourKeystorePassword # This property defines the truststore file where the signatures are verified. #petals.ssl.truststore.file=/yourPath/yourTruststoreFile # This property defines the truststore password. #petals.ssl.truststore.password=yourTruststorePassword #---------------------------------------- # Petals ESB - Transporter Configuration #---------------------------------------- # This property defines the size of the transporter queues. One queue exists by target component. # By default, 10000 messages can be enqueued. #petals.transport.queue.max-size=10000 # This property defines the max duration, in milliseconds, to wait when the a transporter queue is # full before to fail. Default value: 2500ms #petals.transport.queue.offering.timeout=2500 # This property defines the number of message that can be received via TCP at the same time. # If not specified, '10' receivers is selected by default. #petals.transport.tcp.receivers=10 # This property defines the number of message that can be send via TCP at the same time, per component. # If not specified, '10' senders is selected by default. #petals.transport.tcp.senders=10 # This property defines the timeout to establish a connection, for a sender, in millisecond. # If not specified, 5000 milliseconds is selected by default. #petals.transport.tcp.connection.timeout=5000 # This property defines the timeout to send a TCP packet, for a sender, in millisecond. # If not specified, 5000 milliseconds is selected by default. #petals.transport.tcp.send.timeout=5000 # This property defines the delay before running the 'sender' eviction thread, in millisecond. # If not specified, 1 minute is selected by default. #petals.transport.tcp.send.evictor.delay=60000 # This property defines the delay before an idle 'sender' is set evictable, in millisecond. # If not specified, 1 minute is selected by default. #petals.transport.tcp.send.evictable.delay=60000 # This property defines the duration of temporary persisted data, such as Message Exchange, in millisecond. # If not specified, 1 hour is selected by default. #petals.persistence.duration=3600000 # This property defines the persistence SQL request fetch size. Default value: 10 #petals.persistence.fetch-size=10 #-------------------------------------- # Petals ESB - Registry Configuration #-------------------------------------- # Registry transporter timeout (in ms). registry.transport.timeout=5000 # Synchronization period (in s). # Use -1 to disable automatic synchronization. registry.synchro.period=113 # To use mySQL as the database for this Petals node. #registry.db.driver=com.mysql.jdbc.Driver #registry.db.url=jdbc:mysql://localhost:3306/petalsRegistry #registry.db.user=petals #registry.db.password=petals #registry.db.dialect=org.hibernate.dialect.MySQLInnoDBDialect #registry.db.caching.enabled=true #registry.db.c3p0.enabled=true #------------------------------------ # Petals ESB - Extension Parameters #------------------------------------ # This property is used to deactivate the artifact repository service. Default value: true #petals.artifact-repository=false # This property defines the root directory of the artifact repository service # If not specified, the default value is '${petals.data.basedir}/artifacts' #petals.artifact-repository.path=${petals.data.basedir}/artifacts # This property is used to deactivate the WS API service. Default value: true #petals.ws-api=false