1. 程式人生 > >SpringBoot中application引數中文詳解

SpringBoot中application引數中文詳解

要加“m”說明是MB,否則就是KB了.
-Xms:初始值
-Xmx:最大值
-Xmn:最小值
java -Xms10m -Xmx80m -jar mod.jar & 時區設定 java -jar -Duser.timezone=GMT+08
mod.jar &

#============================================= ==================
#普通彈簧屬性
##
#此示例檔案作為指南提供。不要將其複製在其中
#整個到您自己的應用程式。^^^
#============================================= ==================

#—————————————-
#核心屬性
#—————————————-

#BANNER
banner.charset = UTF -8#橫幅檔案編碼。
banner.location = classpath :banner.txt#橫幅檔案位置。

#LOGGING
logging.config =#日誌記錄配置檔案的位置。例如對於Logback的“classpath:logback.xml”
logging.exception-conversion-word =%wEx#記錄異常時使用的轉換字。
logging.file =#日誌檔名。例如myapp.log
logging.level。* =#日誌級別嚴重性對映。例如logging.level.org.springframework = DEBUG


logging.path =#日誌檔案的位置。例如/ var / log
logging.pattern.console =#輸出到控制檯的Appender模式。僅支援預設logback設定。
logging.pattern.file =#輸出到檔案的Appender模式。僅支援預設logback設定。
logging.pattern.level =#日誌級別的Appender模式(預設為%5p)。僅支援預設logback設定。
logging.register-shutdown-hook = false #在初始化時為日誌系統註冊一個關閉掛接。

#AOP
spring.aop.auto = true #新增@EnableAspectJAutoProxy。
spring.aop.proxy-target-class = false #是否要建立基於子類(CGLIB)的代理(true),而不是基於標準Java介面的代理(false)。

#IDENTITY(ContextIdApplicationContextInitializer)
spring.application.index =#應用程式索引。
spring.application.name =#應用程式名稱。

#ADMIN(SpringApplicationAdminJmxAutoConfiguration)
spring.application.admin.enabled = false #為應用程式啟用管理功能。
spring.application.admin.jmx-name = org .springframework.boot:type = Admin ,name = SpringApplication #應用程式管理MBean的JMX名稱。

#AUTO-CONFIGURATION
spring.autoconfigure.exclude =#要自動配置要排除的類。

#SPRING CORE
spring.beaninfo.ignore = true #跳過搜尋BeanInfo類。

#SPRING CACHE(CacheProperties)
spring.cache.cache-names =#如果底層快取管理器支援,則建立緩衝區名稱的逗號分隔列表。
spring.cache.ehcache.config =#用於初始化EhCache的配置檔案的位置。
spring.cache.guava.spec =#用於建立快取的規範。檢查CacheBuilderSpec有關規格格式的更多詳細資訊。
spring.cache.hazelcast.config =#用於初始化Hazelcast的配置檔案的位置。
spring.cache.infinispan.config =#用於初始化Infinispan的配置檔案的位置。
spring.cache.jcache.config =#用於初始化快取管理器的配置檔案的位置。
spring.cache.jcache.provider =#用於檢索符合JSR-107規範的快取管理器的CachingProvider實現的完全限定名。只有在類路徑上有多個JSR-107實現可用時才需要。
spring.cache.type =#快取型別,預設情況下根據環境自動檢測。

#SPRING CONFIG - 僅使用環境屬性(ConfigFileApplicationListener)
spring.config.location =#配置檔案位置。
spring.config.name = application #配置檔名。

#HAZELCAST(HazelcastProperties)
spring.hazelcast.config =#用於初始化Hazelcast的配置檔案的位置。

#JMX
spring.jmx.default-domain =#JMX域名。
spring.jmx.enabled = true #將管理bean暴露給JMX域。
spring.jmx.server = mbeanServer #MBeanServer bean名稱。

#Email(MailProperties)
spring.mail.default-encoding = UTF -8#預設MimeMessage編碼。
spring.mail.host =#SMTP伺服器主機。例如smtp.example.com
spring.mail.jndi-name =#Session JNDI名稱。設定時,優先於其他郵件設定。
spring.mail.password =#SMTP伺服器的登入密碼。
spring.mail.port =#SMTP伺服器埠。
spring.mail.properties。* =#其他JavaMail會話屬性。
spring.mail.protocol = smtp #SMTP伺服器使用的協議。
spring.mail.test-connection = false #測試郵件伺服器在啟動時是否可用。
spring.mail.username =#SMTP伺服器的登入使用者。

#APPLICATION SETTINGS(SpringApplication)
spring.main.banner-mode = console #用於在應用程式執行時顯示橫幅的模式。
spring.main.sources =#要包括在ApplicationContext中的Sources(類名,包名或XML資源位置)。
spring.main.web-environment =#在Web環境中執行應用程式(預設情況下自動檢測)。

#FILE ENCODING(FileEncodingApplicationListener)
spring.mandatory-file-encoding =#應用程式必須使用的預期字元編碼。

#INTERNATIONALIZATION(MessageSourceAutoConfiguration)
spring.messages.basename = messages #以逗號分隔的基本名稱列表,每個名稱遵循ResourceBundle約定。
spring.messages.cache-seconds = -1#載入的資源束檔案快取到期時間(以秒為單位)。設定為-1時,捆綁包將被永久快取。
spring.messages.encoding = UTF -8#訊息包編碼。
spring.messages.fallback-to-system-locale = true #設定是否找不到特定區域設定的檔案,返回到系統區域設定。

#OUTPUT
spring.output.ansi.enabled = detect #配置ANSI輸出(可以是“detect”,“always”,“never”)。

#PID FILE(ApplicationPidFileWriter)
spring.pid.fail-on-write-error =#如果使用ApplicationPidFileWriter但不能寫入PID檔案,則失敗。
spring.pid.file =#要寫入的PID檔案的位置(如果使用ApplicationPidFileWriter)。

#PROFILES
spring.profiles.active =#活動配置檔案的逗號分隔列表。
spring.profiles.include =#無條件地啟用指定的逗號分隔的概要檔案。

#SENDGRID(SendGridAutoConfiguration)
spring.sendgrid.api-key =#SendGrid api key(使用者名稱/密碼的替代)
spring.sendgrid.username =#SendGrid帳戶使用者名稱
spring.sendgrid.password =#SendGrid帳戶密碼
spring.sendgrid.proxy.host =#SendGrid代理主機
spring.sendgrid.proxy.port =#SendGrid代理埠

#—————————————-
#WEB PROPERTIES
#—————————————-

#MULTIPART(MultipartProperties)
multipart.enabled = true #啟用對多部分上傳的支援。
multipart.file-size-threshold = 0 #將檔案寫入磁碟的閾值。值可以使用字尾“MB”或“KB”表示兆位元組或千位元組大小。
multipart.location =#上傳檔案的中間位置。
multipart.max-file-size = 1Mb #最大檔案大小。值可以使用字尾“MB”或“KB”表示兆位元組或千位元組大小。
multipart.max-request-size = 10Mb #最大請求大小。值可以使用字尾“MB”或“KB”表示兆位元組或千位元組大小。

