Character Encoding problem

2011-01-24 Thread Laurentiu Trica
;) are incorrectly written. I made a manual conversion of the input stream to "UTF-8" before the actual smooks conversion but the result it's still wrong. Can you help me? Is there any setting about character encoding in camel? -- Laurentiu Trica Software Developer

Re: Character Encoding problem

2011-01-26 Thread Laurentiu Trica
wrote: > Salut, > > We may if you give us more info about your route, configuration and a > sample message. > Putting together a small unit test would be ideal. > > Cheers, > Hadrian > > > On Jan 24, 2011, at 10:52 AM, Laurentiu Trica wrote: > > > Hi, >

Best practice when choosing configuration between test and production server

2011-03-09 Thread Laurentiu Trica
. And this is a stopper for automatic testing my application. Any piece of information is welcomed! Thank you. -- Laurentiu Trica Software Developer Mobile: (+40) 722 329318 S.C MoreDevs S.R.L. Email: laurentiu.tr...@finalfolder.biz This message can contain privileg

Accord Odette FTP Camel Component

2013-10-31 Thread Laurentiu Trica
Hello, I need to use the Accord Odette FTP Camel Component to connect to an OFTP2 endpoint. Can you please help me use this component in conjunction with servicemix-4.5.0.fuse-70-084? Where should I add the dependencies I found on the above page? http://accord.ow2.org/odetteftp/camel.html Thank y

Re: Apache Karaf and camel-fop

2014-03-13 Thread Laurentiu Trica
Hello, I'm trying to use Camel FOP component in Servicemix 4.5.3. I manually installed Apache XMLGraphics bundle and Commons.io, but I get this error when deploying a route: 2014-03-13 14:21:36,564 | ERROR | ExtenderThread-6 | ContextLoaderListener | 82 - org.springframework.osgi.exten

Re: Apache Karaf and camel-fop

2014-03-24 Thread Laurentiu Trica
Hello, Nobody used this? Please help me if you can. Regards, Laurentiu On Thu, Mar 13, 2014 at 2:24 PM, Laurentiu Trica < laurentiu.tr...@moredevs.ro> wrote: > Hello, > > I'm trying to use Camel FOP component in Servicemix 4.5.3. > I manually installed Apache XMLGraphic

Re: Apache Karaf and camel-fop

2014-03-26 Thread Laurentiu Trica
lob/master/platforms/karaf/features/src/main/resources/features.xml#L287 > > Regards, > Richard > http://richardlog.com > > > On Mon, Mar 24, 2014 at 3:24 PM, Laurentiu Trica < > laurentiu.tr...@moredevs.ro> wrote: > > > Hello, > > > > Nobody used this? Ple

Odette FTP Camel component

2014-03-26 Thread Laurentiu Trica
Hello, Did anyone use the Odette FTP Camel component? http://accord.ow2.org/odetteftp/camel.html It's official new source repository seems to be on Github: https://github.com/rmarins/accord I'm trying to get it to work with Camel 9 here: https://github.com/tricasoft/accord I have issues sending

Camel doTry

2017-10-17 Thread Laurentiu Trica
Hello, I need your help with error handling in doTry/doCatch. I have to put the doTry in my route and do some stuff if there is an exception, but I also need the exception to be passed along and end up in the logs - I use Camel in Servicemix. Why the bellow example* doesn't work as expected? I me

Re: Camel doTry

2017-10-18 Thread Laurentiu Trica
35 PM, Laurentiu Trica < laurentiu.tr...@moredevs.ro> wrote: > Hello, > > I need your help with error handling in doTry/doCatch. > I have to put the doTry in my route and do some stuff if there is an > exception, but I also need the exception to be passed along and end up in &

Camel FTP producer writing file without listing

2017-10-24 Thread Laurentiu Trica
Hello, I have to write files in a FTP folder that contains thousands of files. Seems that the FTP producer always does a list before writing the file. I use Camel 2.13 Is there a way to avoid getting the files list? It's very time consuming and it often makes the write to fail... I've been tryin

Jetty consumer responds with a 500 error java.io.IOException: Response header too large

