|
Java example source code file (application.conf)
The application.conf Java example source codeakka { extensions = ["akka.contrib.pattern.ClusterReceptionistExtension","akka.contrib.pattern.DistributedPubSubExtension"] loggers = ["akka.event.slf4j.Slf4jLogger"] loglevel = "INFO" actor { provider = "akka.cluster.ClusterActorRefProvider" serialize-messages = on serialize-creators = off worker-dispatcher { type = Dispatcher mailbox-capacity = 3000 mailbox-push-timeout-time = 120s } deployment { serializers { java = "akka.serialization.JavaSerializer" proto = "akka.remote.serialization.ProtobufSerializer" } } } remote { transport = "akka.remote.netty.NettyRemoteTransport" log-remote-lifecycle-events = off netty.tcp { hostname = "localhost" port = 0 maximum-frame-size = 99999999999b } transport-failure-detector { heartbeat-interval = 120 s acceptable-heartbeat-pause = 60 s } } cluster { failure-detector { threshold = 12 acceptable-heartbeat-pause = 120s heartbeat-interval = 5s heartbeat-request { expected-response-after = 120s } } jmx.enabled = on enabled = on allow-local-routees = off auto-down-unreachable-after = off roles = ["master"] } } Other Java examples (source code examples)Here is a short list of links related to this Java application.conf source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.