Re: Spring boot gives null pointer in xml based camel configutaions

2018-06-27 Thread Claus Ibsen
Hi Its a bit confusing what you do. Are you really packaging spring-boot inside a WAR file and then deploying that to Jetty? If so this is wrong. Spring Boot is a standalone runtime which you should not embed in others. On Sun, Jun 24, 2018 at 9:44 PM, Mohit Sharma wrote: > > Hi All, > > My nam

Re: Camel Swagger Implementation

2018-06-27 Thread Bennet Schulz
Hi Bikash, are you using the Camel Swagger component? https://github.com/apache/camel/tree/master/components/camel-swagger I think the easiest way is to use this one. Just checkout the code and take a look at it. best regar

Re: Camel Swagger Implementation

2018-06-27 Thread Bikash Kaushik
Yes , I have done this. But I need to do some configuration in swagger as mentioned in trail mail. I'm facing issue in those changes. Thanks. On Wed, Jun 27, 2018, 4:55 PM Bennet Schulz wrote: > Hi Bikash, > > are you using the Camel Swagger component? > https://github.com/apache/camel/tree/mas

Re: Spring boot gives null pointer in xml based camel configutaions

2018-06-27 Thread Doug Douglass
On Wed, Jun 27, 2018 at 12:18 AM Claus Ibsen wrote: > Hi > > Its a bit confusing what you do. Are you really packaging spring-boot > inside a WAR file and then deploying that to Jetty? > If so this is wrong. Spring Boot is a standalone runtime which you > should not embed in others. > While perh

Re: Spring boot gives null pointer in xml based camel configutaions

2018-06-27 Thread David Karlsen
No - it is not wrong to create .war's: https://docs.spring.io/spring-boot/docs/1.5.14.RELEASE/reference/htmlsingle/#howto-create-a-deployable-war-file - but not the most common deployment model. Anyway - we're drifting away from the original problem which is the NPE in the CamelBeanPostProcessor.p

Re: Spring boot gives null pointer in xml based camel configutaions

2018-06-27 Thread Mark Nuttall
Can you switch to Java routes instead XML? I am deploying Spring Boot Camel Java routes as war's with no issues. On Wed, Jun 27, 2018 at 2:09 PM, David Karlsen wrote: > No - it is not wrong to create .war's: > https://docs.spring.io/spring-boot/docs/1.5.14.RELEASE/ > reference/htmlsingle/#howto-

Re: Spring boot gives null pointer in xml based camel configutaions

2018-06-27 Thread David Karlsen
Over time yes, right now we just want a working MVP with as few changes as possible to get it bootified, then make it more bootiful, and in that respect we have the question I posted in the last mail. Den ons. 27. jun. 2018 kl. 20:46 skrev Mark Nuttall : > Can you switch to Java routes instead XM

Policy to wrap route with a cache

2018-06-27 Thread Balazs Szeti
Hi Camel Users, In Spring we have the @Cacheable annotation that provides an easy way to wrap a method call with a cache. The method result is cached and the method is not executed the next time the it's ca

Using camel-rest component with camel-grpc component

2018-06-27 Thread Steve Hiller
Hi All, Has anyone used the camel-rest component in combination with the camel-grpc component? Specifically, what is the best way to handle an input JSON ReST message that will be routed to a gRPC service, which will return a response that needs to be returned to the caller of the ReST service