FUSE ESB 4.2 XML Configuration Reference

http://servicemix.apache.org/mail/1.0
element sender

Model
<sender
  connection = string
  customProperties = string
  customTrustManagers = string
  debugMode = boolean
  definition = string
  description = string
  endpoint = string
  id = ID
  interfaceName = QName
  marshaler = string
  receiver = string
  sender = string
  service = QName
  serviceUnit = string
  (any attribute from any namespace other than http://servicemix.apache.org/mail/1.0)>
customProperties?, definition?, description?, ignoreMessageProperties?, marshaler?, serviceUnit?, (any element from any namespace other than http://servicemix.apache.org/mail/1.0)
</sender>
Disallowed substitutions (block)
none (extensions, restrictions and substitutions are allowed)
Substitution group exclusion (final)
none (extensions and restrictions are allowed)
Content Type
element-only content, not nillable.
Usage
This element can be the root element of XML instance documents.
This element can be a child of the following elements: component/endpoints, component/endpoints, component/endpoints, component/endpoints.
Documentation
        this is the sending endpoint for the mail component
      

Nested Element Summary
sequence
anonymous type derived from anyTypecustomProperties optional
          <p>Specifies a <code>java.util.Map</code> which may contain additional properties for the connection.
anonymous type derived from anyTypedefinition optional
           
anonymous type derived from anyTypedescription optional
           
anonymous type derived from anyTypeignoreMessageProperties optional
          <p>Specifies a <code>java.util.List</code> which may contain message properties to skip.
anonymous type derived from anyTypemarshaler optional
          <p>With this method you can specify a marshaler class which provides the logic for converting a normalized message into a mail.
anonymous type derived from anyTypeserviceUnit optional
           


Attribute Summary
stringconnection
          <p>Specifies the connection URI used to connect to a mail server.
stringcustomProperties
          <p>Specifies a <code>java.util.Map</code> which may contain additional properties for the connection.
stringcustomTrustManagers
          <p>Specifies one or more trust manager classes separated by a semicolon (<b>;</b>).<br/> These classes have to implement the <code>Trustmanager</code> interface and need to provide an empty default constructor to be valid.<br/><br /> If you want to accept all security certificates without a check you may consider using the <code>DummyTrustManager</code> class.
booleandebugMode
          <p>Specifies if the JavaMail is run in <code>DEBUG</code> mode.
stringdefinition
           
stringdescription
           
stringendpoint
           
IDid
           
QNameinterfaceName
           
stringmarshaler
          <p>With this method you can specify a marshaler class which provides the logic for converting a normalized message into a mail.
stringreceiver
           <p>Specifies the receiver address(es) of the mail which is being sent.</p> <i>&nbsp;&nbsp;&nbsp;The default value is <b>null</b></i><br/><br/>
stringsender
           <p>Specifies the sender address of the mail which is being sent.</p> <i>&nbsp;&nbsp;&nbsp;The default value is <b>no-reply@localhost</b></i><br/><br/>
QNameservice
           
stringserviceUnit
           

Attribute Detail

connection

Documentation
            <p>Specifies the connection URI used to connect to a mail server.
<br /><br />
<b><u>Templates:</u></b> <br />
&nbsp;&nbsp;&nbsp;<i>&lt;protocol&gt;://&lt;user&gt;@&lt;host&gt;[:&lt;port&gt;][/&lt;folder&gt;]?password=&lt;password&gt;</i>
<br /><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OR</b><br/>
&nbsp;&nbsp;&nbsp;<i>&lt;protocol&gt;://&lt;host&gt;[:&lt;port&gt;][/&lt;folder&gt;]?user=&lt;user&gt;;password=&lt;password&gt;</i>
<br /><br />
<b><u>Details:</u></b><br /><br/>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="40%" align="left"><b><u>Name</u></b></td>
<td width="60%" align="left"><b><u>Description</u></b></td>
</tr>
<tr>
<td>protocol</td>
<td>the protocol to use (example: pop3 or imap)</td>
</tr>
<tr>
<td>user</td>
<td>the user name used to log into an account</td>
</tr>
<tr>
<td>host</td>
<td>the name or ip address of the mail server</td>
</tr>
<tr>
<td>port</td>
<td>the port number to use (optional)</td>
</tr>
<tr>
<td>folder</td>
<td>the folder to poll from (optional)</td>
</tr>
<tr>
<td>password</td>
<td>the password for the login</td>
</tr>
</table>
<br/>
<b><u>Example:</u></b><br />
&nbsp;&nbsp;&nbsp;<i>smtp://lhein@myserver?password=myPass</i><br /></p>
<i>&nbsp;&nbsp;&nbsp;The default value is <b>null</b></i><br/><br/>
          
Definition

Defined with global type string

Model
string
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

customProperties

Documentation
            <p>Specifies a <code>java.util.Map</code> which may contain additional
properties for the connection. <br/>
<br/><b><u>Example for disabling TOP for POP3 headers:</u></b><br />
&nbsp;<i><b>key</b>: "mail.pop3.disabletop"</i> <br />
&nbsp;<i><b>value</b>: "true"</i></p>
<i>&nbsp;&nbsp;&nbsp;The default value is <b>null</b></i><br/><br/>
          
Definition

Defined with global type string

Model
string
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

customTrustManagers

Documentation
            <p>Specifies one or more trust manager classes separated by a semicolon (<b>;</b>).<br/>
These classes have to implement the <code>Trustmanager</code> interface and need to provide
an empty default constructor to be valid.<br/><br />
If you want to accept all security certificates without a check you may
consider using the <code>DummyTrustManager</code> class. It is actually only
an empty stub without any checking logic. <br/><b>But be aware that this will be
a security risk in production environments. </b></p>
<i>&nbsp;&nbsp;&nbsp;The default value is <b>null</b></i><br/><br/>
          
Definition

Defined with global type string

Model
string
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

debugMode

Documentation
            <p>Specifies if the JavaMail is run in <code>DEBUG</code> mode. This means
that while connecting to server and processing mails a detailed log
is written to debug output. <br />
This mode is very handy if you are experiencing problems with your
mail server connection and you want to find out what is going wrong
in communication with the server.
<br /><br />
&nbsp;&nbsp;&nbsp;<b>true</b> - <i>the debug mode is <b>enabled</b></i>
<br />
&nbsp;&nbsp;&nbsp;<b>false</b> - <i>the debug mode is <b>disabled</b></i></p>
<i>&nbsp;&nbsp;&nbsp;The default value is <b>false</b></i><br/><br/>
          
Definition

Defined with global type boolean

Model
boolean
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, finit value space
White Space Processing
collapse

definition

Definition

Defined with global type string

Model
string
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

description

Definition

Defined with global type string

Model
string
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

endpoint

Definition

Defined with global type string

Model
string
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

id

Definition

Defined with global type ID

Model
ID
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

interfaceName

Definition

Defined with global type QName

Model
QName
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

marshaler

Documentation
            <p>With this method you can specify a marshaler class which provides the
logic for converting a normalized message into a mail. This class has
to extend the abstract class <code>AbstractMailMarshaler</code> or an
extending class. If you don't specify a marshaler, the
<code>DefaultMailMarshaler</code> will be used.</p>
          
Definition

Defined with global type string

Model
string
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

receiver

Documentation
            <p>Specifies the receiver address(es) of the mail which is being sent.</p>
<i>&nbsp;&nbsp;&nbsp;The default value is <b>null</b></i><br/><br/>
          
Definition

Defined with global type string

Model
string
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

sender

Documentation
            <p>Specifies the sender address of the mail which is being sent.</p>
<i>&nbsp;&nbsp;&nbsp;The default value is <b>no-reply@localhost</b></i><br/><br/>
          
Definition

Defined with global type string

Model
string
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

service

Definition

Defined with global type QName

Model
QName
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

serviceUnit

Definition

Defined with global type string

Model
string
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

FUSE ESB 4.2 XML Configuration Reference

FUSE ESB 4.2 XML Configuration Reference