Class JmsTransactedWorkflow

    • Constructor Detail

      • JmsTransactedWorkflow

        public JmsTransactedWorkflow()
    • Method Detail

      • getStrict

        public java.lang.Boolean getStrict()
      • setStrict

        public void setStrict​(java.lang.Boolean strict)
        Set the behaviour of this workflow with regards to failures.

        When strict mode is enabled, then any exception will cause a rollback on the session; when strict is false, then if a ProcessingExceptionHandler is configured that is not NullProcessingExceptionHandler, the session will not be rolled back.

        Parameters:
        strict - true or false (default true)
      • getWaitPeriodAfterRollback

        public TimeInterval getWaitPeriodAfterRollback()
      • waitPeriodAfterRollbackMs

        public long waitPeriodAfterRollbackMs()
      • setWaitPeriodAfterRollback

        public void setWaitPeriodAfterRollback​(TimeInterval interval)
        set the amount of time to wait after issue a Session.rollback() before continuing processing.
        Parameters:
        interval - the interval, default if not set is 30 seconds.