2017-12-19 Thread Laurentiu Trica
Hello, I have a problem with the Jetty consumer. I receive a file with an attached file (Multi-Part Form), but if the file is bigger than a few KB, I get the bellow Stack trace. If the file is smaller, everything works fine. The strange part is that for a size of 80KB I still receive the file in

Re: Jetty consumer responds with a 500 error java.io.IOException: Response header too large

2017-12-20 Thread Laurentiu Trica
Camel version: 2.16.3 Thanks! On Tue, Dec 19, 2017 at 6:27 PM, Andrea Cosentino < ancosen1...@yahoo.com.invalid> wrote: > What version of camel are you using? > > Inviato da Yahoo Mail su Android > > Il mar, 19 dic, 2017 alle 16:45, Laurentiu Trica moredevs.ro> ha scri

Camel and Freemarker - ${request} evaluated to null or missing

2021-11-18 Thread Laurentiu Trica
Hello, I've been using Camel 2.16 with Freemarker 2.3.23.stable on Karaf 4.0.4 for a long time now. I'm switching to Camel 2.25.4 with Freemarker 2.3.31.stable on Karaf 4.3.3 now. The problem is that something that worked without problems with the old setup is now not working. When I have somethi

Re: Camel and Freemarker - ${request} evaluated to null or missing

2021-11-22 Thread Laurentiu Trica
a/browse/CAMEL-15050 Thanks for helping on the chat! Regards, Laurentiu On Thu, Nov 18, 2021 at 3:45 PM Laurentiu Trica wrote: > Hello, > > I've been using Camel 2.16 with Freemarker 2.3.23.stable on Karaf 4.0.4 > for a long time now. > I'm switching to Camel 2.25.4 with

Camel Kafka connector can't consume from cluster if one broker is down

2022-03-28 Thread Laurentiu Trica
Hi, I'm using Camel 2.54 in Karaf 4.3.6 and producing/consuming messages to/from a Kafka cluster with 3 brokers. I've tested shutting down a broker to see if the producing/consuming continues and found out that it's not the case. Camel *can still send messages to Kafka* (after setting the retries

Re: Camel Kafka connector can't consume from cluster if one broker is down

2022-03-29 Thread Laurentiu Trica
Hi all, This proved not to be a Camel issue, the Kafka cluster had some unknown issues, after remaking it, the routes were able to also consume from the topics even when a broker was down. Regards, Laurentiu On Mon, Mar 28, 2022 at 3:11 PM Laurentiu Trica wrote: > Hi, > > I'm us

HTTP with Jetty as consumer with Client Cert Authenticator

2013-04-17 Thread Laurentiu Trica
Hi, I need to use jetty as HTTP consumer with Client Cert Authenticator. In other words, the client should be authenticated by a certificate, not the Basic method. How could I do this? Any help is very appreciated! Thank you in advance, Laurentiu

Re: HTTP with Jetty as consumer with Client Cert Authenticator

2013-04-18 Thread Laurentiu Trica
ientParameters); > } > > @Test > public void testFindAccounts() { > XXXResponse response = port.findXXX(new XXXRequest()); > > assertXXX(response); > } > } > > Best, > Christian > > > On Wed, Apr 17, 2013 at 2:03 PM, Laure

Re: CAMEL and WebDAV ?

2013-04-24 Thread Laurentiu Trica
Hi, Did you start working on this issue? I might be interested in it, too. Regards, Laurentiu On Thu, Mar 14, 2013 at 9:32 PM, moxximus wrote: > Was this camel-sardine component ever completed? If not, could you pass my > contact info on to the community member who was developing the componen

Camel-freemarker deletes Attachments from Exchange

2012-08-09 Thread Laurentiu Trica
Hello, I have a problem with Camel 2.6 when a camel-freemarker deletes the attachments from the Exchange. Is this a known issue? Can I overcome it? Many thanks! Best regards, Laurentiu Trica

Camel Mail with attachment problem

2011-04-14 Thread Laurentiu Trica
attachment, if this makes any difference, but I tested the "conversion" and nothing disappears in there because using Servicemix Mail does the trick... Has anyone any idea about this? -- Laurentiu Trica Software Developer Mobile: (+40) 722 329318 S.C MoreDevs S.R.L.

