Hi

See the release notes for each of the Camel releases you upgrade

For example you can then find what you look for here
http://camel.apache.org/camel-290-release.html

On Mon, Jun 2, 2014 at 11:40 AM, OrackBahama <[email protected]> wrote:
> Hello,
>
> configuring a custom javaMailSender in Camel java DSL seems to not work
> anymore (Camel 2.13.0).
>
> ...
> .to(
> "smtp://{{mail.host}}?username=xxx&password=yyy&javaMailSender=#javaMailSender"
> )
> ...
>
> with
>
> <bean id="javaMailSender"
> class="mycompany.mail.javamail.IMAPJavaSenderImpl">
>   <property name="sentFolderName" value="${mail.sentFolderName}" />
> </bean>
>
> throws ugly exceptions at me :-(, saying something about "Could not find a
> suitable setter for property:
> javaMailSender as there isn't a setter method with same type:
> java.lang.String nor type conversion possible ...
>
> (The class mycompany.mail.javamail.IMAPJavaSenderImpl extends
> org.springframework.mail.javamail.JavaMailSenderImpl)
>
> I'm quite sure, that it worked in former versions of Camel (2.8.x, 2.9.xx
> ?).
> Did I make something wrong with the bean definition ?
> Is the online documentation for this component somehow outdated ?
>
> What is the correct configuration for custom JavaMailSender implementation ?
>
> Thanks in advance ...
>
>
>
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/javaMailSender-not-configurable-as-url-parameter-anymore-tp5751814.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to