Re: onException issues with cxfrs

2014-04-16 Thread bijoy
jetty container. The CXF doc http://cxf.apache.org/docs/jax-rs.html does not provide much insight on that. Regards, Bijoy -- View this message in context: http://camel.465427.n5.nabble.com/onException-issues-with-cxfrs-tp5750099p5750298.html Sent from the Camel - Users mailing list archive at

onException issues with cxfrs

2014-04-11 Thread bijoy
e. That did not work too. Any idea what could be causing the problem. Also the exceptions being thrown by cxf component are not being caught by onException. is there any possibility to catch them within onException. Regards, Bijoy -- View this message in context: http://camel.465427.n5.nabble.

Re: Issues with cxfrs using json -- SOLVED

2014-04-02 Thread bijoy
tiple technology support under simple roof. My business logic revolves around REST, JMS, File & FTP. All these component support is readily available in Camel, so camel serves my purpose. Thanks everyone for your assistance and bringing this thread towards closure. Regards, Bijoy -- View this m

Re: Issues with cxfrs using json

2014-03-30 Thread bijoy
Hi Sergey, Adding String and InputStream in the method signature making json data available to exchange body but camel is not able to convert the json into pojo. I'm using SimpleConsumer binding. I guess the problem is with binding, any idea? *camel-config.xml*

Re: Issues with cxfrs using json

2014-03-28 Thread bijoy
Yes Sergey, what you pointed is right. I was trying to parse the CxfXmlMessage object which resides in the header and that itself was null. So, the problem is with service definition signature. Can you please suggest how to pass the input json to request body? Thanks a lot! Regards, Bijoy On

Re: Issues with cxfrs using json

2014-03-28 Thread bijoy
Sergey, Thanks for your assistance! I have added jettison dependency but still the same exception was being thrown. The I made following changes to configuration file which did not throw any startup errors. *camel-config.xml* This configuration works but still input json

Re: Issues with cxfrs using json

2014-03-28 Thread bijoy
Main changes are: Goal 6 - Definition and Rating Scale (Just replace it with new one) Goal 7 - Definition changed (Just replace it with new one) Goal 8 and 10 - Rating Scale is changed (Just replace it with new one) This configuration works but still input json is not ma

Re: Issues with cxfrs using json

2014-03-28 Thread bijoy
Hi I'm using cxf 2.7.7. I have removed cxf-bundle-jaxrs from dependency and added cxf-rt-rs-extension-providers. I have cxf.xml in classpath. But getting following exception... 2014-03-28 15:50:26.195:WARN:oejw.WebAppContext:Scanner-0: Failed startup of context o.e.j.w.WebAppContext@2b30630

Re: Issues with cxfrs using json

