HTTP responses time out

2014-11-28 Thread Gustav Sinder
Hi, We've got an issue with some responses never being returned back to the HTTP client, making it time out. It seems to depend on the length of the response returned from transformCanonicalToResponse(). A payload of ~1 characters is returned ok but ~3 characters are never returned. It'

RE: HTTP responses time out

2014-12-03 Thread Gustav Sinder
completed.. /Gustav -Original Message- From: Gustav Sinder [mailto:gustav.sin...@ferrologic.se] Sent: den 28 november 2014 10:29 To: users@camel.apache.org Subject: HTTP responses time out Hi, We've got an issue with some responses never being returned back to the HTTP client, m

RE: HTTP responses time out

2014-12-03 Thread Gustav Sinder
Switched to Jetty instead of Restlet and it now works just fine. Not sure what the difference in functionality is though.. Regards /Gustav -Original Message- From: Gustav Sinder Sent: den 3 december 2014 10:05 To: users@camel.apache.org Subject: RE: HTTP responses time out Hi again

Getting list of contexts or getting context by name

2015-04-15 Thread Gustav Sinder
Hi, I'm working on a solution where I dynamically setup/remove routes based on external configuration. So far so good, it works good, a manager route handles this just good. A thought would be to place the dynamic routes in another context. I can create new contexts from within the Java without

RE: Getting list of contexts or getting context by name

2015-04-21 Thread Gustav Sinder
tes in the same CamelContext, unless you don’t want them talk to each other.  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On April 15, 2015 at 9:38:42 PM, Gus

Moving failed files on FTP server

2015-06-16 Thread Gustav Sinder
I guess I could have another FTP adapter in an error handler issue a siteCommand to move the file to a subfolder. How have you / would you have solved this? Thanks Gustav Sinder

RE: Moving failed files on FTP server

2015-06-16 Thread Gustav Sinder
Thanks! Seems I missed the documentation paragraph clearly saying "See File for more options as all the options from File is inherited" :/ Med vänlig hälsning / Kind regards Gustav Sinder Ferrologic AB    Mobile: +46 706 61 81 51 -Original Message- From: Claus Ibsen [mailt

Unmarshalling serialization fails with ClassNotFoundException

2015-06-17 Thread Gustav Sinder
Hi, I'm working on converting a flow (consists of 2 camel contexts) to use Amazon SQS instead of ActiveMQ (which worked just fine). Setup: File -> Camel context 1 -> AWS SQS -> Camel context 2 -> Databsae Connectivity isn't an issue but I need to marshal/unmarshal the messages using base64 sinc

RE: Unmarshalling serialization fails with ClassNotFoundException

2015-06-23 Thread Gustav Sinder
: And the other way around in the second route. Thanks Gustav Sinder -Original Message- From: Gustav Sinder [mailto:gustav.sin...@ferrologic.se] Sent: den 17 juni 2015 09:46 To: users@camel.apache.org Subject: Unmarshalling serialization fails with ClassNotFoundException Hi, I&#

Wrong charset when using FTP2 component, locale issue?

2015-07-02 Thread Gustav Sinder
Hi, I've got an issue with files being parsed differently in different environments...specifically handling Swedish characters. The ftp endpoint is configured with: - charset=iso-8859-1 (matches file format) - binary=true For debug purposes, I'm writing the data (in UTF-8) f

RE: Wrong charset when using FTP2 component, locale issue?

2015-07-02 Thread Gustav Sinder
looks correct after the convertBodyTo but doesn't look ok after the tokenizer statement. Is the tokenizer doing anything here that I should be aware of? Thanks /Gustav -Original Message----- From: Gustav Sinder [mailto:gustav.sin...@ferrologic.se] Sent: den 2 juli 2015 09:57

RE: Wrong charset when using FTP2 component, locale issue?

2015-07-03 Thread Gustav Sinder
Hi Steve, Thanks, I didn't know this actually. Does it seem like a bug for which a ticket should be logged? My ideas to try to solve this: - Change the locale in the Docker image we use - If that doesn't work, implement a custom processor that does the splitting Thanks /Gustav -Original Me

Absolute path when moving done/error files on FTP server

2015-09-09 Thread Gustav Sinder
Hi, I've got an issue with the ftp2/file2 component when fetching files from a remote FTP server and trying to move the handled files to a done subfolder. Camel reports: org.apache.camel.component.file.GenericFileOperationFailedException: File operation failed: Connection c

RE: Absolute path when moving done/error files on FTP server

2015-09-09 Thread Gustav Sinder
I should have added that the Camel version we use is 2.15 Med vänlig hälsning / Kind regards Gustav Sinder -Original Message- From: Gustav Sinder [mailto:gustav.sin...@ferrologic.se] Sent: den 9 september 2015 17:54 To: users@camel.apache.org Subject: Absolute path when moving done

RE: Wrong charset when using FTP2 component, locale issue?

2015-09-22 Thread Gustav Sinder
Finally found a solution to this by using the same charset (iso-8859-1) for convertBodyTo as for the ftp endpoint, i.e: Kind regards /Gustav -Original Message- From: Gustav Sinder [mailto:gustav.sin...@ferrologic.se] Sent: den 2 juli 2015 13:48 To: users@camel.apache.org Subject: RE

RE: Absolute path when moving done/error files on FTP server

2015-09-22 Thread Gustav Sinder
The simple solution for me was to use subfolders instead of the root. Still feels like a bug though. Kind regards /Gustav -Original Message- From: Gustav Sinder [mailto:gustav.sin...@ferrologic.se] Sent: den 9 september 2015 18:00 To: users@camel.apache.org Subject: RE: Absolute path

Characters getting escaped when read from properties file

2015-11-02 Thread Gustav Sinder
Hi, I've got a password in a properties file configured as (simplified): password=H+r/GbP8 The properties file is refered to in the blueprint as: The property is used for a bean with: The password is read from the file but as "H+r%2FGbP8" (encoded) How could I get the literal value from the

RE: Characters getting escaped when read from properties file

2015-11-03 Thread Gustav Sinder
: http://camel.apache.org/configuring-camel.html With kind regards -Oorspronkelijk bericht- Van: Gustav Sinder [mailto:gustav.sin...@ferrologic.se] Verzonden: Monday 2 November 2015 14:46 Aan: users@camel.apache.org Onderwerp: Characters getting escaped when read from properties file Hi