Best Practices For Data Propagation Through Pipeline

2009-04-23 Thread greenbean
Can anyone provide a "best practice" for data propagation and manipulations through a pipeline? Say I have a bunch of beans, each carrying out a specific type of processing. I would like the beans to be generic in that they take in the data they require and spit out their results. However, with

Re: Messages not being delivered once SEDA concurrentConsumers set

2009-04-23 Thread rsmith
Using 2.0-M1. The option does seem to be getting used, but the messages aren't getting routed to the last bean method I have if it is set. Claus Ibsen-2 wrote: > > > What version of Camel are you using? This option was introduced in > Camel 1.6.1 and newer. > > > -- > Claus Ibsen > Apache C

Filter from files

2009-04-23 Thread rbielby
I know this should be very simple, but I can't for the life of me get this to work. I'm trying to filter my "from" files using a simple pattern. I've tried the include, but possibly my regex is incorrect. I've also tried the filter method with no luck either. I'd like to only consume files tha

Re: Filter from files

2009-04-23 Thread Claus Ibsen
Hi Java regexp can be a pain to get working. Create a java main app and use simple String and System out to try the regex combo that will match your files. This is usually what I do. And some IDEs have a regex plugin you can use to test as well, I think there is a plugin to IDEA. For Eclipse I d

Single Port Handling

2009-04-23 Thread Carlo Camerino
Hi, I have a single tcp port in which I can connect to and I have a lot of messages coming in. WHat pattern should I use so that I can send messages to the port without making my implementation synchronized. How can I make my threads wait while waiting for its reply at the same time know that its

Re: Single Port Handling

2009-04-23 Thread Carlo Camerino
There is a request reply on camel currentIly exisintg. I don't know if I should use ExchangePattern.InOut or exchangepattern.inonly. My replier thread is another thread... how can I tell this thread to wait while its result hasnot yet arrived. >From other implementations I see that they use the

porting camel routers (camel-jdbc) to servicemix4.0

2009-04-23 Thread Matteo Redaelli
ciao I'm trying to port a maven project to the osgi container servicemix4.0. I created a new project with mvn archetype:create\ -DarchetypeGroupId=org.springframework.osgi \ -DarchetypeArtifactId=spring-osgi-bundle-archetype \ -DarchetypeVersion=1.2.0-m2

Re: Camel JUEL expression weirdness in 1.6.0

2009-04-23 Thread ychawla
Hi Claus, Thanks for the reply. The latest download on their site is 2.1.1. I got that when following this link from the JUEL homepage: http://prdownloads.sourceforge.net/juel/juel-2.1.1.zip?download I went to their sourceforge page and found a contact for their project admin Christopher Beck.

Re: Camel JUEL expression weirdness in 1.6.0

2009-04-23 Thread ychawla
Here is the link to the bug tracker on source forge for JUEL: https://sourceforge.net/tracker/?func=detail&aid=2779833&group_id=165179&atid=834616 Cheers, Yc ychawla wrote: > > Hello All, > I am trying to evaluate a header in Camel 1.6.0 using EL expressions. > Here is my expression: > > >

Dynamic Recipient List and Temporary Queues

2009-04-23 Thread Vojtech
Hi First, I would like to thank to all the developers and contributors for Camel - it's great and fun to use! Now to the point: I am implementing the Dynamic Recipient List (from the Enterprise Integration Patterns). The purpose is to provide consumers with only the messages they are intereste

Re: porting camel routers (camel-jdbc) to servicemix4.0

2009-04-23 Thread Claus Ibsen
Hi You need some additional .jars on the classpath. So you need to install more .jars into the OSGi. You should look at the exception: Cannot > find class [org.apache.commons.dbcp.BasicDataSource] for bean with name > 'DB" Where it states that it cannot find the class above. Then you need t

Re: Payload Gets Nulled Out

2009-04-23 Thread Claus Ibsen
Hi I created a ticket for this issue https://issues.apache.org/activemq/browse/CAMEL-1563 On Sun, Apr 19, 2009 at 8:53 PM, Roman Kalukiewicz wrote: > 2009/4/18 Claus Ibsen : >> We could add boolean hasOut() as a method on the Exchange. >> Then you can test whether an OUT has been set or not. >

Re: Best Practices For Data Propagation Through Pipeline

2009-04-23 Thread Claus Ibsen
Hi In Camel 2.0 we have introduced the enricher DSL you can use to invoke another endpoint and aggregate the output (you have the original input and the response from the enricher). http://camel.apache.org/content-enricher.html As for loosing the original message when you use bean binding paramet