Below example demonstrates how Velocity Template can be integrated with Spring for sending emails in a given template or write the content to an XML file.
Spring Configuration:
Main Class:
Test Class:
Email Template:
XML Template:
POM:
Output(Email):
Output(Xml File):
Project Structure:
Need source Code
ReplyDelete