#EMBEDDED SERVER CONFIGURATION(ServerProperties)
server.address =#伺服器應繫結到的網路地址。
server.compression.enabled = false #如果啟用了響應壓縮。
server.compression.excluded-user-agents =#要從壓縮中排除的使用者代理的列表。
server.compression.mime-types =#應壓縮的MIME型別的逗號分隔列表。例如text / html,text / css,application / json
server.compression.min-response-size =#要執行壓縮所需的最小響應大小。例如2048
server.context-parameters。* =#Servlet上下文初始化引數。例如server.context-parameters.a = 阿爾法
server.context-path =#應用程式的上下文路徑。
server.display-name = application #顯示應用程式的名稱。
server.error.include-stacktrace = never #何時包含“stacktrace”屬性。
server.error.path = / error#錯誤控制器的路徑。
server.error.whitelabel.enabled = true #在伺服器錯誤的情況下啟用瀏覽器中顯示的預設錯誤頁面。
server.jsp-servlet.class-name = org .apache.jasper.servlet.JspServlet#JSP servlet的類名。
server.jsp-servlet.init-parameters。* =#用於配置JSP servlet的初始化引數
server.jsp-servlet.registered = true #是否註冊了JSP servlet
server.port = 8080 #伺服器HTTP埠。
server.server-header =#在伺服器響應頭中傳送的值(如果為空,則使用servlet容器預設值)
server.servlet-path = /#主排程程式servlet的路徑。
server.session.cookie.comment =#對會話cookie進行註釋。
server.session.cookie.domain =#會話cookie的域。
server.session.cookie.http-only =#“HttpOnly”標誌為會話cookie。
server.session.cookie.max-age =#會話Cookie的最大時間(以秒為單位)。
server.session.cookie.name =#會話cookie名稱。
server.session.cookie.path =#會話cookie的路徑。
server.session.cookie.secure =#“安全”標誌的會話cookie。
server.session.persistent = false #在重新啟動之間保持會話資料。
server.session.store-dir =#用於儲存會話資料的目錄。
server.session.timeout =#會話超時(以秒為單位)。
server.session.tracking-modes =#會話跟蹤模式(以下一個或多個:“cookie”,“url”,“ssl”)。
server.ssl.ciphers =#支援的SSL密碼。
server.ssl.client-auth =#是否需要客戶端身份驗證(“需要”)或需要(“需要”)。需要信任儲存。
server.ssl.enabled =#
server.ssl.key-alias =#
server.ssl.key-password =#
server.ssl.key-store =#
server.ssl.key-store-password =#
server.ssl.key-store-provider =#
server.ssl.key-store-type =#
server.ssl.protocol =#
server.ssl.trust-store =#
server.ssl.trust-store-password =#
server.ssl.trust-store-provider =#
server.ssl.trust-store-type =#
server.tomcat.accesslog.directory = logs #建立日誌檔案的目錄。可以相對於tomcat的base dir或絕對。
server.tomcat.accesslog.enabled = false #啟用訪問日誌。
server.tomcat.accesslog.pattern = common #訪問日誌的格式模式。
server.tomcat.accesslog.prefix = access_log #日誌檔名字首。
server.tomcat.accesslog.suffix = .log#日誌檔名字尾。
server.tomcat.background-processor-delay = 30 #呼叫backgroundProcess方法之間的延遲(以秒為單位)。
server.tomcat.basedir =#Tomcat基目錄。如果未指定,將使用臨時目錄。
server.tomcat.internal-proxies = 10 \。\ d {1,3} \。\ d {1,3} \。\ d {1,3} | \
192 \。168 \。\ d {1,3} \。\ d {1,3} | \
169 \。254 \。\ d {1,3} \。\ d {1,3} | \
127 \。\ d {1,3} \。\ d {1,3} \。\ d {1,3} | \
172 \。1 [6-9] {1} \。\ d {1,3} \。\ d {1,3} | \
172 \。2 [0-9] {1} \。\ d {1,3} \。\ d {1,3} | \
172 \。3 [0-1] {1} \。\ d {1,3} \。\ d {1,3}#正則表示式匹配可信IP地址。
server.tomcat.max-http-header-size = 0 #HTTP訊息頭的最大大小(以位元組為單位)。
server.tomcat.max-threads = 0 #最大工作執行緒數。
server.tomcat.port-header = X -Forwarded-Port#用於覆蓋原始埠值的HTTP頭的名稱。
server.tomcat.protocol-header =#儲存傳入協議的頭,通常命名為“X-Forwarded-Proto”。
server.tomcat.protocol-header-https-value = https #指示入局請求使用SSL的協議頭的值。
server.tomcat.remote-ip-header =#從中提取遠端ip的http標頭的名稱。例如X-FORWARDED-FOR
server.tomcat.uri-encoding = UTF -8#用於解碼URI的字元編碼。
server.undertow.accesslog.dir =#訪問日誌目錄。
server.undertow.accesslog.enabled = false #啟用訪問日誌。
server.undertow.accesslog.pattern = common #訪問日誌的格式模式。
server.undertow.buffer-size =#每個緩衝區的大小(以位元組為單位)。
server.undertow.buffers-per-region =#每個區域的緩衝區數。
server.undertow.direct-buffers =#在Java堆外分配緩衝區。
server.undertow.io-threads =#為worker建立的I / O執行緒數。
server.undertow.worker-threads =#工作執行緒數。
server.use-forward-headers =#如果X-Forwarded- *頭應該應用於HttpRequest。

#FREEMARKER(FreeMarkerAutoConfiguration)
spring.freemarker.allow-request-override = false #設定是否允許HttpServletRequest屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.freemarker.allow-session-override = false #設定是否允許HttpSession屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.freemarker.cache = false #啟用模板快取。
spring.freemarker.charset = UTF -8#模板編碼。
spring.freemarker.check-template-location = true #檢查模板位置是否存在。
spring.freemarker.content-type = text / html#Content-Type值。
spring.freemarker.enabled = true #為此技術啟用MVC檢視解析度。
spring.freemarker.expose-request-attributes = false #設定是否應在與模板合併之前將所有請求屬性新增到模型。
spring.freemarker.expose-session-attributes = false #設定在與模板合併之前是否應將所有HttpSession屬性新增到模型。
spring.freemarker.expose-spring-macro-helpers = true #設定是否公開一個RequestContext供Spring的巨集庫使用,名稱為“springMacroRequestContext”。
spring.freemarker.prefer-file-system-access = true #首選模板載入的檔案系統訪問。檔案系統訪問啟用對模板更改的熱檢測。
spring.freemarker.prefix =#在構建URL時,預先檢視名稱的字首。
spring.freemarker.request-context-attribute =#所有檢視的RequestContext屬性的名稱。
spring.freemarker.settings。* =#眾所周知的FreeMarker鍵,它將被傳遞給FreeMarker的配置。
spring.freemarker.suffix =#構建URL時附加到檢視名稱的字尾。
spring.freemarker.template-loader-path = classpath :/ templates /#模板路徑的逗號分隔列表。
spring.freemarker.view-names =#可以解析的檢視名稱的白名單。

#GROOVY TEMPLATES(GroovyTemplateAutoConfiguration)
spring.groovy.template.allow-request-override = false #設定是否允許HttpServletRequest屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.groovy.template.allow-session-override = false #設定是否允許HttpSession屬性覆蓋(隱藏)控制器生成的同名的模型屬性。
spring.groovy.template.cache =#啟用模板快取。
spring.groovy.template.charset = UTF -8#模板編碼。
spring.groovy.template.check-template-location = true #檢查模板位置是否存在。
spring.groovy.template.configuration。* =#參見GroovyMarkupConfigurer
spring.groovy.template.content-type = test / html#Content-Type值。
spring.groovy.template.enabled = true #為此技術啟用MVC檢視解析度。
spring.groovy.template.expose-request-attributes = false #設定是否應在合併模板之前將所有請求屬性新增到模型。
spring.groovy.template.expose-session-attributes = false #設定在與模板合併之前是否應該將所有HttpSession屬性新增到模型。
spring.groovy.template.expose-spring-macro-helpers = true #設定是否公開一個RequestContext供Spring的巨集庫使用,名稱為“springMacroRequestContext”。
spring.groovy.template.prefix =#構建URL時,在前面新增用於檢視名稱的字首。
spring.groovy.template.request-context-attribute =#所有檢視的RequestContext屬性的名稱。
spring.groovy.template.resource-loader-path = classpath :/ templates /#模板路徑。
spring.groovy.template.suffix = .tpl#構建URL時附加到檢視名稱的字尾。
spring.groovy.template.view-names =#可以解析的檢視名稱的白名單。

