<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ### 32.1.3 HornetQ支持 **注** HornetQ在1.4版本已過期,可以考慮遷移到[artemis](http://docs.spring.io/spring-boot/docs/1.4.1.RELEASE/reference/htmlsingle/#boot-features-artemis)。 如果在classpath下發現HornetQ,Spring Boot會自動配置`ConnectionFactory`。如果需要代理,將會開啟一個內嵌的,已經自動配置好的代理(除非顯式設置mode屬性)。支持的modes有:`embedded`(顯式聲明使用內嵌的代理,如果該代理在classpath下不可用將出錯),`native`(使用`netty`傳輸協議連接代理)。當后者被配置,Spring Boot配置一個連接到代理的`ConnectionFactory`,該代理運行在使用默認配置的本地機器上。 **注**:如果使用`spring-boot-starter-hornetq`,連接到一個已存在的HornetQ實例所需的依賴都會被提供,同時還有用于集成JMS的Spring基礎設施。將`org.hornetq:hornetq-jms-server`添加到應用中,你就可以使用`embedded`模式。 HornetQ配置被`spring.hornetq.*`中的外部配置屬性所控制,例如,在`application.properties`聲明以下片段: ```java spring.hornetq.mode=native spring.hornetq.host=192.168.1.210 spring.hornetq.port=9876 ``` 當內嵌代理時,你可以選擇是否啟用持久化,并且列表中的目標都應該是可用的。這些可以通過一個以逗號分割的列表來指定一些默認的配置項,或定義`org.hornetq.jms.server.config.JMSQueueConfiguration`或`org.hornetq.jms.server.config.TopicConfiguration`類型的bean(s)來配置更高級的隊列和主題,具體參考[HornetQProperties](http://github.com/spring-projects/spring-boot/tree/master/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQProperties.java)。 沒有涉及JNDI查找,目標是通過名字解析的,名字即可以使用HornetQ配置中的name屬性,也可以是配置中提供的names。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看