Re: Camel Mail with attachment problem

2011-04-22 Thread Laurentiu Trica
Hi, > > How do you setup the attachment? > I don't think converting the message body into attachment will lost the > date. > > > > On 4/14/11 10:08 PM, Laurentiu Trica wrote: > >> Hello, >> >> I have a problem using Camel Mail. I can get emails with attachmen

Re: Camel Mail with attachment problem

2011-04-27 Thread Laurentiu Trica
n Fri, Apr 22, 2011 at 5:01 PM, Willem Jiang wrote: > The code looks good to me. > Can you check if the stream is right? > Can you dump the stream to see if it is truncated? > > Willem > > > On 4/22/11 9:10 PM, Laurentiu Trica wrote: > >> Hello, >

Limitations or bug on FTP2 with FTPS

2011-05-05 Thread Laurentiu Trica
figure out a way to understand and fix this problem. Thank you! -- Laurentiu Trica

Re: Limitations or bug on FTP2 with FTPS

2011-05-11 Thread Laurentiu Trica
log.trace("preWriteCheck send noop success: {}", noop); > > If its not a success, it would try to re-connect. > > Can you check what the NOOP log is for you? > > > > On Thu, May 5, 2011 at 12:31 PM, Laurentiu Trica > wrote: > > Hello, > > >

Camel FTP poller issue

2011-05-12 Thread Laurentiu Trica
g written to the FTP account. I know that the readLock option should work on the FTP if used with the rename strategy but this seems not to work. Had any of you similar problems? I'll provide some logging as soon as possible. Thank you for your time, Laurentiu Trica

Re: Camel FTP poller issue

2011-05-20 Thread Laurentiu Trica
D failed. "/in/in": directory not found. (002068)5/20/2011 12:47:11 PM - sftp-test (192.168.0.194)> PWD (002068)5/20/2011 12:47:11 PM - sftp-test (192.168.0.194)> 257 "/in" is current directory. (002068)5/20/2011 12:47:11 PM - sftp-test (192.168.0.194)> CWD in (002068)5/

FTP2 Component fails to process multiple files at once

2011-05-20 Thread Laurentiu Trica
lookxiepan3nkjyu41a A workaround that seems to work is to use the maxMessagesPerPoll=1 option... Anyone has the same problem? Can this be fixed? Thank you for your time. Enjoy the weekend! Laurentiu Trica

Re: FTP2 Component fails to process multiple files at once

2011-05-23 Thread Laurentiu Trica
Hello again, Anyone had this issue before? Is it a bug in Camel FTP or it's just the way it is supposed to work? On Fri, May 20, 2011 at 6:00 PM, Laurentiu Trica < laurentiu.tr...@finalfolder.biz> wrote: > Hello, > > I've been struggling to solve a situation in w

Is there any good readLock for Camel FTP?

2011-05-23 Thread Laurentiu Trica
I tried the rename option but it doesn't seem to work...

Re: FTP2 Component fails to process multiple files at once

2011-05-24 Thread Laurentiu Trica
gt; concurrent > producer test. > > Can you post your test? > > [1]https://issues.apache.org/jira/browse/CAMEL-1641 > > > On Mon, May 23, 2011 at 11:12 AM, Laurentiu Trica < > laurentiu.tr...@finalfolder.biz> wrote: > > > Hello again, > > > > Any

Re: FTP2 Component fails to process multiple files at once

2011-05-24 Thread Laurentiu Trica
Hello, I added a bug on JIRA: https://issues.apache.org/jira/browse/CAMEL-4010 I think the problem only occurs when the path to FTP includes a folder - this means your files are not on the root of the FTP account. On Tue, May 24, 2011 at 1:32 PM, Laurentiu Trica < laurentiu

Re: FTP2 Component fails to process multiple files at once

2011-05-25 Thread Laurentiu Trica
need a public server, and you can change the endpoint to > anything you like. > It just makes it easier to see if there's something in the configuration or > to simulate the issue. > You can attach it to the ticket you created since it's there already. > > Taariq > &g

