xml - 如何使用 Jolokia 从 camelcontext 返回 JSON 数据?
问题描述
我有一个简单的 testroute.xml:
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
<camelContext xmlns="http://camel.apache.org/schema/blueprint">
<route>
<from uri="timer:simple?period=5000"/>
<setBody>
<simple>Time for a message</simple>
</setBody>
<to uri="stream:out"/>
</route>
</camelContext>
</blueprint>
camelContext
我将如何用 Jolokia归还所有东西?
解决方案
推荐阅读
- javascript - 你如何启动一个对heroku做出反应的快速服务器?
- javascript - 用选择标签计算
- mongodb - 在 Docker 启动期间,我收到此消息:“从管道获取最终孩子的 pid 导致“读取 init-p:对等方重置连接”
- c# - 如何避免 IIS 错误消息中的 Frmework 版本
- r - 如何在 R 中制作具有第一和第三四分位数的箱线图 通过排除中位数(奇数个数据点)计算
- vba - Word 宏:第二台 PC 上的“子或功能未定义”
- python - 如何在一个图中使用 matplotlib 绘制多个 3D 高斯分布
- c++ - 从 PATH 中的 C++ 可执行文件调用本地文件
- angular - 被调用方法中的 TypeScript 数组修改未反映在调用函数中
- jquery - 使用jquery文件上传在上传之前压缩图像