Add configuration parameters for journal #43
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add role parameters to configure the journal:
activemq_persistence_enabled
True
activemq_persist_id_cache
True
activemq_id_cache_size
20000
activemq_journal_type
ASYNCIO
: libaio,MAPPED
: mmap files,NIO
: Plain Java Files ]ASYNCIO
activemq_paging_directory
data/paging
activemq_bindings_directory
data/bindings
activemq_journal_directory
data/journal
activemq_large_messages_directory
data/largemessages
activemq_journal_datasync
True
activemq_journal_min_files
2
activemq_journal_pool_files
-1
activemq_journal_device_block_size
4096
activemq_journal_file_size
10M
activemq_journal_buffer_timeout
500000
if 'ASYNCIO' else3333333
activemq_journal_max_io
4096
if 'ASYNCIO' else1
activemq_db_jdbc_url
jdbc:derby:target/derby/database-store;create=true
activemq_db_bindings_table
BINDINGS_TABLE
activemq_db_message_table
MESSAGE_TABLE
activemq_db_large_message_table
LARGE_MESSAGES_TABLE
activemq_db_jdbc_driver_class
org.apache.derby.jdbc.EmbeddedDriver
Also, refactor tasks fixing #10