#SPRING HATEOAS(HateoasProperties)
spring.hateoas.use-hal-as-default-json-media-type = true #指定是否應該將application / hal + json響應傳送到接受application / json的請求。

#HTTP訊息轉換
spring.http.converters.preferred-json-mapper = jackson #首選用於HTTP訊息轉換的JSON對映程式。設定為“gson”以強制使用Gson,當它和Jackson都在類路徑上時。

#HTTP encoding(HttpEncodingProperties)
spring.http.encoding.charset = UTF -8#HTTP請求和響應的字符集。如果未明確設定,則新增到“Content-Type”標題。
spring.http.encoding.enabled = true #啟用http編碼支援。
spring.http.encoding.force = true #強制編碼到配置的字符集上HTTP請求和響應。

#JACKSON(JacksonProperties)
spring.jackson.date-format =#日期格式字串或完全限定的日期格式類名稱。例如yyyy-MM-dd HH:mm:ss
spring.jackson.deserialization。* =#Jackson on / off功能影響Java物件的反序列化方式。
spring.jackson.generator。* =#Jackson的on / off功能用於生成器。
spring.jackson.joda-date-time-format =#Joda日期時間格式字串。如果未配置,如果使用格式字串配置,“date-format”將用作後備。
spring.jackson.locale =#用於格式化的區域設定。
spring.jackson.mapper。* =#Jackson通用開/關功能。
spring.jackson.parser。* =#Jackson解析器的on / off功能。
spring.jackson.property-naming-strategy =#Jackson的PropertyNamingStrategy上的一個常量。也可以是PropertyNamingStrategy子類的完全限定類名。
spring.jackson.serialization。* =#Jackson on / off功能影響Java物件的序列化方式。
spring.jackson.serialization-inclusion =#控制序列化期間屬性的包含。使用Jackson的JsonInclude.Include列舉中的值之一進行配置。
spring.jackson.time-zone =#格式化日期時使用的時區。例如America / Los_Angeles

#JERSEY(JerseyProperties)
spring.jersey.application-path =#作為應用程式的基本URI的路徑。如果指定,則覆蓋“@ApplicationPath”的值。
spring.jersey.filter.order = 0 #Jersey過濾器鏈的順序。
spring.jersey.init。* =#通過servlet或過濾器傳遞給Jersey的初始引數。
spring.jersey.type = servlet #Jersey整合型別。可以是“servlet”或“filter”。

#SPRING MOBILE DEVICE VIEWS(DeviceDelegatingViewResolverAutoConfiguration)
spring.mobile.devicedelegatingviewresolver.enable-fallback = false #啟用支援回退解析。
spring.mobile.devicedelegatingviewresolver.enabled = false #啟用裝置檢視解析器。
spring.mobile.devicedelegatingviewresolver.mobile-prefix = mobile /#預先在移動裝置上檢視名稱的字首。
spring.mobile.devicedelegatingviewresolver.mobile-suffix =#附加到移動裝置的檢視名稱的字尾。
spring.mobile.devicedelegatingviewresolver.normal-prefix =#字首,用於檢視常規裝置的名稱。
spring.mobile.devicedelegatingviewresolver.normal-suffix =#附加到普通裝置的檢視名稱的字尾。
spring.mobile.devicedelegatingviewresolver.tablet-prefix = tablet /#預先檢視平板電腦裝置名稱的字首。
spring.mobile.devicedelegatingviewresolver.tablet-suffix =#附加到平板電腦裝置的檢視名稱的字尾。

#SPRING MOBILE SITE PREFERENCE(SitePreferenceAutoConfiguration)
spring.mobile.sitepreference.enabled = true #啟用SitePreferenceHandler。

#MUSTACHE TEMPLATES(MustacheAutoConfiguration)
spring.mustache.cache = false #啟用模板快取。
spring.mustache.charset = UTF -8#模板編碼。
spring.mustache.check-template-location = true #檢查模板位置是否存在。
spring.mustache.content-type = text / html#Content-Type值。
spring.mustache.enabled = true #為此技術啟用MVC檢視解析度。
spring.mustache.prefix = classpath :/ templates /#要應用於模板名稱的字首。
spring.mustache.suffix = .html#應用於模板名稱的字尾。
spring.mustache.view-names =#可以解析的檢視名稱的白名單。

#SPRING MVC(WebMvcProperties)
spring.mvc.async.request-timeout =#非同步請求處理超時之前的時間(以毫秒為單位)。
spring.mvc.date-format =#要使用的日期格式。例如dd / MM / yyyy
spring.mvc.dispatch-trace-request = false #將TRACE請求分發到FrameworkServlet doService方法。
spring.mvc.dispatch-options-request = false #向FrameworkServlet doService方法分發OPTIONS請求。
spring.mvc.favicon.enabled = true #啟用favicon.ico的解析。
spring.mvc.ignore-default-model-on-redirect = true #如果在重定向場景中應該忽略“預設”模型的內容。
spring.mvc.locale =#要使用的區域設定。
spring.mvc.media-types。* =#將副檔名對映到用於內容協商的媒體型別。
spring.mvc.message-codes-resolver-format =#訊息程式碼的格式化策略。例如PREFIX_ERROR_CODE
spring.mvc.static-path-pattern = / **#用於靜態資源的路徑模式。
spring.mvc.throw-exception-if-no-handler-found = false #如果沒有找到處理請求的處理程式,應丟擲“NoHandlerFoundException”。
spring.mvc.view.prefix =#Spring MVC檢視字首。
spring.mvc.view.suffix =#Spring MVC檢視字尾。

#SPRING RESOURCES HANDLING(ResourceProperties)
spring.resources.add-mappings = true #啟用預設資源處理。
spring.resources.cache-period =#資源處理程式服務的資源的快取記憶體時間段(以秒為單位)。
spring.resources.chain.cache = true #在資源鏈中啟用快取。
spring.resources.chain.enabled =#啟用Spring資源處理鏈。預設情況下禁用,除非已啟用至少一個策略。
spring.resources.chain.html-application-cache = false #啟用HTML5應用程式快取清單重寫。
spring.resources.chain.strategy.content.enabled = false #啟用內容版本策略。
spring.resources.chain.strategy.content.paths = / **#要應用於版本策略的模式的逗號分隔列表。
spring.resources.chain.strategy.fixed.enabled = false #啟用固定版本策略。
spring.resources.chain.strategy.fixed.paths =#要應用於版本策略的模式的逗號分隔列表。
spring.resources.chain.strategy.fixed.version =#用於版本策略的版本字串。
spring.resources.static-locations = classpath :/ META-INF / resources /,classpath:/ resources /,classpath:/ static /,classpath:/ public /#靜態資源的位置。

#SPRING SOCIAL(SocialWebAutoConfiguration)
spring.social.auto-connection-views = false #啟用支援的提供程式的連線狀態檢視。

#SPRING SOCIAL FACEBOOK(FacebookAutoConfiguration)
spring.social.facebook.app-id =#你的應用程式的Facebook應用程式ID
spring.social.facebook.app-secret =#你的應用程式的Facebook應用程式祕密

#SPRING SOCIAL LINKEDIN(LinkedInAutoConfiguration)
spring.social.linkedin.app-id =#您的應用程式的LinkedIn應用程式ID
spring.social.linkedin.app-secret =#你的應用程式的LinkedIn應用程式祕密

#SPRING SOCIAL TWITTER(TwitterAutoConfiguration)
spring.social.twitter.app-id =#您應用程式的Twitter應用程式ID
spring.social.twitter.app-secret =#你的應用程式的Twitter應用程式祕密

