Re: How to disable a servlet?

2018-08-20 Thread Ron Cecchini
Thanks, Claus. Worked perfectly. (sent off list because I didn't want to add more noise to the list.) > On August 20, 2018 at 4:54 PM Claus Ibsen wrote: > > > Hi > > If its a spring boot application then you can remove the -web-starter > dependency if you dont need servlet/http. > > Then

Re: How to disable a servlet?

2018-08-20 Thread Claus Ibsen
Hi If its a spring boot application then you can remove the -web-starter dependency if you dont need servlet/http. Then you need to set Camel's main controller to true in the application.properties to keep the app/JVM running. camel.springboot.main-run-controller = true Otherwise if you must

How to disable a servlet?

2018-08-20 Thread Ron Cecchini
Hi there. I am trying to run 2 Spring Boot / Camel applications at the same time, and the 2nd app complains about port 8080 already being in use. However, the 2nd app doesn't even need to expose any endpoints; it's just reading messages off a RabbitMQ bus that the first app is producing. So

Re: can Eureka be used as service registry/discovery tool with Apache camel?

2018-08-20 Thread Ranabroto Ghosh
Thank you @Iburgazzoli, I tried as you said and its working. Caller Microservice pom.xml, i just pasted related part org.springframework.cloud spring-cloud-starter-netflix-eureka-client org.apache.camel camel-spring-cloud-starter ${camel.version}

Re: ZIP aggregation and persistence

2018-08-20 Thread Claus Ibsen
Hi What is your completion criterias for the aggregator? If possible you can maybe also try to only consume the files from the file endpoint if you have all needed files, so they stay there on disk until you have all of them. On Mon, Aug 20, 2018 at 3:26 PM, Stuart Drapier wrote: > Hi, > >

ZIP aggregation and persistence

2018-08-20 Thread Stuart Drapier
Hi, I'm using Camel to read files from directories on a filesystem, aggregate to a ZIP file and forward to AMQ. This all works brilliantly until the process is unexpectedly shutdown - we lose any pending files in the aggregator. I understand this is because the aggregator by default uses the