Re: Jetty Early EOF error

2016-02-17 Thread Jaishankar
Even I am facing same problem Camel Version: 2.10.0 Camel jetty: 2.10.0 Could anyone please help in resolving Jetty - early EOF issue? -- View this message in context: http://camel.465427.n5.nabble.com/Jetty-Early-EOF-error-tp598p5777825.html Sent from the Camel - Users mailing list archi

Re: Cannot find resource - when executing Runnable Jar which has xquery and xslt transformations

2016-01-19 Thread Jaishankar
Hi Claus, Thanks for the reply! The file is already present in the mention classpath i.e, resources/xquery/xmlTohtml.xq This problem occurs only when I create Runnable Jar file, otherwise works fine. -- View this message in context: http://camel.465427.n5.nabble.com/Cannot-find-resource-wh

Cannot find resource - when executing Runnable Jar which has xquery and xslt transformations

2016-01-18 Thread Jaishankar
Hi All, Simple Route Defined : from("direct:transformToHTML").routeId("transformToHTMLRoute") .convertBodyTo(org.w3c.dom.Document.class) * .to("xquery:xquery/xmlTohtml.xq")* .to("log:XMLtoHTMLProcessedData?showBody=true") .setHeader("CamelFileName", constant("report.h

RE: please help with transformation of a response by xslt

2015-09-01 Thread Jaishankar
After XSLT transformation try converting to "org.w3c.dom.Document". -- View this message in context: http://camel.465427.n5.nabble.com/please-help-with-transformation-of-a-response-by-xslt-tp5756711p577.html Sent from the Camel - Users mailing list archive at Nabble.com.

Web service SOAP fault handling

2014-10-22 Thread Jaishankar
Hi All, This is the route code. .dotry() .beanRef("requestProcessor","beginRequest") .setBody(body()) .to("cxf:bean:--id--") .doCatch(SoapFault.class) .process(new Processor() { @Override public void process(Exchange exchange) th

Re: How to restart the route if no response is returned from the web service call

2014-07-30 Thread Jaishankar
Hi Claus, If I use Producer Template we cannot handle *SOAPfault *or *SocketTimeOut *Exceptions? Is there any alternative solution for the problem? ProducerTemplate producerTemplate = exchange.getContext().createProducerTemplate(); Exchange exchangenew = producerTemplate.send("cxf:bean:Transactio

Re: Handle SOAP fault message

2014-07-30 Thread Jaishankar
Sorry Williem, I don't know whether I'm right or wrong but I need to some how handle fault message in the producer template, is there any possibility that we can do it? or I need a solution to the given problem do { invokeTransactionBegin(); invokeEmployeeModify(); invokeTransactionCommit(); } wh

Re: Exchange Body is null while using processor

2014-07-29 Thread Jaishankar
Hi Claus, If we do it like this, we can get the POST values into process Exchange. from("servlet:///hello?servletName=TestServlet").streamCaching().log("log: ${body}").process(new Processor() { public void process(Exchange exchange) throws Exception {

Re: Handle SOAP fault message

2014-07-29 Thread Jaishankar
Hi arnaudeprez, *This my CXF configuration*

Re: Handle SOAP fault message

2014-07-29 Thread Jaishankar
Hi arnaudeprez, I'm not able to catch in catch block of code. I dont know how to implement with other two methods. *Here is my code* private void invokeTransactionBegin(Exchange exchange) { if (exchange == null) { return;

Re: Handle SOAP fault message

2014-07-28 Thread Jaishankar
Hi Willem, Thank you for quickly responding. I get exception but how to handle the execption because its not catching in catch block catch (SOAPFaultException exception) { LOG.info("SOAPFaultException " + exception.getMessage());

Handle SOAP fault message

2014-07-28 Thread Jaishankar
If the exchange has soap fault how to capture the message in it? *I tried this way* Exchange exchangeNew = producerTemplate.send("cxf:bean:TransactionBegin", exchange); SoapFault soapFaultException = exchangeNew .getOut().getBody(SoapFault.class); *Error Message* Failed delivery for (

Re: Exchange Body is null while using processor

2014-07-28 Thread Jaishankar
Hi Claus... Thank you for replying me. I tried this way but here the exchange is empty.. from("servlet:///hello?servletName=TestServlet").log("log: ${body}").process(new Processor() { public void process(Exchange exchange) throws Exception {

Exchange Body is null while using processor

2014-07-25 Thread Jaishankar
Using rest client POST method I'm sending Soap Envelop message. But couldn't get it in exchange and it's null. //Code from("servlet:///hello?servletName=TestServlet") .log("log: ${body}") .process(new Processor() { public void

Re: How to restart the route if no response is returned from the web service call

2014-07-24 Thread Jaishankar
This is my code.. This is properly executing but if no response then need to retry. Need some help Please -- View this message in context: http://camel.465427.n5.nabble.com/How-to-restart-the-route-if-no-response-is-returned-from-the-web-service-call-tp5754330p5754346.html Sent from the Camel -

How to restart the route if no response is returned from the web service call

2014-07-23 Thread Jaishankar
There are three routes, in each route a web service operation are called using CXF endpoint. In each route there is CXF endpoint to call web service. 1st route Begin 2nd route Modify 3rd route Commit If fault is returned from the web service call then stop the route. Lets take a scenario if

RE: Bindy problem in reading the file

2014-07-18 Thread Jaishankar
Camel Route package com.csv.xml; import java.util.List; import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.RoutesBuilder; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.dat

Bindy problem in reading the file

2014-07-17 Thread Jaishankar
This is the sample code I've written. Please help me is solving this problem. Trying hard by using all the options in bindy but failed to execute it. *Input * 01633569|117 Luddenham Rd Luddenham |"Glenholme Farm" |DS04646MDIM-01|HS|IS|

SOAP Error Message "org.apache.cxf.binding.soap.SoapFault"

2014-07-16 Thread Jaishankar
Please help me How to handle the SOAP fault exception... ? and let me know how to retry till for 15min and stop the bundle? //My route from("timer://foo?RepeatCount=1").process(BeginrequestProcessor) .to("cxf:bean:EllipseTransactionBegin").onException(SoapFault.cla

RE: How to Add Double quote at the beginning of the column using Camel Bindy

2014-07-08 Thread Jaishankar
Hi Ravi Godbole, I got the solution, anyway.. I did the same in setters methods. I would follow your method coz I feel its better to go in your way rather than add double quote in setter methods. Thank you Jaishankar -- View this message in context: http://camel.465427.n5.nabble.com/How-to

Re: How to Add Double quote at the beginning of the column using Camel Bindy

2014-07-02 Thread Jaishankar
Now I tried with latest version also but its not working. Help regarding this issue please. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-Add-Double-quote-at-the-beginning-of-the-column-using-Camel-Bindy-tp5753141p5753186.html Sent from the Camel - Users mailing lis

Re: How to Add Double quote at the beginning of the column using Camel Bindy

2014-07-02 Thread Jaishankar
I'm using camel version 2.10.0. I've not tried with newer version. Is there any solution for this problem with version 2.10.0. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-Add-Double-quote-at-the-beginning-of-the-column-using-Camel-Bindy-tp5753141p5753185.html Sen

How to Add Double quote at the beginning of the column using Camel Bindy

2014-07-01 Thread Jaishankar
I'm creating csv file using Camel Bindy. In bindy model I have used @CsvRecord( separator = "\",\"" ,generateHeaderColumns=true), if I use this the output file is EMPLOYEE ID","SURNAME","FIRST NAME","SECOND NAME but I need output as "EMPLOYEE ID","SURNAME","FIRST NAME","SECOND NAME" The problem i

Consume CXF Web service using setHeader or anyway without using JAVA code Error

2014-06-19 Thread Jaishankar
I'm trying to consume web service using setHeader component. *My main goal here is not to write any java code and directly call the method with arguments.* As well I'm very much new to camel tools. So I would really expect your suggestion more. Please help me out in understanding and executing my t

Re: Aggregate Error

2014-04-23 Thread Jaishankar
sorucecode.txt I have attached the source code. Please reply me. The error message "Stacktrace

Aggregate Error

2014-04-22 Thread Jaishankar
This is the source code: person/firstName/text() ${in.header.breadcrumbId} corrId