# # Copyright (c) 2005-2012 EBM WebSourcing, 2012-2024 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 http://www.gnu.org/licenses/ # 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-esb/${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 defines the environment configuration file. Check the Petals documentation # for more information about the default value. #petals.environment.config.file=/etc/petals-esb/default-env.sh # 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 true value is selected by default #petals.classloaders.isolated=true # 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= # Pass-phrase 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 # Max waiting time, in seconds, to acquire a distributed lock over all Petals nodes. # This should normally never be reached. # Default value: 30s. #petals.topology.locks.max-wait-time=30 # Waiting time, in milliseconds, before to start the topology pinger. Default value: 2s #petals.topology.pinger.start-delay=2000 # Delay, in milliseconds, between two runs of the topology pinger. Default value: 5s #petals.topology.pinger.period-delay=5000 # 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 # This property defines the delay, in milliseconds, to wait before to force the end of pending exchanges when # stopping the router (ie. stopping the current Petals container). # If not specified, 30 second are used by default. #petals.router.traffic.stop.delay=30000 # This property defines the delay, in milliseconds, to wait before to force the end of pending exchanges when # pausing the router (ie. attaching/detaching the current Petals container to/from a topology). # If not specified, 10 second are used by default. #petals.router.traffic.pause.delay=10000 #--------------------------------- # 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 listening interface of the TCP transport: Default value: 0.0.0.0 # This can for example be changed to 0.0.0.0 to listen to all interfaces. #petals.transport.tcp.receivers.listening.interface=0.0.0.0 # 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 keep alive time before to stop unused TCP receivers. # Default value: 1min. #petals.transport.tcp.receiver.keep-alive=60000 # 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 #-------------------------------------- # Petals ESB - Registry Configuration #-------------------------------------- # Max size, in endpoint number, of the cache associated to each map of the registry overlay client implementation. # Default value: 500 endpoints #org.ow2.petals.microkernel.registry.overlay.RegistryOverlayImpl.map-cache.max-size=500 #-------------------------------------- # Petals ESB - System recovery service #-------------------------------------- # This property defines the core size of the thread pool used by the system recovery service. # The default value is '5'. #petals.recovery.corepoolsize=5 # This property defines the keep alive time, in seconds, of the thread pool used by the system recovery service. # The default value is '60'. Note: the system recovery service is stopped (and thread pool shutdown) when the # system recovery is finished. #petals.recovery.keepalivetime=60