public class TagRouting<P> extends Routing<P>
index, listener| Constructor and Description |
|---|
TagRouting(String expr,
int index,
EventListener<P> listener) |
| Modifier and Type | Method and Description |
|---|---|
String |
getTopic() |
boolean |
matches(String sentTopic)
匹配
|
boolean |
matches(org.noear.dami2.bus.route.TagRouting.TopicTags sentTopicTags)
匹配
|
getIndex, getListener, toStringpublic TagRouting(String expr, int index, EventListener<P> listener)
expr - 表达式(: 为主题与标签的间隔符;,为标签的间隔符)index - 顺序位listener - 监听器Copyright © 2025. All rights reserved.