Class MessageAggregatorImpl
java.lang.Object
com.adaptris.core.services.aggregator.MessageAggregatorImpl
- All Implemented Interfaces:
MessageAggregator
- Direct Known Subclasses:
AppendingMessageAggregator
,MimeAggregator
,MultiPayloadMessageAggregator
,ReplaceWithFirstMessage
,XmlDocumentAggregator
,ZipAggregator
Abstract implementation of
MessageAggregator
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
filter
(AdaptrisMessage message) protected Collection<AdaptrisMessage>
filter
(Collection<AdaptrisMessage> messages) Allows you to filter the messages based on a condition - optional, positive filter matchWhether or not to overwrite original metadata with metadata from the split messages.Should an error occur with the filter, should we exclude these messages from the result?protected boolean
protected void
overwriteMetadata
(AdaptrisMessage src, AdaptrisMessage target) void
setFilterCondition
(Condition filterCondition) Allows you to filter the messages based on a condition - optional, positive filter matchvoid
setOverwriteMetadata
(Boolean overwriteMetadata) Whether or not to overwrite original metadata with metadata from the split messages.void
setRetainFilterExceptionsMessages
(Boolean retainFilterExceptionsMessages) Should an error occur with the filter, should we exclude these messages from the result?<T extends MessageAggregatorImpl>
TMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.adaptris.core.services.aggregator.MessageAggregator
aggregate, joinMessage
-
Field Details
-
log
protected transient org.slf4j.Logger log
-
-
Constructor Details
-
MessageAggregatorImpl
public MessageAggregatorImpl()
-
-
Method Details
-
filter
-
filter
-
withOverwriteMetadata
-
overwriteMetadata
protected boolean overwriteMetadata() -
overwriteMetadata
-
getOverwriteMetadata
Whether or not to overwrite original metadata with metadata from the split messages. -
setOverwriteMetadata
Whether or not to overwrite original metadata with metadata from the split messages. -
getFilterCondition
Allows you to filter the messages based on a condition - optional, positive filter match -
setFilterCondition
Allows you to filter the messages based on a condition - optional, positive filter match -
getRetainFilterExceptionsMessages
Should an error occur with the filter, should we exclude these messages from the result? -
setRetainFilterExceptionsMessages
Should an error occur with the filter, should we exclude these messages from the result?
-