using methodName for bean binding doesn't work with Processor beans

2009-10-02 Thread erh
I'm having trouble getting the methodName to work when routing to a bean using a route like this: foo is a bean that implements Processor [*2], and in some routes I want it to use the process() method, but in this case I need to use a different entry point. According to http://camel.a

Combining custom error handling with a transactional rollback

2009-10-02 Thread Purcell, Chris (London)
Hi all, I'm writing a Camel pipeline and I'd like to do both of the following when an exception is thrown: (1) Roll back the current transaction, if one has been started (it starts mid-pipeline) (2) Do some further handling of the current message, ultimately sending a warning email about the prob

Zip format problem

2009-10-02 Thread Vladimir Okhotnikov
Hi first of all, thanks for the great framework. The learning curve is a bit, steep, but the possibilities are surely worth it. Apparently I have a small problem with a ZIP data format. In my project, I have to download zipped files from FTP, uncompress and process them. So, I guess the route sh

Re: Zip format problem

2009-10-02 Thread Hadrian Zbarcea
Hi Vladimir, Thanks for pointing this out. Would you care to submit a patch for this? On the custom data format topic, of course you can. You'd have to write your own component with your data format code (class extending org.apache.camel.spi.DataFormat). You can find a more isolated exam

Re: using methodName for bean binding doesn't work with Processor beans

2009-10-02 Thread Claus Ibsen
Hi Use To invoke the Processor which then will invoke the process(Exchange) method. On Fri, Oct 2, 2009 at 6:01 PM, erh wrote: > > I'm having trouble getting the methodName to work when routing to a bean > using a route like this: > >   >   > > > foo is a bean that implements Processor [

Re: Combining custom error handling with a transactional rollback

2009-10-02 Thread Claus Ibsen
Hi If you are using Camel 2.0 you got the onCompletion http://davsclaus.blogspot.com/2009/06/on-road-to-camel-20-oncompletion.html Which allows you to do further handling after the exchange is kinda finished. For example to send a warning email. The rollback should happen automatically in an exc

Re: Zip format problem

2009-10-02 Thread Claus Ibsen
On Sat, Oct 3, 2009 at 12:29 AM, Vladimir Okhotnikov wrote: > > Hi > > first of all, thanks for the great framework. The learning curve is a bit, > steep, but the possibilities are surely worth it. > > Apparently I have a small problem with a ZIP data format. In my project, I > have to download zi