Class TestActor

java.lang.Object
org.citrusframework.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 Details

    • TestActor

      public TestActor()
  • Method Details

    • 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