Class TestActor


  • public class TestActor
    extends Object
    Actor performs send/receive message actions. With send/receive actors we can enable/disable Citrus message simulation very easily. This enables a fast switch in end-to-end testing when a simulated application suddenly is real and we have to disable the simulated communication parts in a test.
    Since:
    1.3
    Author:
    Christoph Deppisch
    • Constructor Detail

      • TestActor

        public TestActor()
    • Method Detail

      • getName

        public String getName()
        Gets the name.
        Returns:
        the name the name to get.
      • setName

        public void setName​(String name)
        Sets the name.
        Parameters:
        name - the name to set
      • isDisabled

        public boolean isDisabled()
        Gets the disabled.
        Returns:
        the disabled the disabled to get.
      • setDisabled

        public void setDisabled​(boolean disabled)
        Sets the disabled.
        Parameters:
        disabled - the disabled to set