[
https://issues.apache.org/activemq/browse/SMXCOMP-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lars Heinemann resolved SMXCOMP-767.
------------------------------------
Resolution: Fixed
all aspects of connection configuration may now be overridden by setting the
appropriate message header attributes. Also updated the component wiki to
reflect the current state.
> It should be possible to set the username/password via a header/property for
> the servicemix-mail provider
> ---------------------------------------------------------------------------------------------------------
>
> Key: SMXCOMP-767
> URL: https://issues.apache.org/activemq/browse/SMXCOMP-767
> Project: ServiceMix Components
> Issue Type: Improvement
> Components: servicemix-mail
> Reporter: Stan Lewis
> Assignee: Lars Heinemann
> Priority: Minor
> Fix For: servicemix-mail-2010.02
>
> Attachments: SM-1956.txt
>
>
> The main use-case for this is to actually avoid putting the username/password
> in the xbean.xml and instead obtain the username/password from an encrypted
> store and dynamically set these to be used by the servicemix-mail provider
> when it connects to the SMTP server. Currently the username, password, host
> and port are only read when the SU is deployed and it appears there's no
> header or property that the servicemix-mail provider checks before connecting
> to SMTP and sending the message.
> This patch adds this functionality, also removes a little duplicate code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.