Jetty's configuration parameters seem to be controlled at the connector
level; http://docs.codehaus.org/display/JETTY/Configuring+Connectors lists
the properties that are available.
I tried specifying the socketConnectorProperties map in the Spring DSL that
defines the route; here is the relevant part:
<camel:route id="posWS" autoStartup="{{jetty.autoStartup.SYSTEM}}">
<camel:from
uri="jetty:{{jetty.url.SYSTEM}}:{{jetty.port.SYSTEM}}/positions?enableJmx=true
&socketConnectorProperties=#jettyConnectorProperties" />
<camel:process ref="posWSProcessor" />
</camel:route>
I've defined a map called "jettyConnectorProperties" like this:
<util:map id="jettyConnectorProperties">
<entry key="name" value="testName" />
<entry key="requestBufferSize" value="1024" />
</util:map>
However, when I inspect the configuration of Jetty using JMX, neither
parameter is updated. I'm using Spring 3.1.1 and Camel 2.9.1.
Is this the correct way to set these parameters?
--
View this message in context:
http://camel.465427.n5.nabble.com/Jetty-Component-and-headerBufferSize-tp5636191p5663568.html
Sent from the Camel - Users mailing list archive at Nabble.com.