Re: Mulitcast and stopOnexception

2013-05-24 Thread crmanoj
Thank you! I do use the exception handling in my route but the problem is when I use stoponexception, On an exception the execution stops and throws 'parallel processing exception' instead of custom exception. May be that's the behaviour. Any thoughts on this? -- View this message in context: h

Mulitcast and stopOnexception

2013-05-23 Thread crmanoj
Hi, I have a scenario using Multicast and I want to stop the execution if any one of the routes in multicast fails, So I used stoponException along with multicast. Though I have appropriate error handlers written I end up receiving 'org.apache.camel.CamelExchangeException: *Parallel processing fai

Re: Using camel-servlet with Multipart - unable to fetch the file

2013-05-14 Thread crmanoj
This is resolved by using/parsing the input stream from camel body instead of using the HttpServletRequest from camel Headers. -- View this message in context: http://camel.465427.n5.nabble.com/Using-camel-servlet-with-Multipart-unable-to-fetch-the-file-tp5732204p5732534.html Sent from the Came

Re: Using camel-servlet with Multipart - unable to fetch the file

2013-05-09 Thread crmanoj
I'm using the OSGI service for camel servlet and I do not want to use camel-jetty as it takes its own port instead of existing jetty server port. What strange is I can see the contents of the multipart data from request if I parse them manually, But I am unable to separate the form fields and file

Re: Using camel-servlet with Multipart - unable to fetch the file

2013-05-08 Thread crmanoj
Thank you for replying! I have tried removing them but no difference. Am I using the component correctly? Is there any other way to get the form fields and data separetely? I have tried camel-jetty component and it separates the form fields and data, Is there anything similar to that in camel-servl

Using camel-servlet with Multipart - unable to fetch the file

2013-05-08 Thread crmanoj
Hi, I am trying to upload a file to the server from client using multipart/form-data. The server endpoint is a camel-servlet endpoint. I am able to get the httprequestbody from the call using (in.headers), to parse the form data and uploaded file data i'm using commons-fileupload( streaming api

Re: How to unmarshal a XML String to java object for properties without required annotation

2013-04-18 Thread crmanoj
Thank you Christian for replying! Here goes the details Camel version 2.9, JDK:1.6.0_39. We use the maven plugin 'cxf-codegen-plugin' version: 2.4.3 to generate java class from WSDL. We run the camel routes in Fuse ESB 7.1. We use ObjectFactory generated from the plugin. Here is the dataformat

How to unmarshal a XML String to java object for properties without required annotation

2013-04-18 Thread crmanoj
Hi, I am trying to convert a XML string to Java object using JAXB dataformat. I face an issue that the output of the unmarshaller is missing the properties which are not annotation as 'required. Here is the XML string before unmarshalling