camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sanjbh <>
Subject Re: Getting ClassCastException in Camel route while handling response containing java.util.List
Date Thu, 02 Jan 2014 12:44:50 GMT

 I tried changing the signature to List<List&lt;Book>> getBooks(); but that
didn't work. So I tried creating a wrapper class that wraps the List<Book>
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.test.cxfws.domain.Book cannot be cast
to org.test.cxfws.domain.Books


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message