Re: FTP2 Component fails to process multiple files at once

2011-05-26 Thread Laurentiu Trica
RS-OUT?synchronous=true"; /> Is this ok? On Thu, May 26, 2011 at 3:17 AM, Claus Ibsen wrote: > Try setting the nmr to synchronous so the ftp consumer does its on > completion in the same thread context > > On Wednesday, May 25, 2011, Laurentiu Trica > wr

Custom exclusiveReadLockStrategy in Servicemix + Camel

2011-06-23 Thread Laurentiu Trica
Hi everyone, I have a problem using the exclusiveReadLockStrategy for Ftp2 component. I implemented the GenericFileExclusiveReadLockStrategy interface in my class and imported the bean in the DSL and then specified the exclusiveReadLockStrategy=#mybean on the FTP component URI (like I saw here: ht

Re: Custom exclusiveReadLockStrategy in Servicemix + Camel

2011-06-24 Thread Laurentiu Trica
Hello, I tried using the same version but it doesn't work either. Any other ideas? On Thu, Jun 23, 2011 at 4:28 PM, Jon Anstey wrote: > Are you using the same exact version of Camel in your pom.xml and SMX > install? > > On Thu, Jun 23, 2011 at 2:15 PM, Laurentiu Trica

Re: Custom exclusiveReadLockStrategy in Servicemix + Camel

2011-06-28 Thread Laurentiu Trica
s I have > seen this issue in the past fixed in a recent SMX release. > Albeit I think that issue was not with JBI but using just OSGi bundles. > > > On Thu, Jun 23, 2011 at 3:15 PM, Laurentiu Trica > wrote: > > Hi everyone, > > > > I have a problem using the

Re: Custom exclusiveReadLockStrategy in Servicemix + Camel

2011-06-29 Thread Laurentiu Trica
ftp I added two strategy factories (one for FTP/FTPS and one for SFTP) and two changed strategies. I just need to add this to my existing 2.6.0-fuse-01-09 Camel. Thanks in advance On Wed, Jun 29, 2011 at 11:57 AM, Claus Ibsen wrote: > On Tue, Jun 28, 2011 at 3:08 PM, Laurentiu Tric

Re: Custom exclusiveReadLockStrategy in Servicemix + Camel

2011-06-29 Thread Laurentiu Trica
cense to apache when attaching files. > > > > On Wed, Jun 29, 2011 at 12:21 PM, Laurentiu Trica > wrote: > > Hi, > > > > What do you mean by not using JBI? > > I'm not explicitly using JBI... > > > > On the other hand, in the meanwhile I wrote

Re: Custom exclusiveReadLockStrategy in Servicemix + Camel

2011-06-29 Thread Laurentiu Trica
t to use a specific version from my own repository? Sorry if I'm nagging but I really need this piece of info. Thank you. On Wed, Jun 29, 2011 at 3:50 PM, Claus Ibsen wrote: > On Wed, Jun 29, 2011 at 2:30 PM, Laurentiu Trica > wrote: > > Hi Claus, > > > > I atta

ServiceMix 4.3.1 and Camel 2.8-SNAPSHOT

2011-07-05 Thread Laurentiu Trica
Hi I tried to use Camel 2.8-SNAPSHOT in ServiceMix 4.3.1 and I get this error when starting the bundle: Error executing command: The activator org.apache.camel.impl.osgi.Activator for bundle org.apache.camel.camel-core is invalid I saw the Activator class was modified a few times, is there a poss

Re: ServiceMix 4.3.1 and Camel 2.8-SNAPSHOT

2011-07-06 Thread Laurentiu Trica
> - > -- > View this message in context: > http://camel.465427.n5.nabble.com/ServiceMix-4-3-1-and-Camel-2-8-SNAPSHOT-tp4553864p4554656.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --

Re: ServiceMix 4.3.1 and Camel 2.8-SNAPSHOT

