我将如何使用 Jolokia 从骆驼上下文中返回 JSON 数据?

时间:2021-03-16 20:19:49

标签: xml apache-karaf jolokia

我有一个简单的 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>

我如何使用 Jolokia 返回 camelContext 中的所有内容?

0 个答案:

没有答案