#THYMELEAF(ThymeleafAutoConfiguration)
spring.thymeleaf.cache = true #啟用模板快取。
spring.thymeleaf.check-template-location = true #檢查模板位置是否存在。
spring.thymeleaf.content-type = text / html#Content-Type值。
spring.thymeleaf.enabled = true #啟用MVC Thymeleaf檢視解析度。
spring.thymeleaf.encoding = UTF -8#模板編碼。
spring.thymeleaf.excluded-view-names =#應該從解析中排除的以逗號分隔的檢視名稱列表。
spring.thymeleaf.mode = HTML5 #要應用於模板的模板模式。另請參見StandardTemplateModeHandlers。
spring.thymeleaf.prefix = classpath :/ templates /#構建URL時預先檢視名稱的字首。
spring.thymeleaf.suffix = .html#構建URL時附加到檢視名稱的字尾。
spring.thymeleaf.template-resolver-order =#鏈中模板解析器的順序。
spring.thymeleaf.view-names =#可以解析的以逗號分隔的檢視名稱列表。

#VELOCITY TEMPLATES(VelocityAutoConfiguration)
spring.velocity.allow-request-override = false #設定是否允許HttpServletRequest屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.velocity.allow-session-override = false #設定是否允許HttpSession屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.velocity.cache =#啟用模板快取。
spring.velocity.charset = UTF -8#模板編碼。
spring.velocity.check-template-location = true #檢查模板位置是否存在。
spring.velocity.content-type = text / html#Content-Type值。
spring.velocity.date-tool-attribute =#要在檢視的Velocity上下文中公開的DateTool輔助物件的名稱。
spring.velocity.enabled = true #為此技術啟用MVC檢視解析度。
spring.velocity.expose-request-attributes = false #設定是否應在與模板合併之前將所有請求屬性新增到模型。
spring.velocity.expose-session-attributes = false #設定在與模板合併之前是否應該將所有HttpSession屬性新增到模型。
spring.velocity.expose-spring-macro-helpers = true #設定是否公開一個RequestContext供Spring的巨集庫使用,名稱為“springMacroRequestContext”。
spring.velocity.number-tool-attribute =#要在檢視的Velocity上下文中公開的NumberTool輔助物件的名稱。
spring.velocity.prefer-file-system-access = true #首選模板載入的檔案系統訪問。檔案系統訪問啟用對模板更改的熱檢測。
spring.velocity.prefix =#構建URL時在前面新增用於檢視名稱的字首。
spring.velocity.properties。* =#額外的速度屬性。
spring.velocity.request-context-attribute =#所有檢視的RequestContext屬性的名稱。
spring.velocity.resource-loader-path = classpath :/ templates /#模板路徑。
spring.velocity.suffix = .vm #構建URL時附加到檢視名稱的字尾。
spring.velocity.toolbox-config-location =#Velocity工具箱配置位置。例如`/ WEB-INF / toolbox.xml
spring.velocity.view-names =#可以解析的檢視名稱的白名單。

#—————————————-
#安全性
#—————————————-
#SECURITY(SecurityProperties)
security.basic.authorize-mode = role #應用安全授權模式。
security.basic.enabled = true #啟用基本認證。
security.basic.path = / **#以逗號分隔的安全路徑列表。
security.basic.realm = Spring #HTTP基本領域名稱。
security.enable-csrf = false #啟用跨站點請求偽造支援。
security.filter-order = 0 #安全過濾器鏈順序。
security.filter-dispatcher-types = ASYNC ,FORWARD,INCLUDE,REQUEST#安全過濾器鏈分派器型別。
security.headers.cache = true #啟用快取控制HTTP頭。
security.headers.content-type = true #啟用“X-Content-Type-Options”標頭。
security.headers.frame = true #啟用“X-Frame-Options”標頭。
security.headers.hsts =#HTTP嚴格傳輸安全(HSTS)模式(無,域,全部)。
security.headers.xss = true #啟用跨站點指令碼(XSS)保護。
security.ignored =#要從預設安全路徑中排除的路徑的逗號分隔列表。
security.require-ssl = false #為所有請求啟用安全通道。
security.sessions = stateless #會話建立策略(始終,從不,if_required,無狀態)。
security.user.name = user #預設使用者名稱。
security.user.password =#預設使用者名稱的密碼。預設情況下,在啟動時記錄隨機密碼。
security.user.role = USER #為預設使用者名稱授予角色。

#SECURITY OAUTH2 CLIENT(OAuth2ClientProperties
security.oauth2.client.client-id =#OAuth2客戶端ID。
security.oauth2.client.client-secret =#OAuth2客戶端金鑰。預設情況下會生成隨機金鑰

#SECURITY OAUTH2 RESOURCES(ResourceServerProperties
security.oauth2.resource.id =#資源的識別符號。
security.oauth2.resource.jwt.key-uri =#JWT令牌的URI。如果值不可用並且金鑰為public,則可以設定。
security.oauth2.resource.jwt.key-value =#JWT令牌的驗證金鑰。可以是對稱祕密或PEM編碼的RSA公鑰。
security.oauth2.resource.prefer-token-info = true #使用令牌info,可以設定為false來使用使用者資訊。
security.oauth2.resource.service-id = resource #
security.oauth2.resource.token-info-uri =#令牌解碼端點的URI。
security.oauth2.resource.token-type =#使用userInfoUri時要傳送的令牌型別。
security.oauth2.resource.user-info-uri =#使用者端點的URI。

#SECURITY OAUTH2 SSO(OAuth2SsoProperties
security.oauth2.sso.filter-order =#如果未提供明確的WebSecurityConfigurerAdapter,則應用過濾順序
security.oauth2.sso.login-path = / login#登入頁面的路徑,即觸發重定向到OAuth2授權伺服器的路徑

#—————————————-
#資料屬性
#—————————————-

#FLYWAY(FlywayProperties)
flyway.baseline-description =#
flyway.baseline-version = 1 #版本開始遷移
flyway.baseline-on-migrate =#
flyway.check-location = false #檢查遷移指令碼位置是否存在。
flyway.clean-on-validation-error =#
flyway.enabled = true #啟用flyway 。
flyway.encoding =#
flyway.ignore-failed-future-migration =#
flyway.init-sqls =#在獲取連線後立即執行初始化連線的SQL語句。
flyway.locations = classpath:db / migration#遷移指令碼的位置
flyway.out-of-order =#
flyway.password =#JDBC密碼,如果你想讓Flyway建立自己的DataSource
flyway.placeholder-prefix =#
flyway.placeholder-replacement =#
flyway.placeholder-suffix =#
flyway.placeholders。* =#
flyway.schemas =#schemas要更新
flyway.sql-migration-prefix = V #
flyway.sql-migration-separator =#
flyway.sql-migration-suffix = .sql#
flyway.table =#
flyway.url =#要遷移的資料庫的JDBC URL。如果未設定,則使用主配置的資料來源。
flyway.user =#要遷移的資料庫的登入使用者。
flyway.validate-on-migrate =#

#LIQUIBASE(LiquibaseProperties)
liquibase.change-log = classpath :/db/changelog/db.changelog-master.yaml#更改日誌配置路徑。
liquibase.check-change-log-location = true #檢查更改日誌位置是否存在。
liquibase.contexts =#要使用的執行時上下文的逗號分隔列表。
liquibase.default-schema =#預設資料庫模式。
liquibase.drop-first = false #刪除資料庫模式。
liquibase.enabled = true #啟用liquibase支援。
liquibase.labels =#要使用的執行時標籤的逗號分隔列表。
liquibase.parameters。* =#更改日誌引數。
liquibase.password =#要遷移的資料庫的登入密碼。
liquibase.url =#要遷移的資料庫的JDBC URL。如果未設定,則使用主配置的資料來源。
liquibase.user =#要遷移的資料庫的登入使用者。

#DAO(PersistenceExceptionTranslationAutoConfiguration)
spring.dao.exceptiontranslation.enabled = true #啟用PersistenceExceptionTranslationPostProcessor。

