public StorageStrategy storageStrategy(
ChatBackendProperties properties,
ObjectMapper mapper,
- ChatroomFactory chatroomFactory)
+ InMemoryChatroomFactory chatroomFactory)
{
return new LocalJsonFilesStorageStrategy(
Paths.get(properties.getDatadir()),
}
@Bean
- ChatroomFactory chatroomFactory(ChatBackendProperties properties)
+ InMemoryChatroomFactory chatroomFactory(ChatBackendProperties properties)
{
return new InMemoryChatroomFactory(properties.getChatroomBufferSize());
}