Class RouterWorker

    • Constructor Detail

      • RouterWorker

        public RouterWorker()
    • Method Detail

      • initialize

        public void initialize()
                        throws JobException,
                               org.springframework.expression.ExpressionException
        Description copied from class: NodeWorker
        This method may be overridden, in order do perform initialization which is necessary before the actual work is started.
        Caveat: this method may be called synchronously by the server master thread. Therefore the work done within this call should be kept to an absolute minimum so as not to stall the job acceptor.
        Overrides:
        initialize in class NodeWorker<RouterNode>
        Throws:
        JobException - in case of initialization failure
        org.springframework.expression.ExpressionException
      • work

        protected void work()
                     throws org.springframework.expression.ExpressionException,
                            IOException
        Description copied from class: NodeWorker
        Implement this method to let the node perform some useful work.

        Implementors are free to throw whatever exception they see fit. If any Throwable is thrown from this method, the failure manager is notified about the fatal failure of the whole pipeline.

        Specified by:
        work in class NodeWorker<RouterNode>
        Throws:
        org.springframework.expression.ExpressionException
        IOException