How does you "scanningServicesProcessor" looks like? Best, Christian
Christian Müller ----------------- Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member: https://www.apache.org/foundation/members.html https://www.linkedin.com/pub/christian-mueller/11/551/642 On Thu, May 30, 2013 at 6:13 PM, WPk <wardha...@gmail.com> wrote: > Hey, > > I am adding the contents of the camel-contexts.xml, assuming that can be of > some help. > ****************************************************************** > <?xml version="1.0" encoding="UTF-8" standalone="no"?> > <beans xmlns="http://www.springframework.org/schema/beans" > xmlns:camel="http://camel.apache.org/schema/spring" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans.xsd > http://camel.apache.org/schema/spring > http://camel.apache.org/schema/spring/camel-spring.xsd"> > > <camelContext xmlns="http://camel.apache.org/schema/spring"> > > <propertyPlaceholder id="properties" > location="file:${config.url.loc}" /> > > <route id="Trans_Scanning_Route"> > <from > uri="jetty:http://0.0.0.0:50480/us/scanningSvcs/v1?disableStreamCache=true > " > /> > <log logName="HTTP LOG" loggingLevel="INFO" > message="HTTP REQUEST:${in.header.loadId}" > /> > <process ref="scanningServicesProcessor" /> > </route> > > <route id="Load_FreightMgmt_Route"> > <from uri="vm:load" /> > <to > uri="properties:{{FREIGHT_LOAD_SVCS_URL}}?throwExceptionOnFailure=false"/> > <convertBodyTo type="java.lang.String" /> > </route> > > <route id="EDI_CommunSvcs_Route"> > <from uri="vm:edi" /> > <to > > uri="properties:{{COMMUN_SVCS_URL}}?throwExceptionOnFailure=false" /> > <convertBodyTo type="java.lang.String" /> > </route> > > <route id="Location_Svcs_Route"> > <from uri="vm:loc" /> > <to > > uri="properties:{{LOCATION_SVCS_URL}}?throwExceptionOnFailure=false" /> > <convertBodyTo type="java.lang.String" /> > </route> > > </camelContext> > > <bean > class="com.walmart.trans.scanning.processor.ScanningServicesProcessor" > id="scanningServicesProcessor" > > <constructor-arg index="0" ref="loadServicesHandler"/> > </bean> > > <bean > class="com.walmart.trans.scanning.handler.LoadServicesHandler" > id="loadServicesHandler" > > <constructor-arg index="0" ref="edi204PartnersHandler"/> > <constructor-arg index="1" ref="locationServicesHandler"/> > </bean> > > <bean > class="com.walmart.trans.scanning.handler.EDI204PartnersHandler" > id="edi204PartnersHandler" > > </bean> > > <bean > class="com.walmart.trans.scanning.handler.LocationServicesHandler" > id="locationServicesHandler" > > </bean> > > </beans> > ************************************************************** > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Jetty-Performance-Issue-tp5733133p5733518.html > Sent from the Camel - Users mailing list archive at Nabble.com. >