revert the enqueue(root rule chain) method changes
This commit is contained in:
parent
a045be771b
commit
d5bf25e2f3
@ -121,7 +121,7 @@ class DefaultTbContext implements TbContext {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void enqueue(TbMsg tbMsg, Runnable onSuccess, Consumer<Throwable> onFailure) {
|
public void enqueue(TbMsg tbMsg, Runnable onSuccess, Consumer<Throwable> onFailure) {
|
||||||
TopicPartitionInfo tpi = resolvePartition(tbMsg);
|
TopicPartitionInfo tpi = mainCtx.resolve(ServiceType.TB_RULE_ENGINE, getTenantId(), tbMsg.getOriginator());
|
||||||
enqueue(tpi, tbMsg, onFailure, onSuccess);
|
enqueue(tpi, tbMsg, onFailure, onSuccess);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user