2014-03-28 Thread bijoy
The log with showAll=true provides following... Exchange[Id: ID-PG85238-43050-1395997134260-0-2, ExchangePattern: InOut, Properties: {CamelCreatedTimestamp=Fri Mar 28 14:30:18 IST 2014, CamelMessageHistory=[DefaultMessageHistory[routeId=httpRequest, node=to1]], CamelToEndpoint=log://?showAll=true}

Issues with cxfrs using json

2014-03-28 Thread bijoy
Hi, I'm trying to expose a REST webservice which takes json as input and also provide response as json. I wanted to package the application as war and to deploy on external jetty container. I'm facing two problem implementing this. 1. The json object which comes along with REST request is not bei

Re: Seda does not work with CXFRS--SOLVED

2014-03-11 Thread bijoy
I have figured out the issue. For testing some use cases I kept autoStartup=false w.hich was not starting up the routes automatically. Even though "asyncRESTReq" route was getting started somehow. Setting autoStartup=true solved the problem and everything is working fine now. Thanks a lot! -- V

Re: Seda does not work with CXFRS

2014-03-10 Thread bijoy
*Typo* -> It seems the seda consumers is not coming up. -- View this message in context: http://camel.465427.n5.nabble.com/Seda-does-not-work-with-CXFRS-tp5748598p5748599.html Sent from the Camel - Users mailing list archive at Nabble.com.

Seda does not work with CXFRS

2014-03-10 Thread bijoy
I'm planning to create a REST web service using CXFRS component and want to deploy the service on external Jetty container. I want the web service to work in async mode, so I acknowledge the request with interim response and then pass the request a processor using seda component. Following are the

Re: Deploying REST service on running camel:jetty instance

2014-02-03 Thread bijoy
I'm planning to bundle each services in separate wars and will deploy them on jetty's hot deployment directory. Thank all for your assistance! Regards, Bijoy -- View this message in context: http://camel.465427.n5.nabble.com/Deploying-REST-service-on-running-camel-jett

Re: Deploying REST service on running camel:jetty instance

2014-01-31 Thread bijoy
configure restlet on embedded jetty container. I hope my problem statement is clear. Regards, Bijoy -- View this message in context: http://camel.465427.n5.nabble.com/Deploying-REST-service-on-running-camel-jetty-instance-tp5746625p5746648.html Sent from the Camel - Users mailing list archive at

Re: Deploying REST service on running camel:jetty instance

2014-01-31 Thread bijoy
Any thoughts how to achieve this? -- View this message in context: http://camel.465427.n5.nabble.com/Deploying-REST-service-on-running-camel-jetty-instance-tp5746625p5746644.html Sent from the Camel - Users mailing list archive at Nabble.com.

Deploying REST service on running camel:jetty instance

2014-01-30 Thread bijoy
vice.DummyServices"/> http://localhost:8081/rest/{id}?restletMethods=post,get,put"/> Any idea who to do this? Regards, Bijoy -- View this message in context: http://camel.465427.n5.nabble.com/Deploying-REST-service-on-running-camel-jetty-instance-

Re: Queries on jetty server

2014-01-26 Thread bijoy
with camel:bean component we can start/stop tomcat service through some scripts but how to get statuses of tomcat routed back to camel. Actually I want to use camel as controller layer to control all transactions/tasks. Is it somehow easily achievable? Regards, Bijoy -- View this message in

Re: Queries on jetty server

2014-01-24 Thread bijoy
Can some please share their views if it would be advisable to move from tomcat to jetty server to take advantage of camel framework. Regards, Bijoy -- View this message in context: http://camel.465427.n5.nabble.com/Queries-on-jetty-server-tp5746394p5746437.html Sent from the Camel - Users

Queries on jetty server

2014-01-23 Thread bijoy
freshed? Thanks for your reply! Regards, Bijoy -- View this message in context: http://camel.465427.n5.nabble.com/Queries-on-jetty-server-tp5746394.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Handling ConnectException at route startup

2014-01-10 Thread bijoy
ystem.out.println("Init Poll!"); } } None of the methods in pollingStrategy were called. Any idea what could be the problem? Regards, Bijoy -- View this message in context: http://camel.465427.n5.nabble.com/Handling-ConnectException-at-route-startup-tp5745762p5745832.html Se

Re: Handling ConnectException at route startup

2014-01-09 Thread bijoy
handle those exceptions globally? Regards, Bijoy -- View this message in context: http://camel.465427.n5.nabble.com/Handling-ConnectException-at-route-startup-tp5745762p5745782.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Handling ConnectException at route startup

2014-01-09 Thread bijoy
;fileName=pom.xml;throwExceptionOnConnectFailed=true"/> Regards, Bijoy On Thu, Jan 9, 2014 at 12:26 PM, Bijoy Chaudhury wrote: > Hi, > > I'm planning to design an application which can receive files from > multiple transports like

Handling ConnectException at route startup

2014-01-08 Thread bijoy
ponents. But I don't want to create exception listeners for individual component. Instead is there any way to globally handle such ConnectException be it thrown by JMS, FTP or REST or by any other network component? Thanks for short feedback! Regards, Bijoy -- View this message in context:

Query on PollingConsumer

2013-12-09 Thread Bijoy Chaudhury
llEnrich() had they supported simple expressions. Does camel provide any similar built-in methods which supports expressions and with which dynamic polling can be achieved? Thanks a lot! Regards, Bijoy