Red Hat Fuse CXF-RS 使用蓝图的最简单案例示例

问题描述

我正在寻找一个使用 CodeReady Blueprint CXF-RS 组件的示例,用于服务器接受 REST POST 和客户端 POST 到外部 REST 接口并将响应返回给原始请求者。 JSON 数据贯穿始终。

 <camelContext id="_context1" xmlns="http://camel.apache.org/schema/blueprint">
        <route id="_route1">
            <from id="_from1" uri="cxfrs:beanId:address">
                <description>Accepts POST from BPMS to change grade in Extenal REST API</description>
            </from>
            <log id="_log1" message="Got here"/>
            <to id="_to1" uri="cxfrs:beanId:address">
                <description>POST to External API with JSON data and return the JSON response to requestor</description>
            </to>
        </route>
    </camelContext>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)