Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
sender attribute doesn't set for mail:sender enpoint in xbean.xml.
Incoming jbi message has AbstractMailMarshaler.MSG_TAG_FROM property, but outgoing mail message has "no-reply@localhost " in from field.
MailSenderEndpoint sets sender to default in any cases in validate() method.
The MailMarshaler checks if the configuredSender is null or nor, but the sender can not be null as it is being set to default value in the validate() method.
discussion: http://www.nabble.com/Servicemix-mail-and-sender-td19918413ef12049.html