Last active
December 11, 2015 22:59
-
-
Save mikaelhg/4673799 to your computer and use it in GitHub Desktop.
Fix some Camel Jetty documentation examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment