Re: Exception on typeconversion, but result is ok?

2009-06-09 Thread Claus Ibsen
Hi Ups the link was wrong. Here it is http://svn.apache.org/viewvc?view=revrevision=782887 On Tue, Jun 9, 2009 at 8:02 AM, Claus Ibsenclaus.ib...@gmail.com wrote: Hi I have re produced an unit test that is a bit similar to yours. I cannot get the type converter issue. I am using Camel

Re: Documenting the Camel DSL

2009-06-09 Thread Charles Moulliard
Hi Christian, I prefer to keep the links of the EIP in this page even if they point to the existing page for consistency reason. Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Tue, Jun 9,

Re: @Handler, @Body, @Header : question

2009-06-09 Thread Claus Ibsen
On Tue, Jun 9, 2009 at 9:51 AM, Charles Moulliardcmoulli...@gmail.com wrote: Hi, If we add the following annotation @Handler to our method, can we continue to use annotations like @Header, @Body as parameters ? Yes. @Handler is just a hint to Camel that it should prefer to use this one over

Re: @Handler, @Body, @Header : question

2009-06-09 Thread Charles Moulliard
In which package is defined this annotation (@handler) ? What will happen if we have several @handler defined in a class ? Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Tue, Jun 9, 2009 at 10:13 AM,

Re: @Handler, @Body, @Header : question

2009-06-09 Thread Claus Ibsen
On Tue, Jun 9, 2009 at 10:22 AM, Charles Moulliardcmoulli...@gmail.com wrote: In which package is defined this annotation (@handler) ? What will happen if we have several @handler defined in a class ? They have different package (namespace) so its just like having two classes such as Message.

Re: @Handler, @Body, @Header : question

2009-06-09 Thread Charles Moulliard
I was using camel 2.0-M1 where this annotation does not exist. I have switched to 2.0-SNAPSHOT. Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Tue, Jun 9, 2009 at 10:34 AM, Claus Ibsen

How to use the HeaderFilterStrategy on SMTP endpoint?

2009-06-09 Thread rohitbrai
How do I use a custom HeaderFilterStrategy on a SMTP endpoint? I saw the code and I can see that SMTP component honors the HeaderFilterStrategy. But I am not able to figure out how do I set it for the endpoint? Thanks and Regards, Rohit -- View this message in context:

Re: How to use the HeaderFilterStrategy on SMTP endpoint?

2009-06-09 Thread rohitbrai
Is this applicable to the Mail component also? http://issues.apache.org/activemq/browse/CAMEL-915 You can do this in Camel 2.0 in the URI by using the # syntax for lookup in the registry. Regards, Rohit rohitbrai wrote: How do I use a custom HeaderFilterStrategy on a SMTP endpoint? I saw

Re: How to use the HeaderFilterStrategy on SMTP endpoint?

2009-06-09 Thread Claus Ibsen
On Tue, Jun 9, 2009 at 2:35 PM, rohitbrairohitb...@gmail.com wrote: How do I use a custom HeaderFilterStrategy on a SMTP endpoint? I saw the code and I can see that SMTP component honors the HeaderFilterStrategy. But I am not able to figure out how do I set it for the endpoint? When Camel

Re: How to use the HeaderFilterStrategy on SMTP endpoint?

2009-06-09 Thread rohitbrai
Sorry for missing that - I am using the Camel 2.0 snapshot. I am not using HTTPComponent at all. I am using the MailComponent, which is created by camel. Can I set the HeaderFilterStrategy for the component, or I need to create my own instance of the component? Currently I am using smtp like

Re: How to use the HeaderFilterStrategy on SMTP endpoint?

2009-06-09 Thread Claus Ibsen
On Tue, Jun 9, 2009 at 3:04 PM, rohitbrairohitb...@gmail.com wrote: Sorry for missing that - I am using the Camel 2.0 snapshot. I am not using HTTPComponent at all. I am using the MailComponent, which is created by camel. Can I set the HeaderFilterStrategy for the component, or I need to

Re: How to use the HeaderFilterStrategy on SMTP endpoint?

2009-06-09 Thread Claus Ibsen
Hi Hold you horses. I had my editor at Camel 1.x. So I was looking at camel-mail for Camel 1.x In Camel 2.0 you can use the # on the mail endpoint directly to refer to a custom strategy. On Tue, Jun 9, 2009 at 3:13 PM, Claus Ibsenclaus.ib...@gmail.com wrote: On Tue, Jun 9, 2009 at 3:04 PM,

ContextTestSupport version for camel-scala

2009-06-09 Thread hans couder
Hi, I'm using for my camel project the Scala DSL and would like to create some routes for testing in scala. Is there a scala version of CamelTestSupport or the camel-test module? Thx and regards, Hans Couder

Re: Documenting the Camel DSL

2009-06-09 Thread Christian Schneider
Hi Charles, I have changed the page to directly show the EIP patterns. Greetings Christian Charles Moulliard schrieb: Hi Christian, I prefer to keep the links of the EIP in this page even if they point to the existing page for consistency reason. Regards, Charles Moulliard Senior