Thanks for the reply. I will try both the options. Hope it works
--
View this message in context:
http://camel.465427.n5.nabble.com/Filtering-of-mbeans-in-mbean-server-of-camel-tp4726520p4748940.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi All,
While working with Camel things are going find but have a doubt about using
Thread.sleep()
I have the following code
public void executeRoute(String routeName) throws Exception{
resetStatus();
camelContext.startRoute(routeName);
Since you don't specify a unique file name for each output of the
split (for example by setting the org.apache.camel.file.name header to
a unique name) I suppose the output file is overwritten for each
string, ending with the last output?
On Tue, Aug 30, 2011 at 9:30 AM, Jan Strube j...@deriva.de
Yes, you are right. For example, the following works:
--
View this message in context:
http://camel.465427.n5.nabble.com/Splitting-a-collection-and-writing-to-files-tp4749171p4749273.html
Sent from the Camel - Users mailing list archive at Nabble.com.
When I first read your response I guess I missed the part about preMove
happens after the readLock has determined it's ok to consume the file. So
if readLock=none then it might be possible for the preMove to move a file
that was still being written to. Is that correct?
--
View this message in
On Tue, Aug 30, 2011 at 2:03 PM, bbuzzard
billy.buzz...@bnsflogistics.com wrote:
When I first read your response I guess I missed the part about preMove
happens after the readLock has determined it's ok to consume the file. So
if readLock=none then it might be possible for the preMove to move
Hey,
I am new to camel and curious to know if there is a simpler way of doing
dynamic activemq selector uri. Here is what I am trying to do:
public class TestRouteBuilder extends SpringRouteBuilder {
boolean isready = false;
public void configure() {
Hi all,
We wrote a read lock strategy that allows us to use multiple
FTP consumers for the same directory. The problem we are facing now is that
when using multiple consumers they all go for the same file in the list. To
solve this we would need FTP consumers to go after a random
Hi
Have you seen this unit test which uses a custom comparator
https://svn.apache.org/repos/asf/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileSorterTest.java
On Tue, Aug 30, 2011 at 3:25 PM, Sorin Silaghi sorin7...@gmail.com wrote:
Hi
Hi,
I did some debugging and I think I figured it out: we also
have maxMessagesPerPoll=1 set on that endpoint. This means that the consumer
generates a list of 1 elements that it then tries to sort.
We are using maxMessagesPerPoll=1 because we have multiple routes
Hi,
I am trying read multiple files from a directory at a time within my
camel route.
E.g.
from(src).bean(abc.class).to(dest)
In the above route, source is a directory which would contain 2-3 files in
it. If I run this route, then camel will process one file at a time and will
route it to
Hi Jeevan,
It sounds like you need the Aggregator Enterprise Integration Pattern (EIP).
http://camel.apache.org/aggregator.html
Cheers,
Mathieu
Date: Tue, 30 Aug 2011 09:53:26 -0700
From: jeevan.koteshw...@gmail.com
To: users@camel.apache.org
Hello Camel Folks,
I'd like to add an MDC property to our logs that is generated from a
few JMS headers. (It would provide more immediately useful information
than Exchange ID.) I'm not sure how to add the property, though, since
it's not one of the five properties supported out-of-the-box[1].
Thanks for the reply. I will follow your advices.
--
View this message in context:
http://camel.465427.n5.nabble.com/Any-good-component-tests-to-start-with-tp4671227p4751574.html
Sent from the Camel - Users mailing list archive at Nabble.com.
The docs say that you can set whether to autostart a route based on a boolean,
string or property
from(activemq:queue:special).autoStartup(startupRoute).to(file://backup);
However it looks like autoStartup() has been removed (or never was in) the
fluent API for RouteDefinition. What is the
Hi
Which version of Camel are you using ?
I just checked the current trunk code (Camel 2.9-SNAPSHOT), and found
there is an autoStartup() fluent API can be used.
On 8/31/11 8:06 AM, Damian Harvey wrote:
The docs say that you can set whether to autostart a route based on a boolean,
string
16 matches
Mail list logo