You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Simon IJskes (JIRA)" <ji...@apache.org> on 2018/01/09 20:49:00 UTC

[jira] [Closed] (CAMEL-12117) custom javaMailSender does not benefit from URL parameters

     [ https://issues.apache.org/jira/browse/CAMEL-12117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon IJskes closed CAMEL-12117.
--------------------------------
    Resolution: Won't Fix

> custom javaMailSender does not benefit from URL parameters
> ----------------------------------------------------------
>
>                 Key: CAMEL-12117
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12117
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-mail
>    Affects Versions: 2.20.1
>            Reporter: Simon IJskes
>            Priority: Minor
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> When a custom javaMailSender is used, no property setters are called on the custom javaMailSender. This in constrast with the DefaultJavaMailSender. 
> In MailEndpoint.createProducer() the custom javaMailSender does not get the 'replication' of the configuration properties as the createJavaMailSender() does.
> The benefit of using the URL parameters is, when a custom sender is specified by reference, and it is pulled from the spring registry, and is marked as "prototype" scope, it allows the URL to configure this newly created custom sender, thereby allowing multiple configured smtp producers from camel.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)