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
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
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
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
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
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]],
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
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
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=
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
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!
--
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
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.
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
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
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
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
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.
;
}
@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
/
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
,
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.
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
and with which dynamic
polling can be achieved?
Thanks a lot!
Regards,
Bijoy
23 matches
Mail list logo