Class AttachmentConditionMatcher

java.lang.Object
org.apache.dubbo.rpc.cluster.router.condition.matcher.AbstractConditionMatcher
org.apache.dubbo.rpc.cluster.router.condition.matcher.attachment.AttachmentConditionMatcher
All Implemented Interfaces:
ConditionMatcher

@Activate public class AttachmentConditionMatcher extends AbstractConditionMatcher
analysis the arguments in the rule. Examples would be like this: "attachments[foo]=bar", whenCondition is that the attachment value of 'foo' is equal to 'bar'.
  • Constructor Details

    • AttachmentConditionMatcher

      public AttachmentConditionMatcher(String key, org.apache.dubbo.rpc.model.ModuleModel model)