com.alibaba.rocketmq.client.hook.FilterMessageHook Java Examples
The following examples show how to use
com.alibaba.rocketmq.client.hook.FilterMessageHook.
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: PullAPIWrapper.java From reading-and-annotate-rocketmq-3.4.6 with GNU General Public License v3.0 | 5 votes |
public void executeHook(final FilterMessageContext context) { if (!this.filterMessageHookList.isEmpty()) { for (FilterMessageHook hook : this.filterMessageHookList) { try { hook.filterMessage(context); } catch (Throwable e) { log.error("execute hook error. hookName={}", hook.hookName()); } } } }
Example #2
Source File: PullAPIWrapper.java From rocketmq with Apache License 2.0 | 5 votes |
public void executeHook(final FilterMessageContext context) { if (!this.filterMessageHookList.isEmpty()) { for (FilterMessageHook hook : this.filterMessageHookList) { try { hook.filterMessage(context); } catch (Throwable e) { log.error("execute hook error. hookName={}", hook.hookName()); } } } }
Example #3
Source File: PullAPIWrapper.java From RocketMQ-Master-analyze with Apache License 2.0 | 5 votes |
public void executeHook(final FilterMessageContext context) { if (!this.filterMessageHookList.isEmpty()) { for (FilterMessageHook hook : this.filterMessageHookList) { try { hook.filterMessage(context); } catch (Throwable e) { log.error("execute hook error. hookName={}", hook.hookName()); } } } }
Example #4
Source File: DefaultMQPushConsumerImpl.java From reading-and-annotate-rocketmq-3.4.6 with GNU General Public License v3.0 | 4 votes |
public void registerFilterMessageHook(final FilterMessageHook hook) { this.filterMessageHookList.add(hook); log.info("register FilterMessageHook Hook, {}", hook.hookName()); }
Example #5
Source File: DefaultMQPullConsumerImpl.java From reading-and-annotate-rocketmq-3.4.6 with GNU General Public License v3.0 | 4 votes |
public void registerFilterMessageHook(final FilterMessageHook hook) { this.filterMessageHookList.add(hook); log.info("register FilterMessageHook Hook, {}", hook.hookName()); }
Example #6
Source File: PullAPIWrapper.java From reading-and-annotate-rocketmq-3.4.6 with GNU General Public License v3.0 | 4 votes |
public void registerFilterMessageHook(ArrayList<FilterMessageHook> filterMessageHookList) { this.filterMessageHookList = filterMessageHookList; }
Example #7
Source File: DefaultMQPushConsumerImpl.java From rocketmq with Apache License 2.0 | 4 votes |
public void registerFilterMessageHook(final FilterMessageHook hook) { this.filterMessageHookList.add(hook); log.info("register FilterMessageHook Hook, {}", hook.hookName()); }
Example #8
Source File: DefaultMQPullConsumerImpl.java From rocketmq with Apache License 2.0 | 4 votes |
public void registerFilterMessageHook(final FilterMessageHook hook) { this.filterMessageHookList.add(hook); log.info("register FilterMessageHook Hook, {}", hook.hookName()); }
Example #9
Source File: PullAPIWrapper.java From rocketmq with Apache License 2.0 | 4 votes |
public void registerFilterMessageHook(ArrayList<FilterMessageHook> filterMessageHookList) { this.filterMessageHookList = filterMessageHookList; }
Example #10
Source File: DefaultMQPushConsumerImpl.java From RocketMQ-Master-analyze with Apache License 2.0 | 4 votes |
public void registerFilterMessageHook(final FilterMessageHook hook) { this.filterMessageHookList.add(hook); log.info("register FilterMessageHook Hook, {}", hook.hookName()); }
Example #11
Source File: DefaultMQPullConsumerImpl.java From RocketMQ-Master-analyze with Apache License 2.0 | 4 votes |
public void registerFilterMessageHook(final FilterMessageHook hook) { this.filterMessageHookList.add(hook); log.info("register FilterMessageHook Hook, {}", hook.hookName()); }
Example #12
Source File: PullAPIWrapper.java From RocketMQ-Master-analyze with Apache License 2.0 | 4 votes |
public void registerFilterMessageHook(ArrayList<FilterMessageHook> filterMessageHookList) { this.filterMessageHookList = filterMessageHookList; }