#CASSANDRA(Cassandra屬性)
spring.data.cassandra.cluster-name =#Cassandra叢集的名稱。
spring.data.cassandra.compression =#Cassandra二進位制協議支援的壓縮。
spring.data.cassandra.connect-timeout-millis =#套接字選項:連線超時。
spring.data.cassandra.consistency-level =#查詢一致性級別。
spring.data.cassandra.contact-points = localhost #群集節點地址的逗號分隔列表。
spring.data.cassandra.fetch-size =#查詢預設抓取大小。
spring.data.cassandra.keyspace-name =#要使用的鍵空間名稱。
spring.data.cassandra.load-balancing-policy =#負載均衡策略的類名稱。
spring.data.cassandra.port =#Cassandra伺服器的埠。
spring.data.cassandra.password =#伺服器的登入密碼。
spring.data.cassandra.read-timeout-millis =#Socket選項:讀取超時。
spring.data.cassandra.reconnection-policy =#重新連線策略類。
spring.data.cassandra.retry-policy =#重試策略的類名。
spring.data.cassandra.serial-consistency-level =#查詢序列一致性級別。
spring.data.cassandra.ssl = false #啟用SSL支援。
spring.data.cassandra.username =#伺服器的登入使用者。

#ELASTICSEARCH(ElasticsearchProperties)
spring.data.elasticsearch.cluster-name = elasticsearch #Elasticsearch叢集名稱。
spring.data.elasticsearch.cluster-nodes =#群集節點地址的逗號分隔列表。如果未指定,則啟動客戶機節點。
spring.data.elasticsearch.properties。* =#用於配置客戶端的其他屬性。
spring.data.elasticsearch.repositories.enabled = true #啟用Elasticsearch儲存庫。

#MONGODB(MongoProperties)
spring.data.mongodb.authentication-database =#認證資料庫名稱。
spring.data.mongodb.database = test #資料庫名稱。
spring.data.mongodb.field命名策略 =#要使用的FieldNamingStrategy的完全限定名稱。
spring.data.mongodb.grid-fs-database =#GridFS資料庫名稱。
spring.data.mongodb.host = localhost #Mongo伺服器主機。
spring.data.mongodb.password =#mongo伺服器的登入密碼。
spring.data.mongodb.port = 27017 #Mongo伺服器埠。
spring.data.mongodb.repositories.enabled = true #啟用Mongo儲存庫。
spring.data.mongodb.uri = mongodb :// localhost / test#Mongo資料庫URI。設定時,將忽略主機和埠。
spring.data.mongodb.username =#mongo伺服器的登入使用者。

#DATA REST(RepositoryRestProperties)
spring.data.rest.base-path =#Spring Data REST用於公開資源庫資源的基本路徑。
spring.data.rest.default-page-size =#預設的頁面大小。
spring.data.rest.enable-enum-translation =#通過Spring Data REST預設資源包啟用列舉值轉換。
spring.data.rest.limit-param-name =#URL查詢字串引數的名稱,指示一次返回的結果數。
spring.data.rest.max-page-size =#最大頁面大小。
spring.data.rest.page-param-name =#指示要返回哪個頁面的URL查詢字串引數的名稱。
spring.data.rest.return-body-on-create =#建立實體後返回響應體。
spring.data.rest.return-body-on-update =#更新實體後返回響應體。
spring.data.rest.sort-param-name =#URL查詢字串引數的名稱,指示對結果進行排序的方向。

#SOLR(SolrProperties)
spring.data.solr.host = HTTP ://127.0.0.1:8983 / Solr的#Solr的主機。如果設定了“zk-host”,則忽略。
spring.data.solr.repositories.enabled = true #啟用Solr儲存庫。
spring.data.solr.zk-host =#ZooKeeper主機地址,格式為HOST:PORT。

#DATASOURCE(DataSourceAutoConfiguration&DataSourceProperties)
spring.datasource.continue-on-error = false #初始化資料庫時發生錯誤時不要停止。
spring.datasource.data =#Data(DML)指令碼資源引用。
spring.datasource.driver-class-name =#JDBC驅動程式的標準名稱。預設情況下基於URL自動檢測。
spring.datasource.initialize = true #使用’data.sql’填充資料庫。
spring.datasource.jmx-enabled = false #啟用JMX支援(如果由底層池提供)。
spring.datasource.jndi-name =#JNDI資料來源的位置。類,url,使用者名稱和密碼設定時將被忽略。
spring.datasource.max-active =#例如100
spring.datasource.max-idle =#例8
spring.datasource.max-wait =
spring .datasource.min-evictable-idle-time-millis =
spring .datasource.min-idle = 8
spring.datasource.name = testdb #資料來源的名稱。
spring.datasource.password =#資料庫的登入密碼。
spring.datasource.platform = all #在模式資源(schema - $ {platform} .sql)中使用的平臺。
spring.datasource.schema =#模式(DDL)指令碼資源引用。
spring.datasource.separator =; #SQL初始化指令碼中的語句分隔符。
spring.datasource.sql-script-encoding =#SQL指令碼編碼。
spring.datasource.test-on-borrow =#例如false
spring.datasource.test-on-return =#例如false
spring.datasource.test-while-idle =#
spring.datasource.time-between-eviction-runs-millis = 1
spring.datasource.type =#要使用的連線池實現的完全限定名稱。預設情況下,它是從類路徑自動檢測。
spring.datasource.url =#資料庫的JDBC url。
spring.datasource.username =
spring .datasource.validation-query =

#H2 Web控制檯(H2ConsoleProperties)
spring.h2.console.enabled = false #啟用控制檯。
spring.h2.console.path = / h2-console#控制檯可用的路徑。

#JOOQ(JooqAutoConfiguration)
spring.jooq.sql-dialect =#SQLDialect與配置的資料來源通訊時使用的JOOQ。例如POSTGRES

#JPA(JpaBaseConfiguration,HibernateJpaAutoConfiguration)
spring.data.jpa.repositories.enabled = true #啟用JPA儲存庫。
spring.jpa.database =#要操作的目標資料庫,預設情況下自動檢測。也可以使用“databasePlatform”屬性進行設定。
spring.jpa.database-platform =#要操作的目標資料庫的名稱,預設情況下自動檢測。可以選擇使用“資料庫”設定列舉。
spring.jpa.generate-ddl = false #在啟動時初始化模式。
spring.jpa.hibernate.ddl-auto =#DDL模式。這實際上是“hibernate.hbm2ddl.auto”屬性的快捷方式。使用嵌入式資料庫時,預設為“create-drop”,否則為“none”。
spring.jpa.hibernate.naming-strategy =#命名策略完全限定名。
spring.jpa.open-in-view = true #註冊OpenEntityManagerInViewInterceptor。將JPA EntityManager繫結到執行緒以進行請求的整個處理。
spring.jpa.properties。* =#在JPA提供程式上設定的其他本機屬性。
spring.jpa.show-sql = false #啟用SQL語句的日誌記錄。

#JTA(JtaAutoConfiguration)
spring.jta。* =#技術特定配置
spring.jta.log-dir =#事務日誌目錄。