2011-07-06 Thread Laurentiu Trica
nd build nmr and features, which will generate a > servicemix 4.4 snapshot for you. > > Btw, we should use slf4j from OPS4J Pax Logging bundle so you needn't > install slf4j bundle yourself. > > Freeman > > On 2011-7-6, at 下午4:02, Laurentiu Trica wrote: > > Hi, >

Re: ServiceMix 4.3.1 and Camel 2.8-SNAPSHOT

2011-07-06 Thread Laurentiu Trica
>>> >>> As next Servciemix 4.4 release will use camel 2.8, so the most simple way >>> I >>> can come up with is you change the camel version(2.8-SNAPSHOT) used in >>> servicemix4 nmr project and build nmr and features, which will generate a >>>

Semaphore / done files problem

2011-08-31 Thread Laurentiu Trica
delete=true (without move=.archive) then the problem is that for some files, the semaphore files (.sem) are left in the root after the file is processed and deleted. Do you guys have any idea why this is happening? Regards, Laurentiu Trica

Special sFTP endpoint not working with camel-ftp

2011-10-20 Thread Laurentiu Trica
idea what could go wrong? -- Laurentiu Trica 18:26:04,840 | INFO | DDPDD-OUT-thread-2 | SftpOperations | 199 - org.apache.camel.camel-ftp - 2.6.0.fuse-01-09 | JSCH -> Remote version string: SSH-2.0-GXSSSHD_Comments 18:26:04,841 | INFO | DDPDD-OUT-thread-2 | SftpOperat

Try/catch problem

2012-02-15 Thread Laurentiu Trica
route is working nicely... Thank you in advance, Laurentiu Trica

Re: Try/catch problem

2012-02-16 Thread Laurentiu Trica
Hi Claus, Thanks for the tip, I added osgi:org.milyn.smooks.osgi in my camel context and now it works! Regards, Laurentiu Trica On Thu, Feb 16, 2012 at 8:39 AM, Claus Ibsen wrote: > Hi > > Just to be sure you have this class on the classpath? > org.milyn.SmooksException &g

Multiple File/FTP consumer excludes in Spring DSL

2012-03-23 Thread Laurentiu Trica
only option I have? I would like to keep the route as clean and reusable as possible... Thanks in advance, Laurentiu Trica

Jetty as consumer in synchronous mode?

2012-04-03 Thread Laurentiu Trica
Hello, I need to have Jetty working in synchronous mode. How can I do that? I tried using the next options but it doesn't seem to work: http://0.0.0.0:9191/logsol/?sessionSupport=true&useContinuation=false"; /> I thought useContinuation=false would help but it seems it doesn't. On my machine it w

Re: Jetty as consumer in synchronous mode?

2012-04-12 Thread Laurentiu Trica
to be synchronous, using > synchronous=true. > > See: http://camel.apache.org/asynchronous-routing-engine.html > > > On Tue, Apr 3, 2012 at 9:50 AM, Laurentiu Trica > wrote: > > Hello, > > > > I need to have Jetty working in synchronous mode. > > How can I do

Re: Idempotent SFTP route

2017-02-09 Thread Laurentiu Trica
ent from the Camel - Users mailing list archive at Nabble.com. > -- Laurentiu Trica Software Developer Mobile: (+40) 722 329318 S.C MoreDevs S.R.L. Email: laurentiu.tr...@moredevs.ro This message can contain privileged or confidential information and it is intended only for

Camel Mail sends the same email twice

2017-05-23 Thread Laurentiu Trica
Hello, I have an issue with Camel Mail in Camel 2.13. It sends the email twice. The DSL is bellow: exam...@mail.com b...@mail.com Test Test What can it be? The fact

Re: Camel Mail sends the same email twice

2017-05-23 Thread Laurentiu Trica
Hi, The route is a ripped of version of a more complex one. But what can influence the Camel Mail to send the email twice? Do you have any idea? Thanks! Laurentiu On Tue, May 23, 2017 at 12:08 PM, raja wrote: > Hi, > The Route is working fine.when executing the Route I received the mail >

Camel Fop - add images to PDF

2015-05-07 Thread Laurentiu Trica
Hello, I need to produce some PDF files with images. Is there a way to get the images from the classpath? I am using Camel from ServiceMix and I deploy my route using jars that already contain the images I need. How can I get make camel-fop to get the images from my jar and not from a relative/a

