Class MessageSplitterServiceImp

    • Field Detail

      • KEY_SPLIT_MESSAGE_COUNT

        public static final java.lang.String KEY_SPLIT_MESSAGE_COUNT
        See Also:
        Constant Field Values
      • KEY_CURRENT_SPLIT_MESSAGE_COUNT

        public static final java.lang.String KEY_CURRENT_SPLIT_MESSAGE_COUNT
        See Also:
        Constant Field Values
    • Constructor Detail

      • MessageSplitterServiceImp

        public MessageSplitterServiceImp()
    • Method Detail

      • waitForCompletion

        protected void waitForCompletion​(com.adaptris.core.services.splitter.MessageSplitterServiceImp.SplitterCallback tasks,
                                         long expected)
                                  throws ServiceException
        Throws:
        ServiceException
      • setSplitter

        public void setSplitter​(MessageSplitter ms)

        Sets the MessageSplitter to use.

        Parameters:
        ms - the MessageSplitter to use, may not be null
      • getSplitter

        public MessageSplitter getSplitter()

        Returns the MessageSplitter to use.

        Returns:
        the MessageSplitter to use
      • getIgnoreSplitMessageFailures

        public java.lang.Boolean getIgnoreSplitMessageFailures()
        Returns:
        the ignoreSplitMessageFailures
      • ignoreSplitMessageFailures

        public boolean ignoreSplitMessageFailures()
      • setIgnoreSplitMessageFailures

        public void setIgnoreSplitMessageFailures​(java.lang.Boolean b)
        Whether or not to ignore errors on messages that are split.
        Parameters:
        b - if true, then all split messages will be processed; failures are simply logged (default false)