#ATOMIKOS
spring.jta.atomikos.connectionfactory.borrow-connection-timeout = 30 #從池借用連線的超時(以秒為單位)。
spring.jta.atomikos.connectionfactory.ignore-session-transacted-flag = true #建立會話時是否忽略事務標誌。
spring.jta.atomikos.connectionfactory.local-transaction-mode = false #是否需要本地事務。
spring.jta.atomikos.connectionfactory.maintenance-interval = 60 #池維護執行緒執行之間的時間(以秒為單位)。
spring.jta.atomikos.connectionfactory.max-idle-time = 60 #從池中清除連線的時間(以秒為單位)。
spring.jta.atomikos.connectionfactory.max-lifetime = 0 #連線在被銷燬之前可以被合併的時間(以秒為單位)。0表示無限制。
spring.jta.atomikos.connectionfactory.max-pool-size = 1 #池的最大大小。
spring.jta.atomikos.connectionfactory.min-pool-size = 1 #池的最小大小。
spring.jta.atomikos.connectionfactory.reap-timeout = 0 #借用連線的收集超時(以秒為單位)。0表示無限制。
spring.jta.atomikos.connectionfactory.unique-resource-name = jmsConnectionFactory #用於在恢復期間標識資源的唯一名稱。
spring.jta.atomikos.datasource.borrow-connection-timeout = 30 #從池借用連線的超時(以秒為單位)。
spring.jta.atomikos.datasource.default-isolation-level =#池提供的連線的預設隔離級別。
spring.jta.atomikos.datasource.login-timeout =#建立資料庫連線的超時(以秒為單位)。
spring.jta.atomikos.datasource.maintenance-interval = 60 #池維護執行緒執行之間的時間(以秒為單位)。
spring.jta.atomikos.datasource.max-idle-time = 60 #從池中清除連線的時間(以秒為單位)。
spring.jta.atomikos.datasource.max-lifetime = 0 #連線在被銷燬之前可以被合併的時間(以秒為單位)。0表示無限制。
spring.jta.atomikos.datasource.max-pool-size = 1 #池的最大大小。
spring.jta.atomikos.datasource.min-pool-size = 1 #池的最小大小。
spring.jta.atomikos.datasource.reap-timeout = 0 #借用連線的收集超時(以秒為單位)。0表示無限制。
spring.jta.atomikos.datasource.test-query =#用於在返回連線之前驗證連線的SQL查詢或語句。
spring.jta.atomikos.datasource.unique-resource-name = dataSource #用於在恢復期間標識資源的唯一名稱。

#BITRONIX
spring.jta.bitronix.connectionfactory.acquire-increment = 1 #增加池時建立的連線數。
spring.jta.bitronix.connectionfactory.acquisition-interval = 1 #在獲取無效連線後再次嘗試獲取連線之前等待的時間(以秒為單位)。
spring.jta.bitronix.connectionfactory.acquisition-timeout = 30 #從池中獲取連線的超時(以秒為單位)。
spring.jta.bitronix.connectionfactory.allow-local-transactions = true #事務管理器是否應該允許混合XA和非XA事務。
spring.jta.bitronix.connectionfactory.apply-transaction-timeout = false #是否應該在登記時在XAResource上設定事務超時。
spring.jta.bitronix.connectionfactory.automatic-enlisting-enabled = true #資源是否應自動註冊和刪除。
spring.jta.bitronix.connectionfactory.cache-producers-consumers = true #是否生產和消費者應該被快取。
spring.jta.bitronix.connectionfactory.defer-connection-release = true #提供程式是否可以在同一連線上執行多個事務,並支援事務交叉。
spring.jta.bitronix.connectionfactory.ignore-recovery-failures = false #是否應該忽略恢復失敗。
spring.jta.bitronix.connectionfactory.max-idle-time = 60 #從池中清除連線的時間(以秒為單位)。
spring.jta.bitronix.connectionfactory.max-pool-size = 10 #池的最大大小。0表示無限制。
spring.jta.bitronix.connectionfactory.min-pool-size = 0 #池的最小大小。
spring.jta.bitronix.connectionfactory.password =#用於連線到JMS提供程式的密碼。
spring.jta.bitronix.connectionfactory.share-transaction-connections = false #是否可以在事務上下文中共享處於ACCESSIBLE狀態的連線。
spring.jta.bitronix.connectionfactory.test-connections = true #從池中獲取連線時是否應該進行測試。
spring.jta.bitronix.connectionfactory.two-pc-ordering-position = 1 #此資源在兩階段提交期間應採用的位置(始終為Integer.MIN_VALUE,始終為Integer.MAX_VALUE)。
spring.jta.bitronix.connectionfactory.unique-name = jmsConnectionFactory #用於在恢復期間標識資源的唯一名稱。
spring.jta.bitronix.connectionfactory.use-tm-join = true 啟動XAResources時是否應使用TMJOIN。
spring.jta.bitronix.connectionfactory.user =#用於連線到JMS提供程式的使用者。
spring.jta.bitronix.datasource.acquire-increment = 1 #增加池時建立的連線數。
spring.jta.bitronix.datasource.acquisition-interval = 1 #在獲取無效連線後再次嘗試獲取連線之前等待的時間(以秒為單位)。
spring.jta.bitronix.datasource.acquisition-timeout = 30 #從池中獲取連線的超時(以秒為單位)。
spring.jta.bitronix.datasource.allow-local-transactions = true #事務管理器是否應允許混合XA和非XA事務。
spring.jta.bitronix.datasource.apply-transaction-timeout = false #是否應該在登記時在XAResource上設定事務超時。
spring.jta.bitronix.datasource.automatic-enlisting-enabled = true #資源是否應自動註冊和刪除。
spring.jta.bitronix.datasource.cursor-holdability =#連線的預設遊標保留能力。
spring.jta.bitronix.datasource.defer-connection-release = true #資料庫是否可以在同一連線上執行多個事務,並支援事務交叉。
spring.jta.bitronix.datasource.enable-jdbc4-connection-test =#從池中獲取連線時是否呼叫Connection.isValid()。
spring.jta.bitronix.datasource.ignore-recovery-failures = false #是否應該忽略恢復失敗。
spring.jta.bitronix.datasource.isolation-level =#連線的預設隔離級別。
spring.jta.bitronix.datasource.local-auto-commit =#本地事務的預設自動提交模式。
spring.jta.bitronix.datasource.login-timeout =#建立資料庫連線的超時(以秒為單位)。
spring.jta.bitronix.datasource.max-idle-time = 60 #從池中清除連線的時間(以秒為單位)。
spring.jta.bitronix.datasource.max-pool-size = 10 #池的最大大小。0表示無限制。
spring.jta.bitronix.datasource.min-pool-size = 0 #池的最小大小。
spring.jta.bitronix.datasource.prepared-statement-cache-size = 0 #預準備語句快取的目標大小。0禁用快取記憶體。
spring.jta.bitronix.datasource.share-transaction-connections = false #是否可以在事務上下文中共享處於ACCESSIBLE狀態的連線。
spring.jta.bitronix.datasource.test-query =#用於在返回連線之前驗證連線的SQL查詢或語句。
spring.jta.bitronix.datasource.two-pc-ordering-position = 1 #這個資源在兩階段提交期間應該採用的位置(始終為Integer.MIN_VALUE,始終為Integer.MAX_VALUE)。
spring.jta.bitronix.datasource.unique-name = dataSource #用於在恢復期間標識資源的唯一名稱。
spring.jta.bitronix.datasource.use-tm-join = true 啟動XAResources時是否應使用TMJOIN。

#EMBEDDED MONGODB(EmbeddedMongoProperties)
spring.mongodb.embedded.features = SYNC_DELAY #要啟用的功能的逗號分隔列表。
spring.mongodb.embedded.version = 2 .6.10#使用Mongo的版本。

#REDIS(RedisProperties)
spring.redis.database = 0 #連線工廠使用的資料庫索引。
spring.redis.host = localhost #Redis伺服器主機。
spring.redis.password =#redis伺服器的登入密碼。
spring.redis.pool.max-active = 8 #池在給定時間可以分配的最大連線數。使用負值無限制。
spring.redis.pool.max-idle = 8 #池中“空閒”連線的最大數量。使用負值來表示無限數量的空閒連線。
spring.redis.pool.max-wait = -1#在池耗盡時丟擲異常之前,連線分配應阻止的最大時間量(以毫秒為單位)。使用負值無限期地阻止。
spring.redis.pool.min-idle = 0 #要在池中維護的空閒連線的最小數目的目標。此設定僅當其為正時才具有效果。
spring.redis.port = 6379 #Redis伺服器埠。
spring.redis.sentinel.master =#Redis伺服器的名稱。
spring.redis.sentinel.nodes =#主機:埠對的逗號分隔列表。
spring.redis.timeout = 0 #連線超時,以毫秒為單位。

