akka-actor-jars 1.1.2-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,154 @@
1
+ ####################
2
+ # Akka Config File #
3
+ ####################
4
+
5
+ # This file has all the default settings, so all these could be removed with no visible effect.
6
+ # Modify as needed.
7
+
8
+ akka {
9
+ version = "1.1.2" # Akka version, checked against the runtime version of Akka.
10
+
11
+ enabled-modules = [] # Comma separated list of the enabled modules. Options: ["remote", "camel", "http"]
12
+
13
+ time-unit = "seconds" # Time unit for all timeout properties throughout the config
14
+
15
+ event-handlers = ["akka.event.EventHandler$DefaultListener"] # event handlers to register at boot time (EventHandler$DefaultListener logs to STDOUT)
16
+ event-handler-level = "INFO" # Options: ERROR, WARNING, INFO, DEBUG
17
+
18
+ # These boot classes are loaded (and created) automatically when the Akka Microkernel boots up
19
+ # Can be used to bootstrap your application(s)
20
+ # Should be the FQN (Fully Qualified Name) of the boot class which needs to have a default constructor
21
+ # boot = ["sample.camel.Boot",
22
+ # "sample.rest.java.Boot",
23
+ # "sample.rest.scala.Boot",
24
+ # "sample.security.Boot"]
25
+ boot = []
26
+
27
+ actor {
28
+ timeout = 5 # Default timeout for Future based invocations
29
+ # - Actor: !! && !!!
30
+ # - UntypedActor: sendRequestReply && sendRequestReplyFuture
31
+ # - TypedActor: methods with non-void return type
32
+ serialize-messages = off # Does a deep clone of (non-primitive) messages to ensure immutability
33
+ throughput = 5 # Default throughput for all ExecutorBasedEventDrivenDispatcher, set to 1 for complete fairness
34
+ throughput-deadline-time = -1 # Default throughput deadline for all ExecutorBasedEventDrivenDispatcher, set to 0 or negative for no deadline
35
+ dispatcher-shutdown-timeout = 1 # Using the akka.time-unit, how long dispatchers by default will wait for new actors until they shut down
36
+
37
+ default-dispatcher {
38
+ type = "GlobalExecutorBasedEventDriven" # Must be one of the following, all "Global*" are non-configurable
39
+ # - ExecutorBasedEventDriven
40
+ # - ExecutorBasedEventDrivenWorkStealing
41
+ # - GlobalExecutorBasedEventDriven
42
+ keep-alive-time = 60 # Keep alive time for threads
43
+ core-pool-size-factor = 1.0 # No of core threads ... ceil(available processors * factor)
44
+ max-pool-size-factor = 4.0 # Max no of threads ... ceil(available processors * factor)
45
+ executor-bounds = -1 # Makes the Executor bounded, -1 is unbounded
46
+ allow-core-timeout = on # Allow core threads to time out
47
+ rejection-policy = "caller-runs" # abort, caller-runs, discard-oldest, discard
48
+ throughput = 5 # Throughput for ExecutorBasedEventDrivenDispatcher, set to 1 for complete fairness
49
+ throughput-deadline-time = -1 # Throughput deadline for ExecutorBasedEventDrivenDispatcher, set to 0 or negative for no deadline
50
+ mailbox-capacity = -1 # If negative (or zero) then an unbounded mailbox is used (default)
51
+ # If positive then a bounded mailbox is used and the capacity is set using the property
52
+ # NOTE: setting a mailbox to 'blocking' can be a bit dangerous,
53
+ # could lead to deadlock, use with care
54
+ #
55
+ # The following are only used for ExecutorBasedEventDriven
56
+ # and only if mailbox-capacity > 0
57
+ mailbox-push-timeout-time = 10 # Specifies the timeout to add a new message to a mailbox that is full - negative number means infinite timeout
58
+ # (in unit defined by the time-unit property)
59
+ }
60
+ }
61
+
62
+ stm {
63
+ fair = on # Should global transactions be fair or non-fair (non fair yield better performance)
64
+ max-retries = 1000
65
+ timeout = 5 # Default timeout for blocking transactions and transaction set (in unit defined by
66
+ # the time-unit property)
67
+ write-skew = true
68
+ blocking-allowed = false
69
+ interruptible = false
70
+ speculative = true
71
+ quick-release = true
72
+ propagation = "requires"
73
+ trace-level = "none"
74
+ }
75
+
76
+ http {
77
+ hostname = "localhost"
78
+ port = 9998
79
+
80
+ #If you are using akka.http.AkkaRestServlet
81
+ filters = ["akka.security.AkkaSecurityFilterFactory"] # List with all jersey filters to use
82
+ # resource-packages = ["sample.rest.scala",
83
+ # "sample.rest.java",
84
+ # "sample.security"] # List with all resource packages for your Jersey services
85
+ resource-packages = []
86
+
87
+ # The authentication service to use. Need to be overridden (sample now)
88
+ # authenticator = "sample.security.BasicAuthenticationService"
89
+ authenticator = "N/A"
90
+
91
+ # Uncomment if you are using the KerberosAuthenticationActor
92
+ # kerberos {
93
+ # servicePrincipal = "HTTP/localhost@EXAMPLE.COM"
94
+ # keyTabLocation = "URL to keytab"
95
+ # kerberosDebug = "true"
96
+ # realm = "EXAMPLE.COM"
97
+ # }
98
+ kerberos {
99
+ servicePrincipal = "N/A"
100
+ keyTabLocation = "N/A"
101
+ kerberosDebug = "N/A"
102
+ realm = ""
103
+ }
104
+
105
+ #If you are using akka.http.AkkaMistServlet
106
+ mist-dispatcher {
107
+ #type = "GlobalExecutorBasedEventDriven" # Uncomment if you want to use a different dispatcher than the default one for Comet
108
+ }
109
+ connection-close = true # toggles the addition of the "Connection" response header with a "close" value
110
+ root-actor-id = "_httproot" # the id of the actor to use as the root endpoint
111
+ root-actor-builtin = true # toggles the use of the built-in root endpoint base class
112
+ timeout = 1000 # the default timeout for all async requests (in ms)
113
+ expired-header-name = "Async-Timeout" # the name of the response header to use when an async request expires
114
+ expired-header-value = "expired" # the value of the response header to use when an async request expires
115
+ }
116
+
117
+ remote {
118
+
119
+ # secure-cookie = "050E0A0D0D06010A00000900040D060F0C09060B" # generate your own with '$AKKA_HOME/scripts/generate_config_with_secure_cookie.sh' or using 'Crypt.generateSecureCookie'
120
+ secure-cookie = ""
121
+
122
+ compression-scheme = "zlib" # Options: "zlib" (lzf to come), leave out for no compression
123
+ zlib-compression-level = 6 # Options: 0-9 (1 being fastest and 9 being the most compressed), default is 6
124
+
125
+ layer = "akka.remote.netty.NettyRemoteSupport"
126
+
127
+ server {
128
+ hostname = "localhost" # The hostname or IP that clients should connect to
129
+ port = 2552 # The port clients should connect to. Default is 2552 (AKKA)
130
+ message-frame-size = 1048576 # Increase this if you want to be able to send messages with large payloads
131
+ connection-timeout = 1
132
+ require-cookie = off # Should the remote server require that it peers share the same secure-cookie (defined in the 'remote' section)?
133
+ untrusted-mode = off # Enable untrusted mode for full security of server managed actors, allows untrusted clients to connect.
134
+ backlog = 4096 # Sets the size of the connection backlog
135
+ execution-pool-keepalive = 60# Length in akka.time-unit how long core threads will be kept alive if idling
136
+ execution-pool-size = 16# Size of the core pool of the remote execution unit
137
+ max-channel-memory-size = 0 # Maximum channel size, 0 for off
138
+ max-total-memory-size = 0 # Maximum total size of all channels, 0 for off
139
+ }
140
+
141
+ client {
142
+ buffering {
143
+ retry-message-send-on-failure = on
144
+ capacity = -1 # If negative (or zero) then an unbounded mailbox is used (default)
145
+ # If positive then a bounded mailbox is used and the capacity is set using the property
146
+ }
147
+ reconnect-delay = 5
148
+ read-timeout = 10
149
+ message-frame-size = 1048576
150
+ reap-futures-delay = 5
151
+ reconnection-time-window = 600 # Maximum time window that a client should try to reconnect for
152
+ }
153
+ }
154
+ }
@@ -0,0 +1,5 @@
1
+ # This config imports the Akka reference configuration.
2
+ include "akka-reference.conf"
3
+
4
+ # In this file you can override any option defined in the 'akka-reference.conf' file.
5
+ # Copy in all or parts of the 'akka-reference.conf' file and modify as you please.
Binary file
@@ -0,0 +1,11 @@
1
+ # encoding: utf-8
2
+
3
+ require 'java'
4
+ require 'scala-library-jars'
5
+
6
+
7
+ AKKA_HOME = File.expand_path('../..', __FILE__)
8
+
9
+ $CLASSPATH << File.join(AKKA_HOME, 'config')
10
+
11
+ Dir["#{AKKA_HOME}/lib/*.jar"].each { |jar| require(jar) }
metadata ADDED
@@ -0,0 +1,70 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: akka-actor-jars
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 1.1.2
6
+ platform: java
7
+ authors:
8
+ - Theo Hultberg
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-08-07 00:00:00 +02:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: scala-library-jars
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ~>
23
+ - !ruby/object:Gem::Version
24
+ version: 2.9.0
25
+ type: :runtime
26
+ version_requirements: *id001
27
+ description: ""
28
+ email:
29
+ - theo@iconara.net
30
+ executables: []
31
+
32
+ extensions: []
33
+
34
+ extra_rdoc_files: []
35
+
36
+ files:
37
+ - lib/akka-actor-jars.rb
38
+ - lib/akka-actor-1.1.2.jar
39
+ - config/akka-reference.conf
40
+ - config/akka.conf
41
+ has_rdoc: true
42
+ homepage: http://akka.io
43
+ licenses: []
44
+
45
+ post_install_message:
46
+ rdoc_options: []
47
+
48
+ require_paths:
49
+ - lib
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: "0"
56
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: "0"
62
+ requirements: []
63
+
64
+ rubyforge_project: akka-actor-jars
65
+ rubygems_version: 1.5.1
66
+ signing_key:
67
+ specification_version: 3
68
+ summary: Akka Actors JARs
69
+ test_files: []
70
+