You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Mikael Gueck (JIRA)" <ji...@apache.org> on 2013/01/30 16:11:14 UTC
[jira] [Updated] (CAMEL-6024) Camel-Jetty Spring example has broken
Spring XML syntax
[ https://issues.apache.org/jira/browse/CAMEL-6024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikael Gueck updated CAMEL-6024:
--------------------------------
Description:
http://camel.apache.org/jetty.html
incorrect:
{code}
<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>
{code}
correct:
{code}
<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>
{code}
was:
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>
> Camel-Jetty Spring example has broken Spring XML syntax
> -------------------------------------------------------
>
> Key: CAMEL-6024
> URL: https://issues.apache.org/jira/browse/CAMEL-6024
> Project: Camel
> Issue Type: Bug
> Components: camel-jetty, website
> Affects Versions: 2.10.3
> Reporter: Mikael Gueck
>
> http://camel.apache.org/jetty.html
> incorrect:
> {code}
> <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>
> {code}
>
> correct:
> {code}
> <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>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira