Re: File component : file don't move

2009-02-12 Thread Claus Ibsen
Hi What version of Camel are you using? Does this error happens all the time with the JMS TX manager? Do you mind creating a small sample as a .zip file, then I would like to take a look.? The Java IO API in Java is quite terrible when it comes to error information as the rename operations just

Re: DSL and XPath

2009-02-12 Thread Claus Ibsen
On Fri, Feb 13, 2009 at 12:05 AM, Ashwin Karpe wrote: > > Hi, > > If you have properties set in the header part of the exchange, then instead > of using XPath, you should try out the following > > from("seda:test") >.choice() >.when

Re: Camel, openmq and tomcat: hangup on shutdown?

2009-02-12 Thread Ashwin Karpe
Hi, You might want to add some transport options to the client<-->broker connection such as connectionTimeout, soTimeout etc. While I am not sure which option or combination may specifically alleviate this issue, it should address the issue related to keepalives and socket connection. Check out

Re: Fuse Packages

2009-02-12 Thread Ashwin Karpe
Hi, It is true that a CamelContext can be embedded in ActiveMQ (after all it was considered a subproject of ActiveMQ) until a couple of weeks ago. However Camel can exist standalone, be embedded inside another Java application of be instantiated via Spring in a Spring based environment. At the e

Re: DSL and XPath

2009-02-12 Thread Ashwin Karpe
Hi, If you have properties set in the header part of the exchange, then instead of using XPath, you should try out the following from("seda:test") .choice() .when().simple("in.header.op = 'out'").to("stream:out")

File component : file don't move

2009-02-12 Thread pevgen
Hello. sometimes, but not each time, I got Exceptions : org.apache.camel.component.file.filecompon...@37165f] ERROR org.apache.camel.component.file.FileConsumer - Can not rename file from: C:\Temp\amqtest\in\1.txt to: C:\Temp\amqtest\in\.camel\1.txt java.io.IOException: Can not rename file fro

Re: content router question

2009-02-12 Thread pevgen
janstey, thank you, too :) In your case, i have to write methoths for each value. But, for example, if i configure my conditions from DB, it's impossible. Thanks Evgeny janstey wrote: > > Hmmm looks like my response to this question didn't make it to the old > mail list. I sent to users@ca

Re: What jar is ca.uhn.hl7v2.parser.Parser in?

2009-02-12 Thread Willem Jiang
Yes, it is important to support load the camel component dynamically. Maybe we need to change the META-INF files to put the schema, language, typeconverts into the component files. Willem Claus Ibsen wrote: > On Thu, Feb 12, 2009 at 7:19 AM, Willem Jiang wrote: >> How about just loading the conv

Re: What jar is ca.uhn.hl7v2.parser.Parser in?

2009-02-12 Thread Claus Ibsen
On Thu, Feb 12, 2009 at 7:19 AM, Willem Jiang wrote: > How about just loading the converter when the component is load? > Since the component is loaded when the camel context need it, it will > help us to avoid the annoying class load error. I assume he gets this issue since he just adds all the c