134.8de25763.js 4.9 KB
Newer Older
茶陵後's avatar
茶陵後 已提交
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[134],{557:function(e,n,t){"use strict";t.r(n);var r=t(56),a=Object(r.a)({},(function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"preface"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#preface"}},[e._v("#")]),e._v(" Preface")]),e._v(" "),t("h2",{attrs:{id:"requirements"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#requirements"}},[e._v("#")]),e._v(" Requirements")]),e._v(" "),t("p",[e._v("This section details the compatible "),t("a",{attrs:{href:"https://www.oracle.com/technetwork/java/javase/downloads/index.html",target:"_blank",rel:"noopener noreferrer"}},[e._v("Java"),t("OutboundLink")],1),e._v(" and "),t("a",{attrs:{href:"https://spring.io/projects/spring-framework",target:"_blank",rel:"noopener noreferrer"}},[e._v("Spring Framework"),t("OutboundLink")],1),e._v(" versions.")]),e._v(" "),t("h3",{attrs:{id:"compatible-java-versions"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#compatible-java-versions"}},[e._v("#")]),e._v(" Compatible Java Versions")]),e._v(" "),t("p",[e._v("For Spring Integration 5.5.x, the minimum compatible Java version is Java SE 8.\nOlder versions of Java are not supported.")]),e._v(" "),t("h3",{attrs:{id:"compatible-versions-of-the-spring-framework"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#compatible-versions-of-the-spring-framework"}},[e._v("#")]),e._v(" Compatible Versions of the Spring Framework")]),e._v(" "),t("p",[e._v("Spring Integration 5.5.x requires Spring Framework 5.3 or later.")]),e._v(" "),t("h2",{attrs:{id:"code-conventions"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#code-conventions"}},[e._v("#")]),e._v(" Code Conventions")]),e._v(" "),t("p",[e._v("Spring Framework 2.0 introduced support for namespaces, which simplifies the XML configuration of the application context and lets Spring Integration provide broad namespace support.")]),e._v(" "),t("p",[e._v("In this reference guide, the "),t("code",[e._v("int")]),e._v(" namespace prefix is used for Spring Integration’s core namespace support.\nEach Spring Integration adapter type (also called a module) provides its own namespace, which is configured by using the following convention:")]),e._v(" "),t("p",[e._v("The following example shows the "),t("code",[e._v("int")]),e._v(", "),t("code",[e._v("int-event")]),e._v(", and "),t("code",[e._v("int-stream")]),e._v(" namespaces in use:")]),e._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[e._v('<?xml version="1.0" encoding="UTF-8"?>\n<beans xmlns="http://www.springframework.org/schema/beans"\n  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\n  xmlns:int="http://www.springframework.org/schema/integration"\n  xmlns:int-webflux="http://www.springframework.org/schema/integration/webflux"\n  xmlns:int-stream="http://www.springframework.org/schema/integration/stream"\n  xsi:schemaLocation="\n   http://www.springframework.org/schema/beans\n   https://www.springframework.org/schema/beans/spring-beans.xsd\n   http://www.springframework.org/schema/integration\n   https://www.springframework.org/schema/integration/spring-integration.xsd\n   http://www.springframework.org/schema/integration/webflux\n   https://www.springframework.org/schema/integration/webflux/spring-integration-webflux.xsd\n   http://www.springframework.org/schema/integration/stream\n   https://www.springframework.org/schema/integration/stream/spring-integration-stream.xsd">\n\n</beans>\n')])])]),t("p",[e._v("For a detailed explanation regarding Spring Integration’s namespace support, see "),t("RouterLink",{attrs:{to:"/en/spring-integration/configuration.html#configuration-namespace"}},[e._v("Namespace Support")]),e._v(".")],1),e._v(" "),t("table",[t("thead",[t("tr",[t("th"),e._v(" "),t("th",[e._v("The namespace prefix can be freely chosen."),t("br"),e._v("You may even choose not to use any namespace prefixes at all."),t("br"),e._v("Therefore, you should apply the convention that best suits your application."),t("br"),e._v("Be aware, though, that SpringSource Tool Suite™ (STS) uses the same namespace conventions for Spring Integration as used in this reference guide.")])])]),e._v(" "),t("tbody")]),e._v(" "),t("h2",{attrs:{id:"conventions-in-this-guide"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#conventions-in-this-guide"}},[e._v("#")]),e._v(" Conventions in This Guide")]),e._v(" "),t("p",[e._v("In some cases, to aid formatting when specifying long fully qualified class names, we shorten "),t("code",[e._v("org.springframework")]),e._v(" to "),t("code",[e._v("o.s")]),e._v(" and "),t("code",[e._v("org.springframework.integration")]),e._v(" to "),t("code",[e._v("o.s.i")]),e._v(", such as with "),t("code",[e._v("o.s.i.transaction.TransactionSynchronizationFactory")]),e._v(".")])])}),[],!1,null,null,null);n.default=a.exports}}]);