| | |
| | | </key>
|
| | | </entry>
|
| | |
|
| | | <!-- 用户注册,账号绑定,邀请好友 ,完成金币任务 -->
|
| | | <!-- 用户注册,账号绑定,邀请好友 ,完成金币任务,红包赠送到期 -->
|
| | | <entry value-ref="redPackMessageListener">
|
| | | <key>
|
| | | <bean class="com.aliyun.openservices.ons.api.bean.Subscription">
|
| | | <property name="topic" value="TOPIC_USER" />
|
| | | <property name="expression"
|
| | | value="inviteSuccess||userAccountBinding||integralTaskFinish" />
|
| | | value="inviteSuccess||userAccountBinding||integralTaskFinish||redPackGift" />
|
| | | </bean>
|
| | | </key>
|
| | | </entry>
|
| | |
| | | </property>
|
| | | </bean>
|
| | |
|
| | | <!-- 应用内口令订阅 -->
|
| | | <bean id="interTokenMessageListener"
|
| | | class="com.yeshi.fanli.util.rocketmq.consumer.token.InterTokenMessageListener"></bean>
|
| | |
|
| | | <!-- Group ID 订阅同一个 Topic,可以创建多个 ConsumerBean -->
|
| | | <bean id="interTokenConsumer" class="com.aliyun.openservices.ons.api.bean.ConsumerBean"
|
| | | init-method="start" destroy-method="shutdown">
|
| | | <property name="properties"> <!--消费者配置信息 -->
|
| | | <props>
|
| | | <prop key="AccessKey">LTAI4FwmTxVCuzTaoZtDiV8z</prop>
|
| | | <prop key="SecretKey">ixWg90QbYFKP6ae5xpAo2P1qwIyll5</prop>
|
| | | <prop key="GROUP_ID">GID_TOKEN</prop>
|
| | | <prop key="NAMESRV_ADDR">http://MQ_INST_1205444665315884_BbaMbxF4.mq-internet-access.mq-internet.aliyuncs.com:80
|
| | | </prop>
|
| | | <prop key="ConsumeThreadNums">50</prop>
|
| | | </props>
|
| | | </property>
|
| | | <property name="subscriptionTable">
|
| | | <map>
|
| | | <!-- 口令到期 -->
|
| | | <entry value-ref="interTokenMessageListener">
|
| | | <key>
|
| | | <bean class="com.aliyun.openservices.ons.api.bean.Subscription">
|
| | | <property name="topic" value="TOPIC_USER" />
|
| | | <property name="expression" value="tokenOutOfDate" />
|
| | | </bean>
|
| | | </key>
|
| | | </entry>
|
| | | </map>
|
| | | </property>
|
| | | </bean>
|
| | |
|
| | | </beans> |