All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.hippoom.wechat.mp.autoconfigure.messaging.WeChatMpInboundMessagingConfigurerAdapter Maven / Gradle / Ivy

package com.github.hippoom.wechat.mp.autoconfigure.messaging;

import me.chanjar.weixin.mp.api.WxMpMessageRouter;
import me.chanjar.weixin.mp.api.WxMpService;
import org.springframework.context.annotation.Bean;

public abstract class WeChatMpInboundMessagingConfigurerAdapter {

    @Bean
    protected WxMpMessageRouter wxMpMessageRouter(WxMpService wxMpService) {
        WxMpMessageRouter router = new WxMpMessageRouter(wxMpService);
        configure(router);
        return router;
    }

    protected void configure(WxMpMessageRouter router) {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy