On Wed, Apr 25, 2012 at 1:30 AM, pglebow <[email protected]> wrote: > 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? >
You should set them on the jetty component See the examples with the sslSocketConnectorProperties options, that would be similar for socketConnectorProperties as well http://camel.apache.org/jetty > -- > 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. -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
