Re: onException issues with cxfrs

2014-04-16 Thread bijoy
container. I tried to exclude the jetty jars from dependency but it did not help and I was getting ServiceConstructionException. Any idea how use jaxrs component within external jetty container. The CXF doc http://cxf.apache.org/docs/jax-rs.html does not provide much insight on that. Regards, Bijoy

onException issues with cxfrs

2014-04-11 Thread bijoy
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.com/onException-issues-with-cxfrs-tp5750099.html Sent from

Re: Issues with cxfrs using json -- SOLVED

2014-04-02 Thread bijoy
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 message

Re: Issues with cxfrs using json

2014-03-31 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* camel:route id=httpRequest

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

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]],

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. import resource=classpath:META-INF/cxf/cxf.xml / But getting following exception... 2014-03-28 15:50:26.195:WARN:oejw.WebAppContext:Scanner-0: Failed

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) import resource=classpath:META-INF/cxf/cxf.xml / This

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* cxf:rsServer id=restServer address=

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

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! --

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-jetty-instance

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.

Re: Deploying REST service on running camel:jetty instance

2014-01-31 Thread bijoy
to 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

Deploying REST service on running camel:jetty instance

2014-01-30 Thread bijoy
camel:from uri=restlet://http://localhost:8081/rest/{id}?restletMethods=post,get,put/ camel:process ref=processHttpRequest/ camel:stop/ /camel:route Any idea who to do this? Regards, Bijoy -- View this message in context: http://camel.465427.n5

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

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
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
; } @Override public void onInit() throws Exception { System.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

Re: Handling ConnectException at route startup

2014-01-09 Thread bijoy
/ camel:log message=Processing ${header.CamelFileName} file!!!/camel:log camel:to uri=file:///home/ebijcha/Documents/Camel_Work_Dir/FTP_Inbox/ /camel:route /camel:camelContext Regards, Bijoy On Thu, Jan 9, 2014 at 12:26 PM, Bijoy Chaudhury bijoy.chaudh...@gmail.comwrote

Re: Handling ConnectException at route startup

2014-01-09 Thread bijoy
, 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.

Handling ConnectException at route startup

2014-01-08 Thread bijoy
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: http://camel.465427.n5.nabble.com

Query on PollingConsumer

2013-12-09 Thread Bijoy Chaudhury
and with which dynamic polling can be achieved? Thanks a lot! Regards, Bijoy