Re: How does Camel work with ActiveMQ ?

2010-01-29 Thread BenXS
Ok, so I leave the active and specified as camelContext in camel.xml in activemq config dir: http://camel.apache.org/schema/spring";> org.foo.bar In order to duplicate all incoming JMS msgs and put their clone into another queue myqueue555 on the same MessageBroker. Unfortu

Re: recipientList + AggregationStrategy

2010-01-29 Thread mcrive
Hi Claus, having a way to retrieve transfer time to an endpoint (FTP mostly) is key feature of the application I am writing (as a part of a bigger software system). You told me I should consider consultancy, can you give me any direction? Who should I contact? mcrive wrote: > > If you need to h

Re: How does Camel work with ActiveMQ ?

2010-01-29 Thread Claus Ibsen
On Fri, Jan 29, 2010 at 11:32 AM, BenXS wrote: > > Ok, so I leave the active and specified as camelContext in camel.xml > in activemq config dir: > > http://camel.apache.org/schema/spring";> > >  org.foo.bar >   >   >   >   >   > > > In order to duplicate all incoming JMS msgs and put their clo

Re: Aggregator's not returning combined exchanges, only returns last exchange

2010-01-29 Thread lekkie
Quite sorry for the trouble. It seems AggregatorStrategy might be the wrong EIP to use for my business case. I ran your sample and I just edited it to adapt it, and I am still not getting desired result. Here is what I'd like to achieve: Client Request -> remote WebService 1 -> remote webservi

Re: How does Camel work with ActiveMQ ?

