Re: Problem with camel routes running in apache-karaf-2.3.3

2014-01-14 Thread sanjbh
In the MANIFEST.MF for camel-example-osgi, I do not see org.apache.camel.example.osgi in the Import-Package section. Maybe you need to add it specifically in for the maven-bundle-plugin in pom.xml? Thanks, Sanjay -- View this message in context: http://camel.465427.n5.nabble.

RE: call a cxf service from camel that accepts multiple paramter

2014-01-14 Thread sanjbh
I meant a List of Object. The mailing list is removing the for the List declaration from my post. Thanks, Sanjay -- View this message in context: http://camel.465427.n5.nabble.com/call-a-cxf-service-from-camel-that-accepts-multiple-paramter-tp5745888p5745925.html Sent from the Camel -

RE: call a cxf service from camel that accepts multiple paramter

Can you try this in that case: List argList = nw ArrayList(); argList.add(addressInfo); argList.add(addressDomain); exchange.getOut.setBody(argList); Thanks, Sanjay -- View this message in context: http://camel.465427.n5.nabble.com/call-a-cxf-service-from-camel-that-accepts-multiple-paramter

Re: Getting ClassCastException in Camel route while handling response containing java.util.List

Willem, I tried changing the signature to List> getBooks(); but that didn't work. So I tried creating a wrapper class that wraps the List and named it Books and changed the method to Books getBooks(). But still I am getting the ClassCastException as follows: org.apache.cxf.interceptor.Fault: org

Re: Getting ClassCastException in Camel route while handling response containing java.util.List

Hi, Here goes the full stack trace. [ qtp1924936723-17] BooksQueryResult INFO Exchange[ExchangePattern: InOut, BodyType: java.util.ArrayList, Body: [org.test.cxfws.domain.Book@743479ce, org.test.cxfws.domain.Book@2128fefc, org.test.cxfws.domain.Book@a7c6366, org.test.

Getting ClassCastException in Camel route while handling response containing java.util.List

I have a Camel route exposed as a CXF web service. This is a bottom up web service and has an operation like so: List getBooks(); The CXF endpoint is defined as: http://localhost:9045/bookservice"; serviceClass="org.test.cxfws.service.BookDBService"> The operation que