All Downloads are FREE. Search and download functionalities are using the official Maven repository.

chenning.jdbc-yml-quick-wcn-simple.0.0.1.RELEASE.source-code.application.properties Maven / Gradle / Ivy

The newest version!
server.port=8080
#server.session.timeout=-1
#server.context-path=/orangebus

spring.http.encoding.charset=UTF-8
spring.http.encoding.force=true
logging.level.org.springframework=info
#spring.datasource.url=jdbc:mysql://120.77.54.108:3306/orangebus?useSSL=false
spring.datasource.url=jdbc:mysql://10.0.12.202:3307/miaosha?useUnicode=true&characterEncoding=utf-8
spring.datasource.username=root
spring.datasource.password=123456
#spring.datasource.username=root
#spring.datasource.password=rootorange

spring.jpa.properties.hibernate.hbm2ddl.auto=update
spring.batch.job.enabled=false

spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
spring.datasource.filters=stat
spring.datasource.maxActive=1000
spring.datasource.initialSize=100
spring.datasource.maxWait=60000
spring.datasource.minIdle=500
spring.datasource.timeBetweenEvictionRunsMillis=60000
spring.datasource.minEvictableIdleTimeMillis=300000
spring.datasource.validationQuery=select 'x'
spring.datasource.testWhileIdle=true
spring.datasource.testOnBorrow=false
spring.datasource.testOnReturn=false
spring.datasource.poolPreparedStatements=true
spring.datasource.maxOpenPreparedStatements=20
# THYMELEAF (ThymeleafAutoConfiguration)
# Enable template caching.
spring.thymeleaf.cache=false
#Check that the template exists before rendering it.
spring.thymeleaf.check-template=true
# Check that the templates location exists.
spring.thymeleaf.check-template-location=true
# Content-Type value.
spring.thymeleaf.content-type=text/html
# Enable MVC Thymeleaf view resolution.
spring.thymeleaf.enabled=true
# Template encoding.
spring.thymeleaf.encoding=UTF-8
# Comma-separated list of view names that should be excluded from resolution.
spring.thymeleaf.excluded-view-names=
# Template mode to be applied to templates. See also StandardTemplateModeHandlers.
spring.thymeleaf.mode=HTML5
# Prefix that gets prepended to view names when building a URL.
spring.thymeleaf.prefix=classpath:/templates/
# Suffix that gets appended to view names when building a URL.
spring.thymeleaf.suffix=.html
# Order of the template resolver in the chain.
spring.thymeleaf.template-resolver-order=
# Comma-separated list of view names that can be resolved.
#spring.thymeleaf.view-names=
redis.host=10.0.33.28
redis.port=5001
redis.timeout=10
redis.password=
redis.poolMaxTotal=1000
redis.poolMaxIdle=500
redis.poolMaxWait=500

redis.cache.clusterNodes=10.0.33.28:5001,10.0.33.28:5002,10.0.33.28:5003,10.0.33.28:5004,10.0.33.28:5005,10.0.33.28:5006,10.0.33.28:5007,10.0.33.28:5008
redis.cache.password=123456
#\u8BF7\u6C42\u8FC7\u671F\u65F6\u95F4
redis.cache.commandTimeout=300
#\u7F13\u5B58\u65F6\u95F4
redis.cache.expireSeconds=150000
redis.cache.connectionTimeout=300
redis.cache.soTimeout=3000
redis.cache.maxAttempts=1000
redis.cache.maxTotal=1000
redis.cache.maxIdle=1000
redis.cache.minIdle=50


# SPRING RESOURCES HANDLING (ResourceProperties)
# Enable default resource handling.
spring.resources.add-mappings=true
# Cache period for the resources served by the resource handler, in seconds.
spring.resources.cache-period=3600
# Enable caching in the Resource chain.
spring.resources.chain.cache=true
# Enable the Spring Resource Handling chain. Disabled by default unless at least one strategy has been enabled.
spring.resources.chain.enabled=true
# Enable resolution of already gzipped resources.
spring.resources.chain.gzipped=true
# Enable HTML5 application cache manifest rewriting.
spring.resources.chain.html-application-cache=true
# Enable the content Version Strategy.
#spring.resources.chain.strategy.content.enabled=false
# Comma-separated list of patterns to apply to the Version Strategy.
#spring.resources.chain.strategy.content.paths=/**
# Enable the fixed Version Strategy.
#spring.resources.chain.strategy.fixed.enabled=false
# Comma-separated list of patterns to apply to the Version Strategy.
#spring.resources.chain.strategy.fixed.paths=/**
#Version string to use for the Version Strategy.
#spring.resources.chain.strategy.fixed.version=
# Locations of static resources.
spring.resources.static-locations=classpath:/static/

#rabbitmq
spring.rabbitmq.host=10.0.33.28
spring.rabbitmq.port=5672
spring.rabbitmq.username=guest
spring.rabbitmq.password=guest
spring.rabbitmq.virtual-host=/
#\u6D88\u8D39\u8005\u6570\u91CF
spring.rabbitmq.listener.simple.concurrency= 10
spring.rabbitmq.listener.simple.max-concurrency= 10
#\u6D88\u8D39\u8005\u6BCF\u6B21\u4ECE\u961F\u5217\u83B7\u53D6\u7684\u6D88\u606F\u6570\u91CF
spring.rabbitmq.listener.simple.prefetch= 1
#\u6D88\u8D39\u8005\u81EA\u52A8\u542F\u52A8
spring.rabbitmq.listener.simple.auto-startup=true
#\u6D88\u8D39\u5931\u8D25\uFF0C\u81EA\u52A8\u91CD\u65B0\u5165\u961F
spring.rabbitmq.listener.simple.default-requeue-rejected= true
#\u542F\u7528\u53D1\u9001\u91CD\u8BD5
spring.rabbitmq.template.retry.enabled=true 
spring.rabbitmq.template.retry.initial-interval=1000 
spring.rabbitmq.template.retry.max-attempts=3
spring.rabbitmq.template.retry.max-interval=10000
spring.rabbitmq.template.retry.multiplier=1.0




© 2015 - 2024 Weber Informatics LLC | Privacy Policy