Scenario:
I split a csv file. A record in this file can consist of several lines. I
therefore use an aggregator to concatenate lines until i have a complete
record and then flush by setting:
exchangeProperty(AGGREGATION_COMPLETE_CURRENT_GROUP, True)
This works fine, but sadly it also causes every
I get no exception when building this:
.toD("file://" + outputDirectory + File.separator +
"?fileExist=Append&charset=$(header.inputFileEncoding)");
The code only breaks when i try to write to the file due to
NoSuchFileException.
I would have expected to get a camel.FailedToCreateRouteException
Thank you for pointing out my stupid mistake
--
View this message in context:
http://camel.465427.n5.nabble.com/dynamic-endpoint-with-dynamic-encoding-tp5790768p5790793.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I am hoping to pass the encoding dynamically to a file component. Basically I
need to store an error record in a file with the same encoding as the
inputfile (encoding is changed during processing). The original encoding is
stored in a header called inputFileEncoding here what i have tried:
1)
.re
I have a scenario where i am parsing a large csv file that contains a lot of
orderrows. I process each orderrow individually in different steps and then
use an aggregator to collect all orderows for a given order. The problem is
that during the processing an exception can occur which will move the
ed the value to something like
attributeList:
registry.put("attributeList", Collections.singletonList("All"));
aws-sqs://product-scraper-file-list?amazonSQSClient=%23amazonSQSClient&attributeNames=attributeList&deleteAfterRead=false&maxMessagesPerPoll=1&visibilityTimeout=20
https://issues.apache.org/jira/browse/CAMEL-4106
>
> On Wed, Jun 15, 2011 at 11:43 AM, Claus Ibsen wrote:
>> On Tue, Jun 14, 2011 at 9:18 PM, Morten Holm wrote:
>>> On Tue, Jun 14, 2011 at 6:13 PM, Claus Ibsen wrote:
>>>
>>>> On Tue, Jun 1
On Tue, Jun 14, 2011 at 6:13 PM, Claus Ibsen wrote:
> On Tue, Jun 14, 2011 at 5:08 PM, Morten Holm wrote:
> > Hi
> >
> > Redelivery is not disabled when maximumRedeliveries is set to 0. I
> experience that one redelivery is always attempted.
> >
> &g
return true;
}
// redeliver until we hit the max
return redeliveryCounter <= getMaximumRedeliveries();
}
Am I doing something wrong ? Are there some properties that I have to set ?
-- camel version: 2.7.1
--
Morten Holm
Developer
Voice: +45 31 18 91 08
Skype: morten.
Thank you very much Claus!
Got it working now.
--
View this message in context:
http://camel.465427.n5.nabble.com/onException-and-process-tp2740331p2796799.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Well, what I really want to do is something along the lines of editing the
body, to include both the original content, as well as info on the
exception, along the lines of:
public void process(Exchange exchange) {
Message in = exchange.getIn();
Exception ex = exchange.getException();
in.
Sorry, by http-endpoint I meant an smtp-endpoint, not that it matters much to
my problem, but it might cause some confusement as to what I'm trying to do.
--
View this message in context:
http://camel.465427.n5.nabble.com/onException-and-process-tp2740331p2740337.html
Sent from the Camel - Users
Hi,
I'm having a problem using a .process inside my onException handling. I
enter the Processor just fine, but exiting it, causes the original exception
to be thrown.
What I want to do is basicly;
onException(ExceptionType.class)
.useOriginalBody()
.handled(true)
.setHeader("subject", constant(
to whether there's any known FTP DELE issues from
win 2003.
Thank you for the help, and the push in the right direction!
Sincerely,
Morten Engel
--
View this message in context:
http://camel.465427.n5.nabble.com/Problems-deleting-or-moving-files-from-FTP-source-tp911101p1044758.html
Sent
Oh, I should probably add, that it seems the files are being referenced to
the same way on RETR and DELE, an example of a RETR line (which works fine)
is :
305 27.250223 192.168.98.84 195.215.57.203 FTP Request: RETR
Export/test3.txt
I'm guessing it's not a question of relative/
what this can be caused by, or would
like additional information, I'd appreciate hearing from you.
Sincerely,
Morten Engel
--
View this message in context:
http://camel.465427.n5.nabble.com/Problems-deleting-or-moving-files-from-FTP-source-tp911101p1044751.html
Sent from the Camel - Users mailing list archive at Nabble.com.
This resulted in the exact same log pattern on my side, except the 4 lines
below missing:
11:47:49,906 | TRACE | 0: FtpComponent | GenericFileProducer |
mponent.file.GenericFileProducer 69 | Processing Exchange[Message:
GenericFile[test3.txt]]
11:47:49,906 | TRACE | 0: FtpCompone
why the delete messages are not showing up remotely?
Thank you,
Morten Engel
--
View this message in context:
http://camel.465427.n5.nabble.com/Problems-deleting-or-moving-files-from-FTP-source-tp911101p1044664.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I better add, that it's not a user restriction problem, as I can add, change
and delete files as much as I want, through other means, using the same
credentials.
I've also tried exactly the same on another FTP server with the exact same
result.
--
View this message in context:
http://camel.4654
19 matches
Mail list logo