THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Note | ||
---|---|---|
| ||
Note that this component is only available in releases > 3.2.1. |
Installation
Installing the servicemix-mail component can be done in several ways:
- drop the installer zip in an hotdeploy directory monitored by ServiceMix
- using ant tasks
Note that when using ant tasks, the component is not started, you will have to start it manually using ant tasks or a console.
Creation
You can use Maven to create a service unit.
Code Block |
---|
mvn archetype:create \
-DarchetypeGroupId=org.apache.servicemix.tooling \
-DarchetypeArtifactId=servicemix-mail-service-unit \
-DgroupId=com.mycompany.myproduct \
-DartifactId=mycomponent.artifact
|
Endpoints
Code Block | ||||
---|---|---|---|---|
| ||||
<mail:sender service="test:myMailService" endpoint="senderEndpoint" sender="no-reply@servicemix.org" connection="smtp://lhein@testserver?password=myPass" /> |
...