💥 dubbo provide HTTP service
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SSM-HTTP-PROVIDER ♻️ 重构代码 Jun 6, 2018
.travis.yml 💚 ci Aug 28, 2017
LICENSE Initial commit Apr 30, 2017
README.md 👥 Add contributor(s). Jul 2, 2018
pom.xml ⬆️ update lib Aug 28, 2017

README.md

QQ群

开发

https://crossoverjie.top/2017/05/02/SSM13/

预览

dubbo-http封面.jpg

简介

将 dubbo 服务对外暴露出http服务。

可供其他任何语言进行调用。

安装

git clone https://github.com/crossoverJie/SSM-DUBBO-HTTP.git

cd SSM-DUBBO-HTTP

mvn clean

mvn install

使用

<dependency>
    <groupId>com.crossoverJie</groupId>
    <artifactId>SSM-HTTP-PROVIDER</artifactId>
    <version>1.0.0</version>
</dependency>

Spring 配置

    <!--dubbo服务暴露为http服务-->
    <bean class="com.crossoverJie.dubbo.http.conf.HttpProviderConf">
        <property name="usePackage">
            <list>
            	   <!--需要暴露服务的接口包名,可多个-->
                <value>com.crossoverJie.api</value>
            </list>
        </property>
    </bean>
    <!--扫描暴露包-->
    <context:component-scan base-package="com.crossoverJie.dubbo.http"/>

联系作者

crossoverJie#gmail.com