Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 22976 invoked from network); 7 Jun 2010 06:56:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Jun 2010 06:56:29 -0000 Received: (qmail 89367 invoked by uid 500); 7 Jun 2010 06:56:29 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 89254 invoked by uid 500); 7 Jun 2010 06:56:28 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 89246 invoked by uid 99); 7 Jun 2010 06:56:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jun 2010 06:56:28 +0000 X-ASF-Spam-Status: No, hits=-0.3 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of willem.jiang@gmail.com designates 209.85.212.173 as permitted sender) Received: from [209.85.212.173] (HELO mail-px0-f173.google.com) (209.85.212.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jun 2010 06:56:21 +0000 Received: by pxi2 with SMTP id 2so893323pxi.32 for ; Sun, 06 Jun 2010 23:56:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=zOO3tW062FQ/iv4UEfkWHI7N7bnUQGK6Suyk9BLKGow=; b=YmodELW7vF2XBl5iBhVix30FuCXwvAgYa6RLHdbCSNXrYu6Is4favrFKag228IOn5X 2uv9pD/YNRRrARS1A/06kRu53jDmcm/Yngk0/x3tWggLqt+mXrgQyaOM4QKH8mLj0dAt VP+ZNw6HTKoraIlbQerIAF5CaMYmbBZht4qXg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=a4atYZozdInmKxjTJAqEq5u10OHGMr+n7Pvi9QudWdXAv0NfZs942eV0TlJ+CeKeCn 56J3Xlo+CzdDgV2YXNswG7j4Ii7mBOwunHRYcYj+id5VMd8XgYxSieGyLqBW+b8MccRq n7fnQBBA14FHWrHX2oks6T/PbUVthzkGtGsp4= Received: by 10.114.186.40 with SMTP id j40mr11311060waf.93.1275893760994; Sun, 06 Jun 2010 23:56:00 -0700 (PDT) Received: from [192.168.0.158] ([125.33.126.52]) by mx.google.com with ESMTPS id r20sm36143990wam.5.2010.06.06.23.55.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 06 Jun 2010 23:55:59 -0700 (PDT) Message-ID: <4C0C97F3.3080007@gmail.com> Date: Mon, 07 Jun 2010 14:55:47 +0800 From: Willem Jiang User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: users@camel.apache.org Subject: Re: Camel CXF Producers And Timeout Configuration References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Did the overrideRequestRouteBuilder has the below route ? from("direct:overrideRequest").recipientList(header("overrideAddress")) There is an unit test of cxf[1][2] which show the Timeout config is working. [1]https://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfTimeoutTest.java [2]https://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/cxfConduitTimeOutContext.xml Willem Carlo Camerino wrote: > Hi, > > I'm trying to configure camel cxf but can't seem to set a timeout on it. > > My route looks something like this > > overrideAddress =cxf://http://localhost:8088/override/override?serviceClass=" > + SERVICE_CLASS > > here's what the route contains.. > > from("direct:overrideRequest").recipientList(header("overrideAddress")) { > > } > > > here's my spring xml declaration. > > > xmlns:amq="http://activemq.apache.org/schema/core" > xmlns:camel="http://camel.apache.org/schema/spring" > xmlns:cxf = "http://camel.apache.org/schema/cxf" > xmlns:jaxws="http://cxf.apache.org/jaxws" > xmlns:soap="http://cxf.apache.org/bindings/soap" > xmlns:http-conf="http://cxf.apache.org/transports/http/configuration" > xmlns:sec="http://cxf.apache.org/configuration/security" > 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-2.0.xsd > http://activemq.apache.org/schema/core > http://activemq.apache.org/schema/core/activemq-core-5.3.2.xsd > http://camel.apache.org/schema/spring > http://camel.apache.org/schema/spring/camel-spring.xsd > http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd > http://cxf.apache.org/bindings/soap > http://cxf.apache.org/schemas/configuration/soap.xsd > http://cxf.apache.org/transports/http/configuration > http://cxf.apache.org/schemas/configuration/http-conf.xsd > http://cxf.apache.org/configuration/security > http://cxf.apache.org/schemas/configuration/security.xsd > http://camel.apache.org/schema/cxf > http://camel.apache.org/schema/cxf/camel-cxf.xsd"> > > > > > > > com.ccti.luminous.override.routes > > > > > > > > > I declared an http-conf conduit declaration but it does not seem to be > following it. > > It just defaults to 30 seconds. > is there anyway that i can recdonfigure this behavior? > > > thanks > carlo >