The VLINGO XOOM platform SDK for the type-safe Actor Model, delivering Reactive concurrency, high scalability, high-throughput, and resiliency using Java and other JVM languages.
Attempting to by fluent API register some plugins that are unknown to the Configuration will fail. Example, the jdbcQueueMailbox is registered over top of the queueMailbox. Note this is not a problem when registering by means of vlingo-actors.properties.
public class JDBCConcurrentQueueMailboxPluginConfiguration extends ConcurrentQueueMailboxPluginConfiguration {
public static JDBCConcurrentQueueMailboxPluginConfiguration register(final Configuration configuration) {
return new JDBCConcurrentQueueMailboxPluginConfiguration(configuration);
}
JDBCConcurrentQueueMailboxPluginConfiguration(final Configuration configuration) {
final String name = "jdbcQueueMailbox";
final Properties properties = new Properties();
properties.setProperty("plugin." + name + ".defaultMailbox", "false");
this.buildWith(configuration, new PluginProperties(name, properties));
configuration.with(this);
}
}
Attempting to by fluent API register some plugins that are unknown to the
Configuration
will fail. Example, thejdbcQueueMailbox
is registered over top of thequeueMailbox
. Note this is not a problem when registering by means ofvlingo-actors.properties
.