#—————————————-
#整合屬性
#—————————————-

#ACTIVEMQ(ActiveMQProperties)
spring.activemq.broker-url =#ActiveMQ代理的URL。預設情況下自動生成。例如tcp:// localhost:61616
spring.activemq.in-memory = true #指定預設代理URL是否應該在記憶體中。如果指定了顯式代理,則忽略。
spring.activemq.password =#代理的登入密碼。
spring.activemq.pooled = false #指定是否應建立PooledConnectionFactory而不是常規ConnectionFactory。
spring.activemq.user =#代理的登入使用者。

#ARTEMIS(ArtemisProperties)
spring.artemis.embedded.cluster-password =#叢集密碼。預設情況下,在啟動時隨機生成。
spring.artemis.embedded.data-directory =#日誌檔案目錄。如果永續性已關閉,則不需要。
spring.artemis.embedded.enabled = true #如果Artemis伺服器API可用,則啟用嵌入模式。
spring.artemis.embedded.persistent = false #啟用持久儲存。
spring.artemis.embedded.queues =#在啟動時建立的逗號分隔的佇列列表。
spring.artemis.embedded.server-id =#伺服器ID。預設情況下,使用自動遞增計數器。
spring.artemis.embedded.topics =#啟動時建立的逗號分隔的主題列表。
spring.artemis.host = localhost #Artemis代理主機。
spring.artemis.mode =#Artemis部署模式,預設情況下自動檢測。可以顯式設定為“本機”或“嵌入”。
spring.artemis.port = 61616 #Artemis代理埠。

#SPRING BATCH(BatchProperties)
spring.batch.initializer.enabled = true #如果需要,在啟動時建立所需的批處理表。
spring.batch.job.enabled = true #在啟動時在上下文中執行所有Spring Batch作業。
spring.batch.job.names =#在啟動時執行的作業名的逗號分隔列表(例如job1,job2)。預設情況下,在上下文中找到的所有作業都將被執行。
spring.batch.schema = classpath :org / springframework / batch / core / schema - @@ platform @@。sql#用於初始化資料庫模式的SQL檔案的路徑。
spring.batch.table-prefix =#所有批次元資料表的表字首。

#HORNETQ(HornetQProperties)
spring.hornetq.embedded.cluster-password =#群集密碼。預設情況下,在啟動時隨機生成。
spring.hornetq.embedded.data-directory =#日誌檔案目錄。如果永續性已關閉,則不需要。
spring.hornetq.embedded.enabled = true #如果HornetQ伺服器API可用,則啟用嵌入模式。
spring.hornetq.embedded.persistent = false #啟用持久儲存。
spring.hornetq.embedded.queues =#在啟動時建立的逗號分隔的佇列列表。
spring.hornetq.embedded.server-id =#伺服器ID。預設情況下,使用自動遞增計數器。
spring.hornetq.embedded.topics =#啟動時建立的逗號分隔的主題列表。
spring.hornetq.host = localhost #HornetQ代理主機。
spring.hornetq.mode =#HornetQ部署模式,預設情況下自動檢測。可以顯式設定為“本機”或“嵌入”。
spring.hornetq.port = 5445 #HornetQ代理埠。

#JMS(JmsProperties)
spring.jms.jndi-name =#連線工廠JNDI名稱。設定時,優先於其他連線工廠自動配置。
spring.jms.listener.acknowledge-mode =#確認容器的模式。預設情況下,偵聽器使用自動確認進行處理。
spring.jms.listener.auto-startup = true #在啟動時自動啟動容器。
spring.jms.listener.concurrency =#最小併發消費者數。
spring.jms.listener.max-concurrency =#最大併發消費者數。
spring.jms.pub-sub-domain = false #指定預設目標型別是否為主題。

#RABBIT(RabbitProperties)
spring.rabbitmq.addresses =#客戶端應連線到的地址的逗號分隔列表。
spring.rabbitmq.dynamic = true #建立一個AmqpAdmin bean。
spring.rabbitmq.host = localhost #RabbitMQ主機。
spring.rabbitmq.listener.acknowledge-mode =#確認容器的模式。
spring.rabbitmq.listener.auto-startup = true #在啟動時自動啟動容器。
spring.rabbitmq.listener.concurrency =#最小消費者數。
spring.rabbitmq.listener.max-concurrency =#最大消費者數。
spring.rabbitmq.listener.prefetch =#在單個請求中處理的訊息數。它應該大於或等於事務大小(如果使用)。
spring.rabbitmq.listener.transaction-size =#要在事務中處理的訊息數。為了獲得最佳結果,它應小於或等於預取計數。
spring.rabbitmq.password =#登入以對代理進行身份驗證。
spring.rabbitmq.port = 5672 #RabbitMQ埠。
spring.rabbitmq.requested-heartbeat =#請求的心跳超時,以秒為單位; 零為零。
spring.rabbitmq.ssl.enabled = false #啟用SSL支援。
spring.rabbitmq.ssl.key-store =#包含SSL證書的金鑰庫的路徑。
spring.rabbitmq.ssl.key-store-password =#用於訪問金鑰庫的密碼。
spring.rabbitmq.ssl.trust-store =#持有SSL證書的信任儲存。
spring.rabbitmq.ssl.trust-store-password =#用於訪問信任儲存庫的密碼。
spring.rabbitmq.username =#登入使用者以對代理進行身份驗證。
spring.rabbitmq.virtual-host =#連線到代理時要使用的虛擬主機。

#—————————————-
#執行器特性
#—————————————-

#ENDPOINTS(AbstractEndpoint subclasses)
endpoints.enabled = true #啟用端點。
endpoints.sensitive =#預設端點敏感設定。
endpoints.actuator.enabled = true #啟用端點。
endpoints.actuator.path =#端點URL路徑。
endpoints.actuator.sensitive = false #在端點上啟用安全性。
endpoints.autoconfig.enabled =#啟用端點。
endpoints.autoconfig.id =#端點識別符號。
endpoints.autoconfig.sensitive =#標記端點是否暴露敏感資訊。
endpoints.beans.enabled =#啟用端點。
endpoints.beans.id =#端點識別符號。
endpoints.beans.sensitive =#標記端點是否暴露敏感資訊。
endpoints.configprops.enabled =#啟用端點。
endpoints.configprops.id =#終端識別符號。
endpoints.configprops.keys-to-sanitize = password ,secret,key,。* credentials。*,vcap_services#應該進行清理的金鑰。鍵可以是屬性結尾的簡單字串或正則表示式。
endpoints.configprops.sensitive =#標記端點是否暴露敏感資訊。
endpoints.docs.curies.enabled = false #啟用居里生成。
endpoints.docs.enabled = true #啟用執行器docs端點。
endpoints.docs.path = / docs#
endpoints.docs.sensitive = false #
endpoints.dump.enabled =#啟用端點。
endpoints.dump.id =#端點識別符號。
endpoints.dump.sensitive =#標記端點是否暴露敏感資訊。
endpoints.env.enabled =#啟用端點。
endpoints.env.id =#端點識別符號。
endpoints.env.keys-to-sanitize = password ,secret,key,。* credentials。*,vcap_services#應該清理的金鑰。鍵可以是屬性結尾的簡單字串或正則表示式。
endpoints.env.sensitive =#標記端點是否暴露敏感資訊。
endpoints.flyway.enabled =#啟用端點。
endpoints.flyway.id =#端點識別符號。
endpoints.flyway.sensitive =#標記端點是否暴露敏感資訊。
endpoints.health.enabled =#啟用端點。
endpoints.health.id =#端點識別符號。
endpoints.health.mapping。* =#將健康狀態對映到HttpStatus程式碼。預設情況下,註冊的健康狀態對映到明智的預設值(即UP對映到200)。
endpoints.health.sensitive =#標記端點是否暴露敏感資訊。
endpoints.health.time-to-live = 1000 #快取結果的生存時間(以毫秒為單位)。
endpoints.info.enabled =#啟用端點。
endpoints.info.id =#端點識別符號。
endpoints.info.sensitive =#標記端點是否暴露敏感資訊。
endpoints.jolokia.enabled = true #啟用Jolokia端點。
endpoints.jolokia.path = / jolokia#端點URL路徑。
endpoints.jolokia.sensitive = true #在端點上啟用安全性。
endpoints.liquibase.enabled =#啟用端點。
endpoints.liquibase.id =#端點識別符號。
endpoints.liquibase.sensitive =#標記端點是否暴露敏感資訊。
endpoints.logfile.enabled = true #啟用端點。
endpoints.logfile.path = / logfile#端點URL路徑。
endpoints.logfile.sensitive = true #在端點上啟用安全性。
endpoints.mappings.enabled =#啟用端點。
endpoints.mappings.id =#端點識別符號。
endpoints.mappings.sensitive =#標記端點是否暴露敏感資訊。
endpoints.metrics.enabled =#啟用端點。
endpoints.metrics.filter.enabled = true #啟用metrics servlet篩選器。
endpoints.metrics.id =#端點識別符號。
endpoints.metrics.sensitive =#標記端點是否暴露敏感資訊。
endpoints.shutdown.enabled =#啟用端點。
endpoints.shutdown.id =#端點識別符號。
endpoints.shutdown.sensitive =#標記端點是否暴露敏感資訊。
endpoints.trace.enabled =#啟用端點。
endpoints.trace.id =#端點識別符號。
endpoints.trace.sensitive =#標記端點是否暴露敏感資訊。

