Can I use a bean in place of a producer

2015-12-11 Thread DaddyOh
This route seems to work fine in test. I've left out the bean specifications for this context file for simplicity. http://camel.apache.org/schema/spring";> The bean does all of the work. It reads from a database and if records present it formats t

Re: Jetty in route not working as expected

2015-12-11 Thread rwoolf
I'm convinced that there is a bug here. I can't get jetty to open up any port but 80 in a route, and I always get the error in my browser as stated when I try to access it. I made the change to use the port as in your example (). Prior to dropping the blueprint file into the deploy director

Is there any situation where you can't replace recipientList(simple()) with toD()?

2015-12-11 Thread Matt Sicker
Are there any edge cases here? Or is it safe to refactor routes that use recipientList(simple()) with only a single endpoint? -- Matt Sicker

Re: Having issues with Multicast to Aggregation ...

2015-12-11 Thread jtoepfer
Ok. I found where to add the routeEmptyResultSet, which since i'm using injected SQL I had to append it to the sql in the properties file. select * from dual?consumer.routeEmptyResultSet=true but this does not work This fixed my problem of the zip aggregation working. I'm not sure if this

Re: Camel file/ftp only collect file when it has delete permissions.

2015-12-11 Thread Claus Ibsen
Try writing a custom filter in java code, and from the file instance you can grab various file details. Hopefully there is something about the file permissions you can use to know. You get these details https://github.com/apache/camel/blob/master/components/camel-ftp/src/main/java/org/apache/camel

Camel file/ftp only collect file when it has delete permissions.

2015-12-11 Thread jamesburn
Hi We're polling a remote ftp server. I want camel to only collect a file when it knows it can delete the file (and move to another location on the ftp server). If we don't have write permission for a file I don't want SM to keep on trying to process it. Here's what I have to start: Any though

Re: AggregatinStrategy on split never stop

2015-12-11 Thread Scisci
hi, sorry for the delayed response. I'm using camel version 2.6.0 and spring version 4.1.6.RELEASE. This one of the routes http://camel.apache.org/schema/spring"; xmlns:ag_01="http://www.my.it/Accpos"; >