public class MessageRFC822Node extends Node
Node
handles rfc822 messages
that are embedded in a stream.Node.Cardinality
Constructor and Description |
---|
MessageRFC822Node() |
Modifier and Type | Method and Description |
---|---|
String |
getWorkerClassName()
Return the node's associated
NodeWorker full qualified class's
name. |
boolean |
isIgnoreOriginalMimeTypes() |
void |
setIgnoreOriginalMimeTypes(boolean ignoreOriginalMimeTypes)
Set whether the original MIME-type information should be ignored.
|
addTransportReceiver, appendSuccessor, apply, equals, getInputCardinality, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, hashCode, initialize, prependPredecessor, remove, validateConfiguration
public String getWorkerClassName()
Node
Return the node's associated
NodeWorker
full qualified class's
name. By default, the worker class name is
This behavior can be overridden in concrete subclasses.
getWorkerClassName
in class Node
public void setIgnoreOriginalMimeTypes(boolean ignoreOriginalMimeTypes)
Set whether the original MIME-type information should be ignored.
This flag indicates whether the original MIME-type information from any MIME-encoded messages
should be mistrusted. If set to true
, all MIME types are set to
StreamDescriptor.UNKNOWN_MIME_TYPE
("unknown") and the original MIME type information
is propagated using the property "PURPORTED_MIME_TYPE". This option can be used to let the
StreamAnalysisNode
determine the actual MIME types in
cases when the purported information is unreliable.
An exception from the mistrust are the multipart/*, text/* and message/* types—for those types the information must be trusted.
Default value:false
.ignoreOriginalMimeTypes
- flag if or if not to ignore the original MIME typepublic boolean isIgnoreOriginalMimeTypes()
Copyright © 2017 levigo holding gmbh. All rights reserved.