Class ReliantContinuationState

  • All Implemented Interfaces:
    ContinuationState

    public class ReliantContinuationState
    extends AbstractContinuationState
    ReliantContinuationStates are added when branching the flow from a FlowContinuableMediator which cannot be directly referred from the synapse configuration as an artifact. For an example Filter mediator is a FlowContinuableMediator and we cannot directly access from the synapse configuration. We only can access the Sequence which filter is placed. So a ReliantContinuationState is added for all FlowContinuableMediator Mediators except Sequence Mediator.

    ReliantContinuationStates are get added as a child of a SeqContinuationState. Grand parent of the ReliantContinuationState is always a SeqContinuationState which are placed in the ContinuationState Stack.

    See Also:
    ContinuationState
    • Constructor Detail

      • ReliantContinuationState

        public ReliantContinuationState​(int subBranch)
    • Method Detail

      • getSubBranch

        public int getSubBranch()
        Get the subBranch of the FlowContinuableMediator.
        Returns:
        subBranch id
      • setSubBranch

        public void setSubBranch​(int subBranch)
        Set the subBranch of the FLowContinuableMediator
        Parameters:
        subBranch - subBranch id