Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 84219 invoked from network); 23 Jan 2009 17:04:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2009 17:04:00 -0000 Received: (qmail 66115 invoked by uid 500); 23 Jan 2009 17:03:59 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 66092 invoked by uid 500); 23 Jan 2009 17:03:59 -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 66009 invoked by uid 99); 23 Jan 2009 17:03:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2009 09:03:59 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of email.wtam@gmail.com designates 209.85.219.21 as permitted sender) Received: from [209.85.219.21] (HELO mail-ew0-f21.google.com) (209.85.219.21) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2009 17:03:48 +0000 Received: by ewy14 with SMTP id 14so4312603ewy.20 for ; Fri, 23 Jan 2009 09:03:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=frPVMmo1FZ62kKCYKGt/NCG6SbbBiuyp+DpyDsvT2Eg=; b=cwlx94V8O7GkALjt6L/7thUcwB3lJFPtdcjQZyk8ZopEvmTavYHNUNMqjyOisxTzII Ip+T0xeh6wBRovMtGFrYZFZ3r2wXto8ZithQbgXEYZeCCehQh+fOpqIdYmq2ayXTJ43O GTk+4d44Md9DFXERnjSB/4hCSjfF/vG4zyERk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=XDy0CUtmCjcgmXnjbWB6rDAAe3xaC3RcSyCq6hfvt+hKOGJpQjIcv3Qc1b8+/2L1JG /b3tAi6b77MGtKFUFKBLLoe/DVEFCSpbnrKomskliwMgeZdZx7H61cZ9OMyLZIuJYHwO NBsoo5y6fs7uM2HwMxKyfoc7PqAv0V8dycDi0= MIME-Version: 1.0 Received: by 10.103.198.20 with SMTP id a20mr1151999muq.63.1232730208313; Fri, 23 Jan 2009 09:03:28 -0800 (PST) In-Reply-To: References: <49749850.50909@bull.net> <49766D89.2050506@gmail.com> <4976D671.80700@bull.net> <4976DE23.2010901@bull.net> <4976E6A5.6050605@gmail.com> <4976EAC3.3050009@bull.net> <4976F4FD.4070600@gmail.com> <4976F716.8040007@gmail.com> <4979E5E1.8080705@bull.net> Date: Fri, 23 Jan 2009 12:03:28 -0500 Message-ID: Subject: Re: Definining interceptors in camel-cxf From: William Tam To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org org.apache.camel.Component and org.apache.camel.Endpoint interfaces are not generic in 2.0 is expected. it is a clean up effort in 2.0. On Fri, Jan 23, 2009 at 12:01 PM, William Tam wrote: > The stack does not match the current source. (It points to the old > CxfProducer before refactoring.) Could you compile manually and > re-test it? > > Any idea why the 2.0 snapshot is more than a week old, anyone? > > > On Fri, Jan 23, 2009 at 10:44 AM, S. Ali Tokmen > wrote: >> Hello >> >> Unfortunately, Camel 2.0-SNAPSHOT and CXF 2.2-SNAPSHOT (versions present= on >> the 23/01/2009) seem to break. I have an exception: >> >> java.lang.NullPointerException >> at >> >> org.apache.camel.component.cxf.CxfProducer.createClientFromClientFactory= Bean(CxfProducer.java:97) >> at >> org.apache.camel.component.cxf.CxfProducer.(CxfProducer.java:70) >> at >> >> org.apache.camel.component.cxf.CxfEndpoint.createProducer(CxfEndpoint.ja= va:74) >> at >> org.apache.camel.processor.SendProcessor.doStart(SendProcessor.java:92= ) >> at >> org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:49) >> at >> org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:6= 4) >> at >> >> org.apache.camel.processor.MulticastProcessor.doStart(MulticastProcessor= .java:253) >> at >> org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:49) >> at >> org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:6= 4) >> at >> org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:47) >> at >> org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:6= 4) >> at >> >> org.apache.camel.processor.MulticastProcessor.doStart(MulticastProcessor= .java:253) >> at >> org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:49) >> at >> org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:42= ) >> at >> org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:5= 3) >> at >> >> org.apache.camel.processor.DelegateProcessor.doStart(DelegateProcessor.j= ava:68) >> at >> org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:49) >> at >> org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:42= ) >> at >> org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:5= 3) >> at >> >> org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncP= rocessor.java:54) >> at >> org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:49) >> at >> org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:42= ) >> at >> org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:5= 3) >> at >> org.apache.camel.impl.DefaultConsumer.doStart(DefaultConsumer.java:85) >> at >> org.apache.camel.component.jms.JmsConsumer.doStart(JmsConsumer.java) >> at >> org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:49) >> at >> >> org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext= .java:421) >> at >> >> org.apache.camel.impl.DefaultCamelContext.startRoutes(DefaultCamelContex= t.java:683) >> at >> >> org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.ja= va:652) >> at >> >> org.apache.camel.spring.SpringCamelContext.maybeDoStart(SpringCamelConte= xt.java:166) >> at >> >> org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.ja= va:161) >> at >> org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:49) >> at >> >> org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext= .java:96) >> at >> >> org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCame= lContext.java:115) >> at >> >> org.springframework.context.event.SimpleApplicationEventMulticaster$1.ru= n(SimpleApplicationEventMulticaster.java:78) >> at >> >> org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.= java:49) >> at >> >> org.springframework.context.event.SimpleApplicationEventMulticaster.mult= icastEvent(SimpleApplicationEventMulticaster.java:76) >> at >> >> org.springframework.context.support.AbstractApplicationContext.publishEv= ent(AbstractApplicationContext.java:274) >> at >> >> org.springframework.context.support.AbstractApplicationContext.finishRef= resh(AbstractApplicationContext.java:736) >> at >> >> org.springframework.context.support.AbstractApplicationContext.refresh(A= bstractApplicationContext.java:383) >> at >> >> org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139) >> at >> >> org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:93) >> at >> >> org.apache.camel.spring.Main.createDefaultApplicationContext(Main.java:2= 32) >> at org.apache.camel.spring.Main.doStart(Main.java:186) >> at >> org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:49) >> at >> >> org.ow2.jonas.camel.server.CamelWrapper$CamelThread.run(CamelWrapper.jav= a:101) >> ... 1 more >> >> There's also a "regression" in Camel: the org.apache.camel.Component and >> org.apache.camel.Endpoint interfaces are not generic anymore. Is that >> expected? >> >> Cheers >> >> S. Ali Tokmen >> savas-ali.tokmen@bull.net >> >> Office: +33 4 76 29 76 19 >> GSM: +33 66 43 00 555 >> >> Bull, Architect of an Open World TM >> http://www.bull.com >> >> >> >> Willem Jiang a =E9crit : >>> >>> Just one more thing for the using camel-2.0-snapshot, you also need to >>> use the latest CXF 2.2-snapshot, or CXF 2.1.4-snapshot. >>> >>> Willem >>> >>> Willem Jiang wrote: >>> >>>> >>>> You can get camel-2.0 snapshot from >>>> http://people.apache.org/repo/m2-snapshot-repository/ >>>> >>>> Willem >>>> >>>> S. Ali Tokmen wrote: >>>> >>>>> >>>>> Hello Willem >>>>> >>>>> Which repository would you recommend to me for testing with >>>>> camel-2.0-snapshot; should I compile manually? >>>>> >>>>> Thanks >>>>> >>>>> PS: My source code is public, on >>>>> svn://svn.forge.objectweb.org/svnroot/jonas/sandbox/camel-jonas4 >>>>> >>>>> S. Ali Tokmen >>>>> savas-ali.tokmen@bull.net >>>>> >>>>> Office: +33 4 76 29 76 19 >>>>> GSM: +33 66 43 00 555 >>>>> >>>>> Bull, Architect of an Open World TM >>>>> http://www.bull.com >>>>> >>>>> >>>>> >>>>> Willem Jiang a =E9crit : >>>>> >>>>>> >>>>>> Ah, You already found the answer :) >>>>>> Can you try the last Camel-2.0 snapshot, there are some changes on t= he >>>>>> CXF bus. Please let me know if anything is broken there. >>>>>> >>>>>> Willem >> >> >