@InOnly public class MatcherSplitter extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LOGGER_PROPERTY |
static String |
MAILETCONTAINER_PROPERTY |
static String |
MATCHER_MATCHED_ATTRIBUTE
Headername which is used to indicate that the matcher matched
|
static String |
MATCHER_PROPERTY
Headername under which the matcher is stored
|
static String |
ON_MATCH_EXCEPTION_PROPERTY |
Constructor and Description |
---|
MatcherSplitter() |
Modifier and Type | Method and Description |
---|---|
List<org.apache.mailet.Mail> |
split(org.apache.mailet.Matcher matcher,
String onMatchException,
org.slf4j.Logger logger,
CamelMailetProcessor container,
org.apache.mailet.Mail mail)
Generate a List of MailMessage instances for the give @Body.
|
public static final String MATCHER_MATCHED_ATTRIBUTE
public static final String MATCHER_PROPERTY
public static final String ON_MATCH_EXCEPTION_PROPERTY
public static final String LOGGER_PROPERTY
public static final String MAILETCONTAINER_PROPERTY
@Handler public List<org.apache.mailet.Mail> split(@Property(value="matcher") org.apache.mailet.Matcher matcher, @Property(value="onMatchException") String onMatchException, @Property(value="logger") org.slf4j.Logger logger, @Property(value="container") CamelMailetProcessor container, @Body org.apache.mailet.Mail mail) throws javax.mail.MessagingException
matcher
- Matcher to use for splittingmail
- Mail which is stored in the @Body of the MailMessagejavax.mail.MessagingException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.