Re: Camel Fop - add images to PDF

2015-05-15 Thread Laurentiu Trica
is I wonder if camel-fop or apache fop has some api to > add some uri resolver or something so we can hook in and load those > images from the classpath. Camel has a ClassResolver API that can load > from classpath. > > > On Thu, May 7, 2015 at 4:51 PM, Laurentiu Trica > wro

FTP producer - prevent from listing the destination folder

2016-01-22 Thread Laurentiu Trica
Hello, I'm using Camel 2.13 and I have an issue when producing files on a FTP folder with a lot of files. It seems to try to list the content of the folder, despite the fact that I used options to prevent this: fileExist=TryRename tempFileName=... Is this even possible? Thank you in advance! Lau

Re: FTP producer - prevent from listing the destination folder

2016-02-15 Thread Laurentiu Trica
Hello, Can you help me? Anyone? Thanks! Laurentiu On Fri, Jan 22, 2016 at 3:38 PM, Laurentiu Trica < laurentiu.tr...@moredevs.ro> wrote: > Hello, > > I'm using Camel 2.13 and I have an issue when producing files on a FTP > folder with a lot of files. It seems to try to

Re: FTP producer - prevent from listing the destination folder

2016-02-16 Thread Laurentiu Trica
the useList as well. > http://camel.apache.org/ftp2 > > On Mon, Feb 15, 2016 at 2:48 PM, Laurentiu Trica > wrote: > > Hello, > > > > Can you help me? Anyone? > > > > Thanks! > > Laurentiu > > > > On Fri, Jan 22, 2016 at 3:38 PM, Laurentiu

PDF/A files using Camel FOP component

2016-03-29 Thread Laurentiu Trica
Hello, I need to generate PDF/A files using Camel FOP component. I don't see anything about the PDF/A standard in the documentation: http://camel.apache.org/fop.html Can this be done? Apache FOP can do this: https://xmlgraphics.apache.org/fop/1.1/pdfa.html Can I use the CamelFop.Output.Format to

Re: PDF/A files using Camel FOP component

2016-03-30 Thread Laurentiu Trica
PM, Bilgin Ibryam wrote: > Can you try to set the following header and see if it works > > CamelFop.Render.pdf-a-mode: "PDF/A-1b" > > HTH, > B > > > On 29 March 2016 at 09:46, Laurentiu Trica > wrote: > > Hello, > > > > I need to generate P

Re: PDF/A files using Camel FOP component

2016-03-31 Thread Laurentiu Trica
Hello, Do you know any other way to do this? Can the component be updated to include this? Can I use a custom fopFactory for this? This is kind of urgent for me. Regards, Laurentiu On Wed, Mar 30, 2016 at 10:03 AM, Laurentiu Trica < laurentiu.tr...@moredevs.ro> wrote: > Hi Ibryam, &g

Re: PDF/A files using Camel FOP component

2016-03-31 Thread Laurentiu Trica
earch whether its possible with Apache Fop and then > see what may be missing in camel-fop to do this. After all camel-fop > can only do what Apache Fop can do. > > On Thu, Mar 31, 2016 at 2:23 PM, Laurentiu Trica > wrote: > > Hello, > > > > Do you know any o

Re: PDF/A files using Camel FOP component

2016-04-14 Thread Laurentiu Trica
gent.getRendererOptions() (in Camel that will > be with CamelFop.RendererOptions) and some are set as Map to > userAgent.getRendererOptions() (in Camel that is for example through > CamelFop.Encrypt header). > > Can you try Camel master and let me know whether it works for you or not > pleas

Re: PDF/A files using Camel FOP component

2016-04-14 Thread Laurentiu Trica
n Thu, Apr 14, 2016 at 1:02 PM, Bilgin Ibryam wrote: > Is that related my change in the component? How would you pass the > fonts in a non-osgi environment? > > On 14 April 2016 at 08:03, Laurentiu Trica > wrote: > > Hi Bilgin, > > > > Thank you, sorry for the l