Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6024

Camel-Jetty Spring example has broken Spring XML syntax

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.10.3
    • 2.10.4, 2.11.0
    • website
    • None
    • Patch Available
    • Novice

    Description

      http://camel.apache.org/jetty.html

      incorrect:

          <bean id="jetty" class="org.apache.camel.component.jetty.JettyHttpComponent">
              <property name="socketConnectorProperties">
                  <properties>
                      <property name="acceptors" value="4"/>
                      <property name="maxIdleTime" value="300000"/>
                  </properties>
              </property>
          </bean>
      

      correct:

          <bean id="jetty" class="org.apache.camel.component.jetty.JettyHttpComponent">
            <property name="socketConnectorProperties">
              <map>
                <entry key="acceptors" value="4"/>
                <entry key="maxIdleTime" value="300000"/>
              </map>
            </property>
          </bean>
      

      Attachments

        Activity

          People

            muellerc Christian Müller
            mikaelhg Mikael Gueck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: