com.alibaba.rocketmq.client.hook.CheckForbiddenHook Java Examples
The following examples show how to use
com.alibaba.rocketmq.client.hook.CheckForbiddenHook.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DefaultMQProducerImpl.java From reading-and-annotate-rocketmq-3.4.6 with GNU General Public License v3.0 | 5 votes |
public void executeCheckForbiddenHook(final CheckForbiddenContext context) throws MQClientException { if (hasCheckForbiddenHook()) { for (CheckForbiddenHook hook : checkForbiddenHookList) { hook.checkForbidden(context); } } }
Example #2
Source File: DefaultMQProducerImpl.java From rocketmq with Apache License 2.0 | 5 votes |
public void executeCheckForbiddenHook(final CheckForbiddenContext context) throws MQClientException { if (hasCheckForbiddenHook()) { for (CheckForbiddenHook hook : checkForbiddenHookList) { hook.checkForbidden(context); } } }
Example #3
Source File: DefaultMQProducerImpl.java From RocketMQ-Master-analyze with Apache License 2.0 | 5 votes |
public void executeCheckForbiddenHook(final CheckForbiddenContext context) throws MQClientException { if (hasCheckForbiddenHook()) { for (CheckForbiddenHook hook : checkForbiddenHookList) { hook.checkForbidden(context); } } }
Example #4
Source File: DefaultMQProducerImpl.java From reading-and-annotate-rocketmq-3.4.6 with GNU General Public License v3.0 | 4 votes |
public void registerCheckForbiddenHook(CheckForbiddenHook checkForbiddenHook) { this.checkForbiddenHookList.add(checkForbiddenHook); log.info("register a new checkForbiddenHook. hookName={}, allHookSize={}", checkForbiddenHook.hookName(), checkForbiddenHookList.size()); }
Example #5
Source File: DefaultMQProducerImpl.java From rocketmq with Apache License 2.0 | 4 votes |
public void registerCheckForbiddenHook(CheckForbiddenHook checkForbiddenHook) { this.checkForbiddenHookList.add(checkForbiddenHook); log.info("register a new checkForbiddenHook. hookName={}, allHookSize={}", checkForbiddenHook.hookName(), checkForbiddenHookList.size()); }
Example #6
Source File: DefaultMQProducerImpl.java From RocketMQ-Master-analyze with Apache License 2.0 | 4 votes |
public void registerCheckForbiddenHook(CheckForbiddenHook checkForbiddenHook) { this.checkForbiddenHookList.add(checkForbiddenHook); log.info("register a new checkForbiddenHook. hookName={}, allHookSize={}", checkForbiddenHook.hookName(), checkForbiddenHookList.size()); }