#ENDPOINTS CORS CONFIGURATION(EndpointCorsProperties)
endpoints.cors.allow-credentials =#設定是否支援憑證。未設定時,不支援憑據。
endpoints.cors.allowed-headers =#在請求中允許的逗號分隔的標頭列表。’*’允許所有頭。
endpoints.cors.allowed-methods = GET #允許的逗號分隔的方法列表。’*’允許所有方法。
endpoints.cors.allowed-origins =#允許的逗號分隔的起始列表。’*’允許所有起源。未設定時,禁用CORS支援。
endpoints.cors.exposed-headers =#要在響應中包含的標頭的逗號分隔列表。
endpoints.cors.max-age = 1800 #客戶端可以快取來自預先請求的響應的快取時間(秒)。

#JMX ENDPOINT(EndpointMBeanExportProperties)
endpoints.jmx.domain =#JMX域名。如果設定,則使用’spring.jmx.default-domain’的值初始化。
endpoints.jmx.enabled = true #啟用所有端點的JMX匯出。
endpoints.jmx.static-names =#附加到表示端點的MBeans的所有ObjectNames的附加靜態屬性。
endpoints.jmx.unique-names = false #確保在衝突的情況下修改ObjectName。

#JOLOKIA(JolokiaProperties)
jolokia.config。* =#請參閱Jolokia手冊

#MANAGEMENT HTTP SERVER(ManagementServerProperties)
management.add-application-context-header = true #在每個響應中新增“X-Application-Context”HTTP頭。
management.address =#管理端點應繫結的網路地址。
management.context-path =#管理端點上下文路徑。例如`/ actuator’
management.port =#管理端點HTTP埠。預設情況下,使用與應用程式相同的埠。
management.security.enabled = true #啟用安全性。
management.security.role = ADMIN #訪問管理端點所需的角色。
management.security.sessions = stateless #會話建立要使用的策略(始終,永遠,if_required,無狀態)。

#健康指數(以前的健康。*)
management.health.db.enabled = true #啟用資料庫執行狀況檢查。
management.health.defaults.enabled = true #啟用預設執行狀況指示器。
management.health.diskspace.enabled = true #啟用磁碟空間執行狀況檢查。
management.health.diskspace.path =#用於計算可用磁碟空間的路徑。
management.health.diskspace.threshold = 0 #應該可用的最小磁碟空間(以位元組為單位)。
management.health.elasticsearch.enabled = true #啟用elasticsearch執行狀況檢查。
management.health.elasticsearch.indices =#逗號分隔的索引名稱。
management.health.elasticsearch.response-timeout = 100 #等待叢集響應的時間(以毫秒為單位)。
management.health.jms.enabled = true #啟用JMS執行狀況檢查。
management.health.mail.enabled = true #啟用郵件執行狀況檢查。
management.health.mongo.enabled = true #啟用MongoDB執行狀況檢查。
management.health.rabbit.enabled = true #啟用RabbitMQ執行狀況檢查。
management.health.redis.enabled = true #啟用Redis執行狀況檢查。
management.health.solr.enabled = true #啟用Solr執行狀況檢查。
management.health.status.order = DOWN ,OUT_OF_SERVICE,UNKNOWN,UP#按嚴重性順序列出健康狀態的逗號分隔列表。

#TRACING((TraceProperties)
management.trace.include = request -headers,response-headers,errors#要包括在跟蹤中的專案。

#遙控器
shell.auth = simple #認證型別。根據環境自動檢測。
shell.auth.jaas.domain = my -domain#JAAS域。
shell.auth.key.path =#認證金鑰的路徑。這應該指向一個有效的“.pem”檔案。
shell.auth.simple.user.name = user #登入使用者。
shell.auth.simple.user.password =#登入密碼。
shell.auth.spring.roles = ADMIN #登入到CRaSH控制檯的必需角色的逗號分隔列表。
shell.command-path-patterns = classpath :/ commands / ,classpath :/ crash / commands / #用於查詢命令的模式。
shell.command-refresh-interval = -1#掃描更改並在必要時更新命令(以秒為單位)。
shell.config-path-patterns = classpath :/ crash / #用於查詢配置的模式。
shell.disabled-commands = jpa ,jdbc ,jndi *#禁用的逗號分隔的命令列表。
shell.disabled-plugins =#禁用的逗號分隔的外掛列表。某些外掛根據環境預設禁用。
shell.ssh.auth-timeout =#使用者將被提示再次登入的毫秒數。
shell.ssh.enabled = true #啟用CRaSH SSH支援。
shell.ssh.idle-timeout =#未使用的連線關閉之前的毫秒數。
shell.ssh.key-path =#SSH伺服器金鑰的路徑。
shell.ssh.port = 2000 #SSH埠。
shell.telnet.enabled = false #啟用CRaSH telnet支援。如果TelnetPlugin可用,預設情況下啟用。
shell.telnet.port = 5000 #Telnet埠。

#GIT INFO
spring.git.properties =#對生成的git資訊屬性檔案的資源引用。

#METRICS EXPORT(MetricExportProperties)
spring.metrics.export.aggregate.key-pattern =#告訴聚合器如何處理源儲存庫中的鍵的模式。
spring.metrics.export.aggregate.prefix =#如果處於活動狀態,則為全域性儲存庫的字首。
spring.metrics.export.delay-millis = 5000 #匯出ticks之間的延遲(以毫秒為單位)。度量標準將按照此延遲的計劃匯出到外部源。
spring.metrics.export.enabled = true #標記以啟用度量匯出(假設MetricWriter可用)。
spring.metrics.export.excludes =#要排除的指標名稱的模式列表。應用後包括。
spring.metrics.export.includes =#要包括的指標名稱的模式列表。
spring.metrics.export.redis.key = keys .spring.metrics#redis儲存庫匯出的鍵(如果為活動狀態)。
spring.metrics.export.redis.prefix = spring .metrics#redis儲存庫的