Class IntegrationNode

java.lang.Object
org.springframework.integration.graph.IntegrationNode
Direct Known Subclasses:
EndpointNode, MessageChannelNode

public abstract class IntegrationNode extends Object
Base class for all nodes.
Since:
4.3
Author:
Gary Russell, Artem Bilan
  • Constructor Details

    • IntegrationNode

      protected IntegrationNode(int nodeId, String name, Object nodeObject)
  • Method Details

    • getNodeId

      public int getNodeId()
    • getName

      public String getName()
    • getComponentType

      public final String getComponentType()
    • getIntegrationPatternType

      @Nullable public IntegrationPatternType getIntegrationPatternType()
    • getIntegrationPatternCategory

      @Nullable public IntegrationPatternType.IntegrationPatternCategory getIntegrationPatternCategory()
    • getProperties

      public Map<String,Object> getProperties()
    • addProperty

      public void addProperty(String name, Object value)
      Add extra property to the node.
      Parameters:
      name - the name for property
      value - the value of the property
      Since:
      5.1
    • addProperties

      public void addProperties(@Nullable Map<String,Object> props)
      Add extra property to the node.
      Parameters:
      props - additional properties to add
      Since:
      5.1
    • isObserved

      public boolean isObserved()
      Return true if this component is instrumented with an observation.
      Returns:
      true if this component is instrumented with an observation.
      Since:
      6.0.1