2010-01-29 Thread BenXS
Ok, thank you. So duplication is not possible with Camel at all? Or is this route command only the wrong way to achieve this? I need simply a way to log all incoming JMS msgs in a certain queue to either - another queue or alternatively - an own xml file The JMS msg should be (beside the loggi

Re: How does Camel work with ActiveMQ ?

2010-01-29 Thread Claus Ibsen
On Fri, Jan 29, 2010 at 12:30 PM, BenXS wrote: > > Ok, thank you. > > So duplication is not possible with Camel at all? > Its the JMS Broker which may or may not offer such a feature to duplicate/log whatever comes into it. If using AMQ then try looking and asking at AMQ user forum. Its just not

Re: recipientList + AggregationStrategy

2010-01-29 Thread Claus Ibsen
On Fri, Jan 29, 2010 at 11:47 AM, mcrive wrote: > > Hi Claus, > having a way to retrieve transfer time to an endpoint (FTP mostly) is key > feature of the application I am writing (as a part of a bigger software > system). There is a lot of stats in JMX, but since you use recipientList you may wa

Re: How to update/remove camel route

2010-01-29 Thread Ricardo Melo
Hi ste, Thank you for the response. I'm developing a system where routes destination endpoint can be added/updated/removed dynamically. A received XML message specifies the operation, a route identifier name and the route destination endpoint address. After this, the camel route from the camel co

Re: recipientList + AggregationStrategy

2010-01-29 Thread mcrive
Hi, the question have been made in this conversation but unfortunately only you are replying me. Maybe I am looking into a very particular thing... It would be great if you can integrate such a feature in 2.2 (as I am already running it) I really appreciate your help, you already fix/enhanced Cam

Re: recipientList + AggregationStrategy

2010-01-29 Thread Claus Ibsen
On Fri, Jan 29, 2010 at 1:06 PM, mcrive wrote: > > Hi, > the question have been made in this conversation but unfortunately only you > are replying me. Well you have not said that you are looking for paid consultancy etc. At the end I also have to draw a line somewhere. My family dont get feed i

JMS InOut issue

2010-01-29 Thread altoro
Hi all, I'm having a problem with an application that was working fine and for some reason, after the reboot of the server, stopped working... This application is on one server that communicates with another server using Camel JMS. I have a server A from which I am sending message on a queue on

Re: Number of failed exchanges not shown in JConsole

2010-01-29 Thread ronP12
Is there anyway I can set an exception when it processes via the DLC? If there is an exception set or the exchange isn't marked as handled, the number failed will increment. willem.jiang wrote: > > I don't find there are any counter in the DeadLetterChannel for counting > the failed exchange.

Re: Camel Route causes Serializable class not available to broker

2010-01-29 Thread SeanOD
Willem - thanks for the reply, Currently we are using the camel 2.0.0 libraries that came bundled with ActiveMQ 5.3 bundle. I have put my message classes in the classpath of ActiveMQ and my routes now work - but I am hoping not to be bound by this dependency. Previously using ActiveMQ 5.2 bundle

ftp with seda problem

2010-01-29 Thread SwenVogel
Hi, i created the following test route: from("ftp://x...@192.168.89.150/test?password=&delete=true&delay=1";) .to("seda:foo?timeout=6&concurrentConsumers=1"); from("seda:foo?timeout=6&concurrentConsumers=1") .to("file:tmp"); When in the FTP folder are multiple files, m

Keeping memory usage in check?

2010-01-29 Thread Kevin Jackson
Hi, We have some large files which we have to process from an FTP server. Currently we have to run camel with -Xmx2048m to allow these files to process without camel failing with an (unreported) OutOfMemory error (which we picked up with -XX:+HeapDumpOnOutOfMemoryError) Reading the documentation

Re: Keeping memory usage in check?

2010-01-29 Thread Claus Ibsen
Hi Use the localWorkDirectory option on the FTP endpoint to stream from FTP directly to files in a local work dir to avoid loading those big files into memory. On Fri, Jan 29, 2010 at 5:08 PM, Kevin Jackson wrote: > Hi, > > We have some large files which we have to process from an FTP server. >

Re: JMS InOut issue

2010-01-29 Thread Claus Ibsen
Hi Get in touch with the JMS broker vendor and if you have support or consultancy contract then use that to get access to people who can help. BTW when writing about a problem then you cant expect people to help if you dont provide more details about the products used, os, versions etc. On Fri

Re: Camel Route causes Serializable class not available to broker

2010-01-29 Thread Claus Ibsen
Hi Post the full stacktrace On Thu, Jan 28, 2010 at 8:15 PM, SeanOD wrote: > > Moving an application from ActiveMQ 5.2 to ActiveMQ 5.3, I am experiencing > some difficulties with a camel route.  The route will only work now if I add > the JMS object message classes to the classpath of ActiveMQ.

Re: How to update/remove camel route

2010-01-29 Thread Stephen Gargan
Ricardo, What you're doing is very possible but you'll need to modify how you are doing it. Routes are not really meant to be modified and restarted like that, the setters are mostly for camel to initialize them in the first place. Typically you use RouteBuilders to create and initialize new Route

Re: Saxon for XSLT 2.0?

2010-01-29 Thread ychawla
Hello, I need to use saxon as well as the XSLT transformer. I just threw the saxon jars in the classpath and the camel XSLT component used saxon. I am using Camel 2.1.0. Cheers, Yogesh raulvk.soa wrote: > > Hi, > > Is there a possibility to use Saxon instead of Xalan when using the xslt: >

DBase Support?

2010-01-29 Thread James Carr
I know this sounds rather daft, but one legacy app we are integrating with uses dBase as it's datastore and we need to process those files daily... before I go and whip up my own endpoint for it to read them in, is there already something available to read/write dbf files? Thanks, James

Re: How to update/remove camel route

2010-01-29 Thread Ricardo Melo
ste, Thank you very much for the support. I'll try that solution. It's very interesting, I have never used Mock endepoints. In the meantime, I've tested a simple solution that worked: remove the route, modify and add it again. :) For my needs, it worked well. Thanks! Ricardo On Fri, Jan 29, 2

Re: ftp with seda problem

2010-01-29 Thread SwenVogel
Would it possible that the content of the remote FTP files are not transfered to memory before the files are deleted by the OnCompletitionStrategy? -- View this message in context: http://old.nabble.com/ftp-with-seda-problem-tp27373947p27378068.html Sent from the Camel - Users mailing list arch

Re: JMS InOut issue

2010-01-29 Thread Willem Jiang
Please show your route and spring configure snippet, those will help us to dig the issue. Willem Claus Ibsen wrote: Hi Get in touch with the JMS broker vendor and if you have support or consultancy contract then use that to get access to people who can help. BTW when writing about a problem

Re: How to update/remove camel route

2010-01-29 Thread Willem Jiang
Hi, Camel provides lots of build blocks for testing, if you interest it here is the link[1]. [1]http://camel.apache.org/testing.html Willem Ricardo Melo wrote: ste, Thank you very much for the support. I'll try that solution. It's very interesting, I have never used Mock endepoints. In th

Re: DBase Support?

2010-01-29 Thread Willem Jiang
Hi, AFAIK, there is no public camel component for dealing the dbf files. You may need to implement yourself and please consider to contribute the code back to the camel community for the people who have the same requirement as you. Willem James Carr wrote: I know this sounds rather daft, bu

Re: DBase Support?

2010-01-29 Thread James Carr
I'll give it a shot and contribute it back if I complete it. :) On Fri, Jan 29, 2010 at 7:45 PM, Willem Jiang wrote: > Hi, > > AFAIK, there is no public camel component for dealing the dbf files. > You may need to implement yourself and please consider to contribute the > code back to the camel c

Re: JMS InOut issue

2010-01-29 Thread altoro
Hi Claus, You're right! I should have given more details... And also right about the fact I should have posted this on the activemq forum since the problem was actually related to the activemq broker. Sorry about that! After invetigation I found out what the problem was: The server A (see the f

Re: Identifying and processing changed file when noop=true

2010-01-29 Thread vjintegrates
I had tried this option it does not result in file being processed based on timestamp. readLock=changed I believe this attribute is used to to check if the file can be locked or not depending on last modified timestamp. Changed file were processed automatically in Camel 1.x, once I upgraded t

Re: JMS InOut issue

2010-01-29 Thread Claus Ibsen
Hi Arnaud On Sat, Jan 30, 2010 at 5:59 AM, altoro wrote: > > Hi Claus, > > You're right! I should have given more details... And also right about the > fact > I should have posted this on the activemq forum since the problem was > actually > related to the activemq broker. Sorry about that! > I

Re: Identifying and processing changed file when noop=true

2010-01-29 Thread Claus Ibsen
On Sat, Jan 30, 2010 at 6:40 AM, vjintegrates wrote: > > I had tried this option it does not result in file being processed based on > timestamp. > > readLock=changed > > I believe this attribute is used to to check if the file can be locked or > not depending on last modified timestamp. > > Chang