Camel Salesforce, safe to remove XStream annotations from velocity templates?

2016-06-29 Thread raffi
We're using Camel Salesforce Maven plugin for generating DTOs. Services using the DTOs use JSON exclusively, no XML, so we customized velocity templates with JsonProperty(), JsonInclude, etc., annotations; works great with Jackson. My question: is it safe to remove XStream annotations from the temp

good or bad practice to implement a custom GenericFileProcessStrategy?

2016-06-29 Thread sfbayperson2016
Hi, is this good or bad? I'm going to implement a custom GenericFileProcessStrategy for an SFTP "from" endpoint. The custom strategy's GenericFileProcessStrategy.begin() is going to check if the node is the master of the cluster and if not, abort processing. This is to work around the SFTP endpoint

Re: Moving Objects from one bucket to another in Amazon S3

2016-06-29 Thread Debraj Manna
Created the below JIRA:- https://issues.apache.org/jira/browse/CAMEL-10100 On Wed, Jun 29, 2016 at 7:24 PM, Andrea Cosentino < ancosen1...@yahoo.com.invalid> wrote: > Looking at the code there are no references to copyObject method from AWS > S3 Client. > > You can raise a JIRA for a new feature

Re: Moving Objects from one bucket to another in Amazon S3

2016-06-29 Thread Andrea Cosentino
Looking at the code there are no references to copyObject method from AWS S3 Client. You can raise a JIRA for a new feature. -- Andrea Cosentino -- Apache Camel PMC Member Apache Karaf Committer Apache Servicemix Committer Email: ancosen1...@yahoo.com Twitter: @o

Moving Objects from one bucket to another in Amazon S3

2016-06-29 Thread Debraj Manna
Hi Can some one please let me know how can I move objects from one S3 bucket to another via aws-s3. I could not find the relevant thing in the documentation . Basically I want to do what copyObject

Re: v2.12.3 - Simple Expression - Logical Operators in XML

2016-06-29 Thread daelliott1234
I figured as much but didn't know what the developers had in mind long term. Escaping is just ugly but want to make sure what I am doing will work going forward if a newer version is used. Hope they keep "and" and "or" for XML going forward. -- View this message in context: http://camel.465

Re: Recipient list and aggregation when some destinations are unreachable?

2016-06-29 Thread Claus Ibsen
Hi No its better to use the built-in timeouts you have from the JMS component (such as request timeout if doing request/reply) and the JMS clients such as from ActiveMQ etc. Then you should not need to use the timeout setting from receipinent list which is a fallback way and in this situation adds

Re: failing move to processed, processing over and over again

2016-06-29 Thread souciance
Hello, I think it is a bit hard because these are probably IO exceptions and I am not sure they pop up to the "camel layer". You can try to add an OnException on the route to trigger on IOExceptions and see if it catches the exception when the move fails. If it does then you can try to then move

RE: failing move to processed, processing over and over again

2016-06-29 Thread Hans Orbaan
Hi, I did not see Camel trying to move the files to the failed folder when a move to the processed folder has failed. Of course I could move them myself/manually but we had sudden permission issues on those folders at night when no one was looking. Also I think our error handler did not get tr

Re: failing move to processed, processing over and over again

2016-06-29 Thread Claus Ibsen
You can move the failed files to an error folder. But you need to think generally about error handling and how you want to deal with that. On Wed, Jun 29, 2016 at 11:43 AM, Hans Orbaan wrote: > Hi All, > > When a file has been processed correctly, it can be moved to a processed > folder (?move

Re: moving files to dynamically created subfolders

2016-06-29 Thread gringo512
It works perfectly! Thanks for help -- View this message in context: http://camel.465427.n5.nabble.com/moving-files-to-dynamically-created-subfolders-tp5784512p5784542.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: failing move to processed, processing over and over again

2016-06-29 Thread Steve973
Have you tired setting idempotent=true in your file endpoint URI? Check for the "idempotent" option in the "Consumer" section of http://camel.apache.org/file2.html. On Wed, Jun 29, 2016 at 5:43 AM, Hans Orbaan wrote: > Hi All, > > When a file has been processed correctly, it can be moved to a pr

failing move to processed, processing over and over again

2016-06-29 Thread Hans Orbaan
Hi All, When a file has been processed correctly, it can be moved to a processed folder (?move=processed). If this move fails, files will be processed over and over again. Is there something that can be done about this? A solution in Camel could be to automatically start using the idempotent re

Combining TimeoutAwareAggregationStrategy and AbstractListAggregationStrategy

2016-06-29 Thread Steve973
Is it possible to combine TimeoutAwareAggregationStrategy and AbstractListAggregationStrategy into a hybrid of the two? Or will I need to only implement TimeoutAwareAggregationStrategy and add the list aggregation behavior? Thanks, Steve

Seda component when used in route involving file moving from one folder to another,the files are missing while moving

2016-06-29 Thread Pallavi G S
Below is the route: When i process files , from file conumer named "zipFolder" all the files are getting copied to the producer "anotherFolder". After picking from "zipFolder" the files are getting moved to .Success or .Err

understand the work with thread pools

2016-06-29 Thread alexey-s
Please help to understand the work with thread pools. System Log The first 2 lines are clear. I do not understand the last line. The process is not performed in the thread pool, while the main stream. Regards, Alexey. -- View this message in context: http://camel.465427.n5.nabble.com/under