Skip to content

A simple Persistence mechanism to persist arbitrary single objects into different Providers. Kind of a Log4j.. but different

Notifications You must be signed in to change notification settings

calo81/simple-java-multiprovider-persister

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For using in Spring you have these availabl persisters

    <persister:mongo-document-persister id="persister" host="127.0.0.1" port="27017" db="test-db" collection="ticksfromsystem" beanProperties="symbol,price,tradeTime"/>
    <persister:file-csv-persister id="persister" rootDir="/tmp" filePrefix="file" fileSuffix=".tick" rollStrategy="yearMonthDay" beanProperties="symbol,price,tradeTime" buffered="true"/>
    <persister:redis-hash-persister id="persister" host="127.0.0.1" list="tickess" beanProperties="symbol,price,tradeTime"/> 
    <persister:redis-tostring-persister id="persister" host="127.0.0.1" list="tickeplain"/>
    <persister:file-tostring-persister id="persisterRawMessage" rootDir="/tmp/rawticks" filePrefix="file" fileSuffix=".tick" rollStrategy="timeBased" buffered="true" queued="true"/>
    

About

A simple Persistence mechanism to persist arbitrary single objects into different Providers. Kind of a Log4j.. but different

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published