Class ConditionMetadata

  • All Implemented Interfaces:
    ComponentLifecycle, Condition

    @ComponentProfile(summary="Tests a metadata key against a configured operator.",
                      tag="condition,metadata")
    public class ConditionMetadata
    extends ConditionWithOperator

    This Condition targets message metadata. All you need do is choose an Operator to apply the conditional test.

    In the adapter configuration file this class is aliased as metadata which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • ConditionMetadata

        public ConditionMetadata()
    • Method Detail

      • getMetadataKey

        public java.lang.String getMetadataKey()
      • setMetadataKey

        public void setMetadataKey​(java.lang.String metadataKey)