{"id":36443,"date":"2023-03-29T12:25:02","date_gmt":"2023-03-24T14:03:40","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix%e6%98%af%e4%b8%80%e4%b8%aa%e5%bc%80%e6%ba%90%e7%9a%84esb%ef%bc%88%e4%bc%81%e4%b8%9a%e6%9c%8d%e5%8a%a1%e6%80%bb%e7%ba%bf%ef%bc%89%e9%a1%b9%e7%9b%ae%e3%80%82%e8%af%b7%e6%b3%a8\/"},"modified":"2024-04-29T21:00:16","modified_gmt":"2024-04-29T13:00:16","slug":"apache-servicemix%e6%98%af%e4%b8%80%e4%b8%aa%e5%bc%80%e6%ba%90%e7%9a%84esb%ef%bc%88%e4%bc%81%e4%b8%9a%e6%9c%8d%e5%8a%a1%e6%80%bb%e7%ba%bf%ef%bc%89%e9%a1%b9%e7%9b%ae%e3%80%82%e8%af%b7%e6%b3%a8","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix%e6%98%af%e4%b8%80%e4%b8%aa%e5%bc%80%e6%ba%90%e7%9a%84esb%ef%bc%88%e4%bc%81%e4%b8%9a%e6%9c%8d%e5%8a%a1%e6%80%bb%e7%ba%bf%ef%bc%89%e9%a1%b9%e7%9b%ae%e3%80%82%e8%af%b7%e6%b3%a8\/","title":{"rendered":"Apache ServiceMix\u662f\u4e00\u4e2a\u5f00\u6e90\u7684ESB\uff08\u4f01\u4e1a\u670d\u52a1\u603b\u7ebf\uff09\u9879\u76ee\u3002\u8bf7\u6ce8\u610f\uff1a\u6211\u662f\u901a\u8fc7\u673a\u5668\u5b66\u4e60\u751f\u6210\u7684\uff0c\u53ef\u80fd\u6709\u8bef"},"content":{"rendered":"<h1>ServiceMix \u7684\u7b14\u8bb0<\/h1>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Apache ServiceMix \u306b\u3064\u3044\u3066\u8abf\u3079\u305f\u3053\u3068\u3092\u307e\u3068\u3081\u307e\u3059<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8\u3001\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u3092\u8a66\u3057\u3066\u307f\u307e\u3059<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u5185\u5bb9\u306f\u9593\u9055\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059<\/ul>\n<h1>\u5173\u4e8eServiceMix<\/h1>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">http:\/\/servicemix.apache.org\/<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e ESB \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2<\/ul>\n<h1>\u6784\u6210ServiceMix\u7684\u7ec4\u4ef6<\/h1>\n<h2>Apache ActiveMQ is an open-source message broker that serves as an intermediary for sending and receiving messages between systems.<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">http:\/\/activemq.apache.org\/<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">Java Message Service (JMS) \u306e\u30d6\u30ed\u30fc\u30ab\u30fc<\/ul>\n<h2>Apache Camel (\u963f\u5e15\u5947\u9a86\u9a7c)<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">http:\/\/camel.apache.org\/<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u30eb\u30fc\u30eb\u306b\u57fa\u3065\u3044\u3066\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3084\u8abf\u505c\u3092\u3059\u308b\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2<\/ul>\n<h2>Apache CXF is a framework for building and developing web services in Chinese.<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">https:\/\/cxf.apache.org\/<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30a6\u30a7\u30d6\u30b5\u30fc\u30d3\u30b9\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">JAX-WS, JAX-RS \u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30db\u30b9\u30c8\u3059\u308b<\/ul>\n<h2>Apache Karaf \u963f\u5e15\u5947\u5361\u62c9\u592b<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">http:\/\/karaf.apache.org\/<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u4e3b\u306b OSGi \u306e\u30b3\u30f3\u30c6\u30ca<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u30db\u30c3\u30c8\u30c7\u30d7\u30ed\u30a4\u306e\u4ed5\u7d44\u307f\u306a\u3069\u3092\u63d0\u4f9b\u3059\u308b<\/ul>\n<h2>Apache Zookeeper\uff1a\u963f\u5e15\u5947\u52a8\u7269\u56ed\u7ba1\u7406\u5458<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">https:\/\/zookeeper.apache.org\/<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u69cb\u6210\u60c5\u5831\u306e\u5206\u6563\u30ea\u30dd\u30b8\u30c8\u30ea<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">KVM \u306e\u4e00\u7a2e<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">etcd \u307f\u305f\u3044\u306a\u3082\u306e<\/ul>\n<h1>\u76f8\u5173\u4e3b\u9898<\/h1>\n<h2>\u53ef\u6269\u5c55\u670d\u52a1\u7f51\u5173\u63a5\u53e3 (OSGi)<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">https:\/\/www.osgi.org\/<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u30d0\u30f3\u30c9\u30eb\u3059\u308b\u4ed5\u7d44\u307f<\/ul>\n<h2>\u6625\u5b63\u6846\u67b6<\/h2>\n<ul class=\"post-ul\">https:\/\/projects.spring.io\/spring-framework\/<\/ul>\n<h2>\u84dd\u56fe<\/h2>\n<ul class=\"post-ul\">http:\/\/aries.apache.org\/modules\/blueprint.html<\/ul>\n<h1>Maven \u7684\u5b89\u88c5<\/h1>\n<ul class=\"post-ul\">ServiceMix \u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u306b Maven \u304c\u5fc5\u8981\u306b\u306a\u308b\u306e\u3067\u3001\u3053\u3053\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059<\/ul>\n<h2>\u4e0b\u8f7d<\/h2>\n<ul class=\"post-ul\">https:\/\/maven.apache.org\/download.cgi<\/ul>\n<h2>\u5b89\u88c5<\/h2>\n<pre class=\"post-pre\"><code>% mkdir ~\/sfw\/Maven\r\n% mv apache-maven-3.3.9-bin.tar.gz ~\/sfw\/Maven\r\n% cd ~\/sfw\/Maven\r\n% tar zxf apache-maven-3.3.9-bin.tar.gz\r\n<\/code><\/pre>\n<h2>\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf<\/h2>\n<pre class=\"post-pre\"><code>$ vi ~\/.bashrc\r\nexport PATH=${HOME}\/sfw\/Maven\/apache-maven-3.3.9\/bin:${PATH}\r\n$ . ~\/.bashrc\r\n<\/code><\/pre>\n<h2>\u786e\u8ba4\u884c\u52a8<\/h2>\n<pre class=\"post-pre\"><code>$ mvn --version\r\nApache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T01:41:47+09:00)\r\n...\r\n<\/code><\/pre>\n<h2>\u4ee3\u7406\u670d\u52a1\u5668\u8bbe\u7f6e\uff08\u53ef\u9009\uff09<\/h2>\n<ul class=\"post-ul\">\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u63a5\u7d9a\u306b\u30d7\u30ed\u30ad\u30b7\u30fc\u3092\u7d4c\u7531\u3059\u308b\u5834\u5408\u306f\u30d7\u30ed\u30ad\u30b7\u30fc\u30b5\u30fc\u30d0\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3059<\/ul>\n<pre class=\"post-pre\"><code>$ vi ~\/.m2\/settings.xml \r\n&lt;settings&gt;\r\n  &lt;proxies&gt;\r\n    &lt;proxy&gt;\r\n      &lt;host&gt;proxy.example.com&lt;\/host&gt;\r\n      &lt;port&gt;80&lt;\/port&gt;\r\n    &lt;\/proxy&gt;\r\n  &lt;\/proxies&gt;\r\n&lt;\/settings&gt;\r\n<\/code><\/pre>\n<h1>\u5b89\u88c5ServiceMix<\/h1>\n<h2>\u521b\u5efa\u7528\u6237<\/h2>\n<pre class=\"post-pre\"><code># usearadd smix\r\n# passwd smix\r\nPassword: smix\r\n<\/code><\/pre>\n<h2>\u786e\u8ba4 Java \u865a\u62df\u673a<\/h2>\n<pre class=\"post-pre\"><code>$ java -version\r\njava version \"1.8.0_60\"\r\nJava(TM) SE Runtime Environment (build 1.8.0_60-b27)\r\nJava HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059<\/ul>\n<h2>\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf<\/h2>\n<pre class=\"post-pre\"><code>$ vi ~\/.bashrc\r\nexport JAVA_HOME=\/usr\/lib\/jvm\/java\r\n$ . ~\/.bashrc\r\n<\/code><\/pre>\n<h2>\u4e0b\u8f7d ServiceMix<\/h2>\n<ul class=\"post-ul\">http:\/\/servicemix.apache.org\/downloads.html<\/ul>\n<h2>\u5b89\u88c5ServiceMix<\/h2>\n<pre class=\"post-pre\"><code>$ mkdir -p ~\/sfw\/\/ServiceMix\r\n$ cp apache-servicemix-6.1.0.zip ~\/sfw\/ServiceMix\r\n$ cd ~\/sfw\/ServiceMix\r\n$ unzip -q apache-servicemix-6.1.0.zip\r\n$ cd apache-servicemix-6.1.0\r\n<\/code><\/pre>\n<h2>\u5728\u4e2d\u56fd\uff0cServiceMix\u7684\u542f\u52a8\u786e\u8ba4\u3002<\/h2>\n<pre class=\"post-pre\"><code>$ cd ~\/sfw\/ServiceMix\/apache-servicemix-6.1.0\r\n$ .\/bin\/servicemix\r\nPlease wait while Apache ServiceMix is starting...\r\n100% [========================================================================]\r\n\r\nKaraf started in 5s. Bundle stats: 236 active, 236 total\r\n ____                  _          __  __ _      \r\n\/ ___|  ___ _ ____   _(_) ___ ___|  \\\/  (_)_  __\r\n\\___ \\ \/ _ \\ '__\\ \\ \/ \/ |\/ __\/ _ \\ |\\\/| | \\ \\\/ \/\r\n ___) |  __\/ |   \\ V \/| | (_|  __\/ |  | | |&gt;  &lt; \r\n|____\/ \\___|_|    \\_\/ |_|\\___\\___|_|  |_|_\/_\/\\_\\\r\n\r\n  Apache ServiceMix (6.1.0)\r\n\r\nHit '&lt;tab&gt;' for a list of available commands\r\nand '[cmd] --help' for help on a specific command.\r\nHit '&lt;ctrl-d&gt;' or 'osgi:shutdown' to shutdown ServiceMix.\r\n\r\nkaraf@root&gt;\r\n<\/code><\/pre>\n<h1>\u5c1d\u8bd5\u4f7f\u7528Apache ServiceMix\u7684\u5feb\u901f\u5165\u95e8<\/h1>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u4ee5\u4e0b\u306f Apache ServiceMix \u306e\u6700\u65b0\u7248\u306e\u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8\u3092\u8a66\u3057\u305f\u8a18\u9332\u3067\u3059<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306f\u4ee5\u4e0b\u306b\u3042\u308a\u307e\u3059<\/ul>\n<\/li>\n<\/ul>\n<p>http:\/\/servicemix.apache.org\/docs\/6.x\/quickstart\/index.html<\/p>\n<h2>\u6e38\u620f\u673a<\/h2>\n<ul class=\"post-ul\">ServiceMix \u306e\u7ba1\u7406\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u4f7f\u3044\u65b9\u3092\u78ba\u8a8d\u3057\u307e\u3059<\/ul>\n<h3>\u63a7\u5236\u53f0\u5e2e\u52a9<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">help \u3084 help<\/ul>\n<\/li>\n<\/ul>\n<p><command><\/command> \u3067\u30d8\u30eb\u30d7\u3092\u53c2\u7167\u3067\u304d\u307e\u3059<br \/>\n<command><\/command>help<\/p>\n<pre class=\"post-pre\"><code>karaf@root&gt;help bundle\r\nCOMMANDS\r\nbundle:capabilities   Displays OSGi capabilities of a given bundles.     \r\nbundle:classes        Displays a list of classes\/resources contained in  \r\nbundle:diag           Displays diagnostic information why a bundle is no \r\nbundle:dynamic-import Enables\/disables dynamic-import for a given bundle.\r\nbundle:find-class     Locates a specified class in any deployed bundle   \r\nbundle:headers        Displays OSGi headers of a given bundles.          \r\n...\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">help<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code>karaf@root&gt;help bundle:list\r\nDESCRIPTION\r\n        bundle:list\r\n\r\n    Lists all installed bundles.\r\n\r\nSYNTAX\r\n        bundle:list [options]\r\n\r\nOPTIONS\r\n        -t\r\n                Specifies the bundle threshold; bundles with a start-level less \r\n                than this value will not get printed out.\r\n        --help\r\n                Display this help message\r\n...\r\n<\/code><\/pre>\n<h3>\u5404\u79cd\u786e\u8ba4\u6307\u4ee4 (G\u00e8<\/h3>\n<pre class=\"post-pre\"><code>karaf@root&gt;help | grep list\r\nbundle:classes                    Displays a list of classes\/resources c \r\nbundle:list                       Lists all installed bundles.           \r\ncamel:component-list              Lists all Camel components that are in \r\ncamel:context-list                Lists all Camel contexts.              \r\ncamel:endpoint-list               Lists Camel endpoints                  \r\ncamel:rest-registry-list          Lists all Camel REST services enlisted \r\ncamel:route-list                  List Camel routes.                     \r\nconfig:list                       Lists existing configurations.         \r\nconfig:property-list              Lists properties from the currently ed \r\nfeature:list                      Lists all existing features available  \r\nfeature:repo-list                 Displays a list of all defined reposit \r\nfeature:version-list              Lists all versions of a feature availa \r\nhttp:list                         Lists details for servlets.            \r\ninstance:list                     Lists all existing container instances.\r\njaas:group-list                   List groups in a realm                 \r\njaas:pending-list                 List the pending modification on the a \r\njaas:realm-list                   List JAAS realms                       \r\njaas:user-list                    List the users of the selected JAAS re \r\nkar:create                        Create a kar file for a list of featur \r\nkar:list                          List the installed KAR files.          \r\nobr:deploy                        Deploys a list of bundles using OBR se \r\nobr:list                          Lists OBR bundles, optionally providin \r\nobr:start                         Deploys and starts a list of bundles u \r\nobr:url-add                       Adds a list of repository URLs to the  \r\nobr:url-list                      Displays the repository URLs currently \r\nobr:url-remove                    Removes a list of repository URLs from \r\nservice:list                      Lists OSGi services.                   \r\nshell:each                        Execute a closure on a list of argumen \r\nweb:list                          Lists details for war bundles.         \r\nkaraf@root&gt;help | grep display\r\nlog:display                       Displays log entries.                  \r\nlog:exception-display             Displays the last occurred exception f \r\nlog:tail                          Continuously display log entries. Use  \r\n<\/code><\/pre>\n<h3>\u786e\u8ba4\u6346\u7ed1\u7ec4\u5408<\/h3>\n<ul class=\"post-ul\">bundle:list<\/ul>\n<pre class=\"post-pre\"><code>karaf@root&gt;bundle:list | head\r\nSTART LEVEL 100 , List Threshold: 50\r\n ID | State  | Lvl | Version                            | Name                                           \r\n---------------------------------------------------------------------------------------------------------\r\n 97 | Active |  50 | 1.1.1                              | geronimo-annotation_1.0_spec                   \r\n 98 | Active |  50 | 1.1.1                              | geronimo-jms_1.1_spec                          \r\n 99 | Active |  50 | 1.0.1                              | geronimo-j2ee-management_1.1_spec              \r\n100 | Active |  50 | 0.6.4                              | JAXB2 Basics - Runtime                         \r\n101 | Active |  50 | 2.2.11.1                           | Apache ServiceMix :: Bundles :: jaxb-impl      \r\n102 | Active |  50 | 2.4.2                              | Apache Commons Pool                            \r\n103 | Active |  50 | 3.3.0                              | Commons Net\r\n<\/code><\/pre>\n<h3>\u53ef\u4ee5\u4f7f\u7528\u7ba1\u9053\u548cgrep\u547d\u4ee4\uff08\u7ed3\u679c\u4f1a\u4ee5\u4e0d\u540c\u7684\u989c\u8272\u663e\u793a\uff09<\/h3>\n<pre class=\"post-pre\"><code>karaf@root&gt;bundle:list | grep camel\r\n136 | Active |  50 | 2.16.1                             | camel-core\r\n137 | Active |  50 | 2.16.1                             | camel-catalog\r\n139 | Active |  50 | 2.16.1                             | camel-jms\r\n140 | Active |  50 | 2.16.1                             | camel-spring\r\n141 | Active |  50 | 2.16.1                             | camel-blueprint\r\n142 | Active |  50 | 5.12.1                             | activemq-camel\r\n<\/code><\/pre>\n<h3>\u67e5\u770b\u65e5\u5fd7<\/h3>\n<pre class=\"post-pre\"><code>karaf@root&gt;log:display\r\n2016-01-25 17:20:27,731 | INFO  | FelixStartLevel  | NamespaceHandlerRegisterer       | 173 - org.apache.cxf.cxf-core - 3.1.4 | Registered blueprint namespace handler for http:\/\/cxf.apache.org\/blueprint\/core\r\n2016-01-25 17:20:27,732 | INFO  | FelixStartLevel  | NamespaceHandlerRegisterer       | 173 - org.apache.cxf.cxf-core - 3.1.4 | Registered blueprint namespace handler for http:\/\/cxf.apache.org\/configuration\/beans\r\n2016-01-25 17:20:27,733 | INFO  | FelixStartLevel  | NamespaceHandlerRegisterer       | 173 - org.apache.cxf.cxf-core - 3.1.4 | Registered blueprint namespace handler for http:\/\/cxf.apache.org\/configuration\/parameterized-types\r\n2016-01-25 17:20:27,734 | INFO  | FelixStartLevel  | NamespaceHandlerRegisterer       | 173 - org.apache.cxf.cxf-core - 3.1.4 | Registered blueprint namespace handler for http:\/\/cxf.apache.org\/configuration\/security\r\n2016-01-25 17:20:27,735 | INFO  | FelixStartLevel  | NamespaceHandlerRegisterer       | 173 - org.apache.cxf.cxf-core - 3.1.4 | Registered blueprint namespace handler for http:\/\/schemas.xmlsoap.org\/wsdl\/\r\n<\/code><\/pre>\n<h3>\u53ea\u663e\u793a\u5f02\u5e38<\/h3>\n<pre class=\"post-pre\"><code>karaf@root&gt;log:exception-display\r\n<\/code><\/pre>\n<h3>\u66f4\u6539\u65e5\u5fd7\u8f93\u51fa\u7ea7\u522b<\/h3>\n<pre class=\"post-pre\"><code>karaf@root&gt;log:get\r\nLogger | Level\r\n--------------\r\nROOT   | INFO \r\nkaraf@root&gt;log:set DEBUG\r\nkaraf@root&gt;log:display | grep DEBUG | head\r\n2016-01-25 17:58:00,671 | DEBUG | pe-[log:display] | configadmin                      | 6 - org.apache.felix.configadmin - 1.8.4 | getProperties()\r\n2016-01-25 17:58:00,671 | DEBUG | pe-[log:display] | configadmin                      | 6 - org.apache.felix.configadmin - 1.8.4 | getProperties()\r\n2016-01-25 17:58:00,671 | DEBUG | pipe-[head, +5]  | configadmin                      | 6 - org.apache.felix.configadmin - 1.8.4 | getProperties()\r\n2016-01-25 17:58:00,672 | DEBUG | pe-[grep, DEBUG] | configadmin                      | 6 - org.apache.felix.configadmin - 1.8.4 | getProperties()\r\n2016-01-25 17:58:00,672 | DEBUG | pe-[log:display] | configadmin                      | 6 - org.apache.felix.configadmin - 1.8.4 | getProperties()\r\n...\r\n<\/code><\/pre>\n<h3>\u5c06\u65e5\u5fd7\u7ea7\u522b\u6062\u590d\u5230\u539f\u59cb\u72b6\u6001<\/h3>\n<pre class=\"post-pre\"><code>karaf@root&gt;log:get\r\nLogger | Level\r\n--------------\r\nROOT   | DEBUG\r\nkaraf@root&gt;log:set INFO\r\nkaraf@root&gt;log:get\r\nLogger | Level\r\n--------------\r\nROOT   | INFO \r\n<\/code><\/pre>\n<h2>\u9a86\u9a7c<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Apache Camel \u306f\u30eb\u30fc\u30eb\u306b\u57fa\u3065\u3044\u3066\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3084\u8abf\u505c\u3092\u3059\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3059<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f Blueprint XML \u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u5b9a\u7fa9\u3057\u307e\u3059<\/ul>\n<h3>\u51c6\u5907\u84dd\u56fe XML \u6587\u4ef6<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u3053\u306e\u4f8b\u3067\u306f camel\/input \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u914d\u7f6e\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092 camel\/output \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u81ea\u52d5\u7684\u306b\u79fb\u52d5\u3059\u308b\u3068\u3044\u3046\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u30eb\u30fc\u30eb\u3092\u8a2d\u5b9a\u3057\u307e\u3059<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30d5\u30a1\u30a4\u30eb\u540d\u306f quickstart1.xml \u3068\u3057\u3001deploy \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e0b\u306b\u914d\u7f6e\u3057\u307e\u3059<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f ServiceMix \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u3059<\/ul>\n<pre class=\"post-pre\"><code><span class=\"cp\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;<\/span>\r\n<span class=\"nt\">&lt;blueprint<\/span>\r\n    <span class=\"na\">xmlns=<\/span><span class=\"s\">\"http:\/\/www.osgi.org\/xmlns\/blueprint\/v1.0.0\"<\/span>\r\n    <span class=\"na\">xmlns:xsi=<\/span><span class=\"s\">\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"<\/span>\r\n    <span class=\"na\">xsi:schemaLocation=<\/span><span class=\"s\">\"\r\n      http:\/\/www.osgi.org\/xmlns\/blueprint\/v1.0.0\r\n      http:\/\/www.osgi.org\/xmlns\/blueprint\/v1.0.0\/blueprint.xsd\"<\/span><span class=\"nt\">&gt;<\/span>\r\n\r\n    <span class=\"nt\">&lt;camelContext<\/span> <span class=\"na\">xmlns=<\/span><span class=\"s\">\"http:\/\/camel.apache.org\/schema\/blueprint\"<\/span><span class=\"nt\">&gt;<\/span>\r\n      <span class=\"nt\">&lt;route&gt;<\/span>\r\n        <span class=\"nt\">&lt;from<\/span> <span class=\"na\">uri=<\/span><span class=\"s\">\"file:camel\/input\"<\/span><span class=\"nt\">\/&gt;<\/span>\r\n        <span class=\"nt\">&lt;log<\/span> <span class=\"na\">message=<\/span><span class=\"s\">\"Moving ${file:name} to the output directory\"<\/span><span class=\"nt\">\/&gt;<\/span>\r\n        <span class=\"nt\">&lt;to<\/span> <span class=\"na\">uri=<\/span><span class=\"s\">\"file:camel\/output\"<\/span><span class=\"nt\">\/&gt;<\/span>\r\n      <span class=\"nt\">&lt;\/route&gt;<\/span>\r\n    <span class=\"nt\">&lt;\/camelContext&gt;<\/span>\r\n\r\n<span class=\"nt\">&lt;\/blueprint&gt;<\/span>\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">route \u30bf\u30b0\u306e\u4e2d\u304c\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u30eb\u30fc\u30eb\u3067\u3059<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">from uri= \u3067\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b file:camel\/input \u304c\u79fb\u52d5\u5143\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">to uri= \u3067\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b file:camel\/output \u304c\u79fb\u52d5\u5148\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">log message= \u3067\u30ed\u30b0\u3092\u51fa\u529b\u3057\u307e\u3059<\/ul>\n<h3>\u68c0\u67e5\u84dd\u56feXML\u6587\u4ef6\u7684\u52a0\u8f7d<\/h3>\n<ul class=\"post-ul\">deploy\/quickstart1.xml \u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u52d5\u3067\u8aad\u307f\u8fbc\u307e\u308c\u307e\u3059<\/ul>\n<pre class=\"post-pre\"><code>karaf@root&gt;log:display\r\n...\r\n2016-01-26 14:07:23,584 | INFO  | mix-6.1.0\/deploy | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.5.0 | Installing bundle quickstart1.xml \/ 0.0.0\r\n2016-01-26 14:07:24,345 | WARN  | mix-6.1.0\/deploy | DefaultTypeConverter             | 136 - org.apache.camel.camel-core - 2.16.1 | Overriding type converter from: StaticMethodTypeConverter: public static org.apache.activemq.command.ActiveMQDestination org.apache.activemq.camel.converter.ActiveMQConverter.toDestination(java.lang.String) to: StaticMethodTypeConverter: public static org.apache.activemq.command.ActiveMQDestination org.apache.activemq.camel.converter.ActiveMQConverter.toDestination(java.lang.String)\r\n2016-01-26 14:07:24,345 | WARN  | mix-6.1.0\/deploy | DefaultTypeConverter             | 136 - org.apache.camel.camel-core - 2.16.1 | Overriding type converter from: InstanceMethodTypeConverter: public org.apache.camel.Processor org.apache.activemq.camel.converter.ActiveMQMessageConverter.toProcessor(javax.jms.MessageListener) to: InstanceMethodTypeConverter: public org.apache.camel.Processor org.apache.activemq.camel.converter.ActiveMQMessageConverter.toProcessor(javax.jms.MessageListener)\r\n2016-01-26 14:07:24,345 | WARN  | mix-6.1.0\/deploy | DefaultTypeConverter             | 136 - org.apache.camel.camel-core - 2.16.1 | Overriding type converter from: InstanceMethodTypeConverter: public org.apache.activemq.command.ActiveMQMessage org.apache.activemq.camel.converter.ActiveMQMessageConverter.toMessage(org.apache.camel.Exchange) throws javax.jms.JMSException to: InstanceMethodTypeConverter: public org.apache.activemq.command.ActiveMQMessage org.apache.activemq.camel.converter.ActiveMQMessageConverter.toMessage(org.apache.camel.Exchange) throws javax.jms.JMSException\r\n2016-01-26 14:07:24,376 | INFO  | mix-6.1.0\/deploy | BlueprintCamelContext            | 136 - org.apache.camel.camel-core - 2.16.1 | Apache Camel 2.16.1 (CamelContext: camel-1) is starting\r\n2016-01-26 14:07:24,377 | INFO  | mix-6.1.0\/deploy | ManagedManagementStrategy        | 136 - org.apache.camel.camel-core - 2.16.1 | JMX is enabled\r\n2016-01-26 14:07:24,455 | INFO  | mix-6.1.0\/deploy | DefaultRuntimeEndpointRegistry   | 136 - org.apache.camel.camel-core - 2.16.1 | Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000)\r\n2016-01-26 14:07:24,520 | INFO  | mix-6.1.0\/deploy | BlueprintCamelContext            | 136 - org.apache.camel.camel-core - 2.16.1 | AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.\r\n2016-01-26 14:07:24,520 | INFO  | mix-6.1.0\/deploy | BlueprintCamelContext            | 136 - org.apache.camel.camel-core - 2.16.1 | StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http:\/\/camel.apache.org\/stream-caching.html\r\n2016-01-26 14:07:24,566 | INFO  | mix-6.1.0\/deploy | BlueprintCamelContext            | 136 - org.apache.camel.camel-core - 2.16.1 | Route: route1 started and consuming from: Endpoint[file:\/\/camel\/input]\r\n2016-01-26 14:07:24,567 | INFO  | mix-6.1.0\/deploy | BlueprintCamelContext            | 136 - org.apache.camel.camel-core - 2.16.1 | Total 1 routes, of which 1 is started.\r\n2016-01-26 14:07:24,570 | INFO  | mix-6.1.0\/deploy | BlueprintCamelContext            | 136 - org.apache.camel.camel-core - 2.16.1 | Apache Camel 2.16.1 (CamelContext: camel-1) started in 0.192 seconds\r\n2016-01-26 14:07:24,580 | INFO  | mix-6.1.0\/deploy | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.5.0 | Started bundle: blueprint:file:\/root\/ServiceMix\/apache-servicemix-6.1.0\/deploy\/quickstart1.xml\r\n<\/code><\/pre>\n<h3>\u786e\u8ba4\u76ee\u5f55\u5df2\u521b\u5efa<\/h3>\n<ul class=\"post-ul\">\u81ea\u52d5\u3067 camel\/input \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059<\/ul>\n<pre class=\"post-pre\"><code># ls camel\r\ninput\r\n<\/code><\/pre>\n<h3>\u786e\u8ba4\u6587\u4ef6\u7684\u79fb\u52a8<\/h3>\n<ul class=\"post-ul\">camel\/input \u4ee5\u4e0b\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u914d\u7f6e\u3059\u308b\u3068\u3001\u81ea\u52d5\u7684\u306b camel\/output \u4ee5\u4e0b\u306b\u79fb\u52d5\uff08\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\uff09\u3055\u308c\u307e\u3059<\/ul>\n<pre class=\"post-pre\"><code># touch camel\/input\/testfile.xml\r\n# ls camel\/input\/testfile.xml\r\nls: cannot access camel\/input\/testfile.xml: No such file or directory\r\n# ls camel\/output\/\r\ntestfile.xml\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\u30d5\u30a1\u30a4\u30eb\u306e\u79fb\u52d5\u306f\u30ed\u30b0\u306b\u3082\u51fa\u529b\u3055\u308c\u307e\u3059<\/ul>\n<pre class=\"post-pre\"><code>karaf@root&gt;log:display | tail\r\n...\r\n2016-01-26 14:20:36,967 | INFO  | le:\/\/camel\/input | route1                           | 136 - org.apache.camel.camel-core - 2.16.1 | Moving testfile.xml to the output directory\r\n<\/code><\/pre>\n<h3>\u786e\u8ba4\u4e00\u4e0b\u662f\u5426\u5df2\u7ecf\u6ce8\u518c\u5728\u5305\u88c5\u4e2d\u3002<\/h3>\n<ul class=\"post-ul\">deploy\/quickstart1.xml \u306b\u914d\u7f6e\u3057\u305f Blueprint XML \u304c\u30d0\u30f3\u30c9\u30eb\u3068\u3057\u3066\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059<\/ul>\n<pre class=\"post-pre\"><code>karaf@root&gt;bundle:list | grep quickstart1.xml\r\n237 | Active |  80 | 0.0.0                              | quickstart1.xml                                \r\n<\/code><\/pre>\n<h3>\u505c\u6b62\u6346\u7ed1<\/h3>\n<ul class=\"post-ul\">bundle:stop \u3067\u30d0\u30f3\u30c9\u30eb\u3092\u505c\u6b62\u3067\u304d\u307e\u3059<\/ul>\n<pre class=\"post-pre\"><code>karaf@root&gt;bundle:stop 237\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\u30b9\u30c6\u30fc\u30bf\u30b9\u304c Resolved \u306b\u5909\u66f4\u3055\u308c\u307e\u3057\u305f<\/ul>\n<pre class=\"post-pre\"><code>karaf@root&gt;bundle:list | grep quickstart1.xml\r\n237 | Resolved |  80 | 0.0.0                              | quickstart1.xml                                \r\n<\/code><\/pre>\n<ul class=\"post-ul\">\u30d5\u30a1\u30a4\u30eb\u3082\u79fb\u52d5\u3055\u308c\u306a\u304f\u306a\u308a\u307e\u3059<\/ul>\n<pre class=\"post-pre\"><code># touch camel\/input\/testfile2.xml\r\n# ls camel\/input\/testfile2.xml\r\ncamel\/input\/testfile2.xml\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\u505c\u6b62\u3057\u305f\u30d0\u30f3\u30c9\u30eb\u306f bundle:start \u3067\u518d\u958b\u3067\u304d\u307e\u3059<\/ul>\n<pre class=\"post-pre\"><code>karaf@root&gt;bundle:start 237\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\u30b9\u30c6\u30fc\u30bf\u30b9\u304c\u518d\u3073 Active \u306b\u306a\u308a\u307e\u3057\u305f<\/ul>\n<pre class=\"post-pre\"><code>karaf@root&gt;bundle:list | grep quickstart1.xml\r\n237 | Active |  80 | 0.0.0                              | quickstart1.xml                                \r\n<\/code><\/pre>\n<h2>ActiveMQ \u4e3b\u52a8\u6d88\u606f\u961f\u5217<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">ActiveMQ \u306f Java Message Service (JMS) \u306e\u30d6\u30ed\u30fc\u30ab\u30fc\u3067\u3059<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u79fb\u52d5\u306e\u30a4\u30d9\u30f3\u30c8\u3092 ActiveMQ \u306b\u901a\u77e5\u3057\u3001\u30ed\u30b0\u306b\u51fa\u529b\u3057\u307e\u3059<\/ul>\n<h3>\u51c6\u5907\u84dd\u56feXML\u6587\u4ef6\u3002<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30d5\u30a1\u30a4\u30eb\u306e\u79fb\u52d5\u3092 ActiveMQ \u306b\u901a\u77e5\u3059\u308b Blueprint XML \u30d5\u30a1\u30a4\u30eb\u3092\u6e96\u5099\u3057\u307e\u3059<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">deploy\/quickstart2.xml \u30d5\u30a1\u30a4\u30eb\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059<\/ul>\n<pre class=\"post-pre\"><code><span class=\"cp\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;<\/span>\r\n<span class=\"nt\">&lt;blueprint<\/span>\r\n    <span class=\"na\">xmlns=<\/span><span class=\"s\">\"http:\/\/www.osgi.org\/xmlns\/blueprint\/v1.0.0\"<\/span>\r\n    <span class=\"na\">xmlns:xsi=<\/span><span class=\"s\">\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"<\/span>\r\n    <span class=\"na\">xsi:schemaLocation=<\/span><span class=\"s\">\"\r\n      http:\/\/www.osgi.org\/xmlns\/blueprint\/v1.0.0\r\n      http:\/\/www.osgi.org\/xmlns\/blueprint\/v1.0.0\/blueprint.xsd\"<\/span><span class=\"nt\">&gt;<\/span>\r\n\r\n    <span class=\"nt\">&lt;camelContext<\/span> <span class=\"na\">xmlns=<\/span><span class=\"s\">\"http:\/\/camel.apache.org\/schema\/blueprint\"<\/span><span class=\"nt\">&gt;<\/span>\r\n      <span class=\"nt\">&lt;route&gt;<\/span>\r\n        <span class=\"nt\">&lt;from<\/span> <span class=\"na\">uri=<\/span><span class=\"s\">\"file:activemq\/input\"<\/span><span class=\"nt\">\/&gt;<\/span>\r\n        <span class=\"nt\">&lt;to<\/span> <span class=\"na\">uri=<\/span><span class=\"s\">\"file:activemq\/output\"<\/span><span class=\"nt\">\/&gt;<\/span>\r\n\r\n        <span class=\"nt\">&lt;setBody&gt;<\/span>\r\n          <span class=\"nt\">&lt;simple&gt;<\/span>\r\n            FileMovedEvent(file: ${file:name}, timestamp: ${date:now:hh:MM:ss.SSS})\r\n          <span class=\"nt\">&lt;\/simple&gt;<\/span>\r\n        <span class=\"nt\">&lt;\/setBody&gt;<\/span>\r\n        <span class=\"nt\">&lt;to<\/span> <span class=\"na\">uri=<\/span><span class=\"s\">\"activemq:\/\/events\"<\/span> <span class=\"nt\">\/&gt;<\/span>\r\n      <span class=\"nt\">&lt;\/route&gt;<\/span>\r\n    <span class=\"nt\">&lt;\/camelContext&gt;<\/span>\r\n<span class=\"nt\">&lt;\/blueprint&gt;<\/span>\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">activemq\/input \u306b\u6765\u305f\u30d5\u30a1\u30a4\u30eb\u3092 activemq\/output \u306b\u79fb\u52d5\u3057\u307e\u3059<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u542b\u3093\u3060\u30e1\u30c3\u30bb\u30fc\u30b8\u3092 ActiveMQ \u306e\u30ad\u30e5\u30fc\u306b\u8ffd\u52a0\u3057\u307e\u3059<\/ul>\n<h3>\u786e\u8ba4\u6346\u7ed1<\/h3>\n<ul class=\"post-ul\">bundle:list \u3067\u30d0\u30f3\u30c9\u30eb\u3068\u3057\u3066\u767b\u9332\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059<\/ul>\n<pre class=\"post-pre\"><code>karaf@root&gt;bundle:list | tail\r\n...\r\n238 | Active |  80 | 0.0.0                              | quickstart2.xml                                \r\n<\/code><\/pre>\n<h3>\u786e\u8ba4\u6587\u4ef6\u79fb\u52a8<\/h3>\n<pre class=\"post-pre\"><code># ls activemq\/input\/\r\n# touch activemq\/input\/testfile.txt\r\n# ls activemq\/input\/\r\n# ls activemq\/output\r\ntestfile.txt\r\n<\/code><\/pre>\n<h3>\u51c6\u5907\u63d0\u53d6ActiveMQ\u961f\u5217\u5185\u5bb9\u7684Blueprint XML\u6587\u4ef6\u3002<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">ActiveMQ \u306e\u30ad\u30e5\u30fc\u306b\u5165\u3063\u3066\u3044\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30ed\u30b0\u306b\u51fa\u529b\u3059\u308b Blueprint XML \u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">deploy\/quickstart3.xml \u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059<\/ul>\n<pre class=\"post-pre\"><code><span class=\"cp\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;<\/span>\r\n<span class=\"nt\">&lt;blueprint<\/span>\r\n    <span class=\"na\">xmlns=<\/span><span class=\"s\">\"http:\/\/www.osgi.org\/xmlns\/blueprint\/v1.0.0\"<\/span>\r\n    <span class=\"na\">xmlns:xsi=<\/span><span class=\"s\">\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"<\/span>\r\n    <span class=\"na\">xsi:schemaLocation=<\/span><span class=\"s\">\"\r\n      http:\/\/www.osgi.org\/xmlns\/blueprint\/v1.0.0\r\n      http:\/\/www.osgi.org\/xmlns\/blueprint\/v1.0.0\/blueprint.xsd\"<\/span><span class=\"nt\">&gt;<\/span>\r\n\r\n    <span class=\"nt\">&lt;camelContext<\/span> <span class=\"na\">xmlns=<\/span><span class=\"s\">\"http:\/\/camel.apache.org\/schema\/blueprint\"<\/span><span class=\"nt\">&gt;<\/span>\r\n      <span class=\"nt\">&lt;route&gt;<\/span>\r\n        <span class=\"nt\">&lt;from<\/span> <span class=\"na\">uri=<\/span><span class=\"s\">\"activemq:\/\/events\"<\/span><span class=\"nt\">\/&gt;<\/span>\r\n        <span class=\"nt\">&lt;to<\/span> <span class=\"na\">uri=<\/span><span class=\"s\">\"log:events\"<\/span><span class=\"nt\">\/&gt;<\/span>\r\n      <span class=\"nt\">&lt;\/route&gt;<\/span>\r\n    <span class=\"nt\">&lt;\/camelContext&gt;<\/span>\r\n<span class=\"nt\">&lt;\/blueprint&gt;<\/span>\r\n<\/code><\/pre>\n<h3>\u67e5\u770b\u65e5\u5fd7<\/h3>\n<ul class=\"post-ul\">log:display \u30b3\u30de\u30f3\u30c9\u3067\u30ed\u30b0\u306b\u51fa\u529b\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059<\/ul>\n<pre class=\"post-pre\"><code>karaf@root&gt;log:display | tail\r\n...\r\n2016-01-26 16:17:48,800 | INFO  | Consumer[events] | events                           | 136 - org.apache.camel.camel-core - 2.16.1 | Exchange[ExchangePattern: InOnly, BodyType: String, Body: FileMovedEvent(file: testfile.txt, timestamp: 04:01:22.038)]\r\n<\/code><\/pre>\n<h2>\u529f\u80fd\u7684\u7ba1\u7406<\/h2>\n<h3>\u786e\u8ba4\u529f\u80fd<\/h3>\n<ul class=\"post-ul\">feature:list \u3067\u6a5f\u80fd\u4e00\u89a7\u3092\u8868\u793a\u3067\u304d\u307e\u3059<\/ul>\n<pre class=\"post-pre\"><code>karaf@root&gt;feature:list | grep webconsole\r\nwebconsole                              | 3.0.5            |           | standard-3.0.5              | Base support of the Karaf WebConsole              \r\n<\/code><\/pre>\n<ul class=\"post-ul\">feature:info \u3067\u8a73\u7d30\u60c5\u5831\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059<\/ul>\n<pre class=\"post-pre\"><code>karaf@root&gt;feature:info webconsole\r\nFeature webconsole 3.0.5\r\nDescription:\r\n  Base support of the Karaf WebConsole\r\nFeature configuration:\r\n  org.apache.karaf.webconsole\r\nFeature has no configuration files\r\nFeature depends on:\r\n  http 0.0.0\r\nFeature contains followed bundles:\r\n  mvn:org.apache.felix\/org.apache.felix.metatype\/1.0.12 start-level=30\r\n  mvn:org.apache.karaf.webconsole\/org.apache.karaf.webconsole.branding\/3.0.5 start-level=30\r\n  mvn:org.apache.karaf.webconsole\/org.apache.karaf.webconsole.console\/3.0.5 start-level=30\r\nFeature contains followed conditionals:\r\nConditional(eventadmin\/0.0.0) has no configuration\r\nConditional(eventadmin\/0.0.0) has no configuration files\r\nConditional(eventadmin\/0.0.0) has no dependencies.\r\nConditional(eventadmin\/0.0.0) contains followed bundles:\r\n  mvn:org.apache.felix\/org.apache.felix.webconsole.plugins.event\/1.1.2 start-level=30\r\nConditional(scr\/0.0.0) has no configuration\r\nConditional(scr\/0.0.0) has no configuration files\r\nConditional(scr\/0.0.0) has no dependencies.\r\nConditional(scr\/0.0.0) contains followed bundles:\r\n  mvn:org.apache.felix\/org.apache.felix.webconsole.plugins.ds\/1.0.0 start-level=30\r\n<\/code><\/pre>\n<h3>\u589e\u52a0\u529f\u80fd<\/h3>\n<ul class=\"post-ul\">feature:install \u3067\u6a5f\u80fd\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059<\/ul>\n<pre class=\"post-pre\"><code>karaf@root&gt;feature:install webconsole\r\nkaraf@root&gt;feature:list | grep webconsole\r\nwebconsole                              | 3.0.5            | x         | standard-3.0.5              | Base support of the Karaf WebConsole\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">webconsole \u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f Maven \u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">webconsole \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068 http:\/\/localhost:8181\/system\/console \u304b\u3089 smx\/smx \u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u64cd\u4f5c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u6a5f\u80fd\u306e\u524a\u9664\u306f feature:uninstall \u3067\u3059<\/ul>\n<pre class=\"post-pre\"><code>karaf@root&gt;feature:uninstall webconsole\r\nkaraf@root&gt;feature:list | grep webconsole\r\nwebconsole                              | 3.0.5            |           | standard-3.0.5              | Base support of the Karaf WebConsole\r\n<\/code><\/pre>\n<h1>\u5c1d\u8bd5\u6267\u884c\u793a\u4f8b\u4ee3\u7801<\/h1>\n<h2>\u4e00\u4efd\u9884\u8bbe\u7684\u793a\u4f8b\u4ee3\u7801\u6e05\u5355<\/h2>\n<pre class=\"post-pre\"><code>karaf@root&gt;feature:list | grep example\r\nexamples-activemq-camel-blueprint       | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-cxf-osgi                       | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-cxf-jaxrs                      | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-cxf-jaxrs-blueprint            | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-cxf-jaxws-blueprint            | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-camel-sql-derby                | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-camel-sql-pgsql                | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-camel-sql-h2                   | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-camel-osgi                     | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-camel-blueprint                | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-camel-drools                   | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-camel-drools-blueprint         | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-camel-cxf-rest                 | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-camel-cxf-soap                 | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-cxf-ws-addressing              | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-cxf-ws-security-osgi           | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-cxf-ws-security-blueprint      | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-cxf-ws-security-signature      | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-cxf-ws-rm                      | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-cxf-wsn-receive                | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-cxf-wsn-notifier               | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-activiti-camel                 | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-akka-camel                     | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-drools-simple                  | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-drools-camel-blueprint         | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-drools-spring                  | 6.1.0            |           | servicemix-examples-6.1.0   |                                                   \r\nexamples-drools-camel-cxf-server        | 6.1.0            |           | servicemix-examples-6.1.0   |\r\n<\/code><\/pre>\n<h1>\u5c1d\u8bd5\u4f7f\u7528CXF JAX-RS<\/h1>\n<h2>\u67e5\u770b\u8be6\u7ec6\u4fe1\u606f<\/h2>\n<pre class=\"post-pre\"><code>karaf@root&gt;feature:info examples-cxf-jaxrs\r\nFeature examples-cxf-jaxrs 6.1.0\r\nFeature has no configuration\r\nFeature has no configuration files\r\nFeature depends on:\r\n  cxf 3.1.4\r\nFeature contains followed bundles:\r\n  mvn:org.apache.servicemix.bundles\/org.apache.servicemix.bundles.spring-beans\/3.2.14.RELEASE_1\r\n  mvn:commons-codec\/commons-codec\/1.10\r\n  mvn:org.apache.servicemix.bundles\/org.apache.servicemix.bundles.commons-httpclient\/3.1_7\r\n  mvn:org.apache.servicemix.examples\/cxf-jaxrs\/6.1.0\r\nFeature has no conditionals.\r\n<\/code><\/pre>\n<h2>\u7801\u5934<\/h2>\n<ul class=\"post-ul\">\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0\u306f Jetty \u304c\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059<\/ul>\n<pre class=\"post-pre\"><code>karaf@root&gt;feature:list | grep -i jetty\r\ncxf-http-jetty                          | 3.1.4            | x         | cxf-3.1.4                   |                                                   \r\njetty                                   | 8.1.15.v20140411 | x         | standard-3.0.5              |                                                   \r\npax-jetty                               | 8.1.17.v20150415 | x         | org.ops4j.pax.web-3.2.6     | Provide Jetty engine support                      \r\ncamel-jetty                             | 2.16.1           |           | camel-2.16.1                |                                                   \r\ncamel-jetty9                            | 2.16.1           |           | camel-2.16.1                |                                                   \r\n<\/code><\/pre>\n<h2>\u5b89\u88c5\u793a\u4f8b\u4ee3\u7801<\/h2>\n<pre class=\"post-pre\"><code>karaf@root&gt;feature:install examples-cxf-jaxrs\r\nkaraf@root&gt;feature:list | grep examples-cxf-jaxrs\r\nexamples-cxf-jaxrs                      | 6.1.0            | x         | servicemix-examples-6.1.0   |\r\nkaraf@root&gt;bundle:list | grep Examples\r\n238 | Active |  80 | 6.1.0                              | Apache ServiceMix :: Examples :: CXF JAX-RS OSGI  \r\n<\/code><\/pre>\n<h2>\u8bf7\u67e5\u770bWADL<\/h2>\n<pre class=\"post-pre\"><code>$ curl 'http:\/\/localhost:8181\/cxf\/crm\/customerservice?_wadl&amp;_type=xml'\r\n&lt;application xmlns=\"http:\/\/wadl.dev.java.net\/2009\/02\" xmlns:xs=\"http:\/\/www.w3.org\/2001\/XMLSchema\"&gt;&lt;grammars&gt;&lt;xs:schema xmlns:xs=\"http:\/\/www.w3.org\/2001\/XMLSchema\" attributeFormDefault=\"unqualified\" elementFormDefault=\"unqualified\"&gt;\r\n&lt;xs:element name=\"Customer\" type=\"customer\"\/&gt;\r\n&lt;xs:element name=\"Order\" type=\"order\"\/&gt;\r\n&lt;xs:complexType name=\"order\"&gt;\r\n&lt;xs:sequence&gt;\r\n&lt;xs:element minOccurs=\"0\" name=\"description\" type=\"xs:string\"\/&gt;\r\n&lt;xs:element name=\"id\" type=\"xs:long\"\/&gt;\r\n&lt;\/xs:sequence&gt;\r\n&lt;\/xs:complexType&gt;\r\n&lt;xs:complexType name=\"customer\"&gt;\r\n&lt;xs:sequence&gt;\r\n&lt;xs:element name=\"id\" type=\"xs:long\"\/&gt;\r\n&lt;xs:element minOccurs=\"0\" name=\"name\" type=\"xs:string\"\/&gt;\r\n&lt;\/xs:sequence&gt;\r\n&lt;\/xs:complexType&gt;\r\n&lt;\/xs:schema&gt;\r\n&lt;\/grammars&gt;&lt;resources base=\"http:\/\/localhost:8181\/cxf\/crm\"&gt;&lt;resource path=\"\/customerservice\/\"&gt;&lt;resource path=\"customers\/\"&gt;&lt;method name=\"POST\"&gt;&lt;request&gt;&lt;representation mediaType=\"*\/*\"\/&gt;&lt;\/request&gt;&lt;response&gt;&lt;representation mediaType=\"*\/*\"\/&gt;&lt;\/response&gt;&lt;\/method&gt;&lt;method name=\"PUT\"&gt;&lt;request&gt;&lt;representation mediaType=\"*\/*\"\/&gt;&lt;\/request&gt;&lt;response&gt;&lt;representation mediaType=\"*\/*\"\/&gt;&lt;\/response&gt;&lt;\/method&gt;&lt;\/resource&gt;&lt;resource path=\"customers\/{id}\/\"&gt;&lt;param name=\"id\" style=\"template\" type=\"xs:string\"\/&gt;&lt;method name=\"DELETE\"&gt;&lt;request&gt;&lt;\/request&gt;&lt;response&gt;&lt;representation mediaType=\"*\/*\"\/&gt;&lt;\/response&gt;&lt;\/method&gt;&lt;method name=\"GET\"&gt;&lt;request&gt;&lt;\/request&gt;&lt;response&gt;&lt;representation mediaType=\"application\/xml\"\/&gt;&lt;\/response&gt;&lt;\/method&gt;&lt;\/resource&gt;&lt;!-- Dynamic subresource --&gt;&lt;resource path=\"\/orders\/{orderId}\/\"&gt;&lt;param name=\"orderId\" style=\"template\" type=\"xs:string\"\/&gt;&lt;\/resource&gt;&lt;\/resource&gt;&lt;\/resources&gt;&lt;\/application&gt;\r\n<\/code><\/pre>\n<h2>\u8bbf\u95ee\u670d\u52a1<\/h2>\n<pre class=\"post-pre\"><code>$ curl 'http:\/\/localhost:8181\/cxf'\r\n&lt;!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/html4\/loose.dtd\"&gt;&lt;HTML&gt;&lt;HEAD&gt;&lt;LINK type=\"text\/css\" rel=\"stylesheet\" href=\"\/cxf\/?stylesheet=1\"&gt;&lt;meta http-equiv=\"content-type\" content=\"text\/html; charset=UTF-8\"&gt;&lt;title&gt;CXF - Service list&lt;\/title&gt;&lt;\/head&gt;&lt;body&gt;&lt;span class=\"heading\"&gt;Available SOAP services:&lt;\/span&gt;&lt;br\/&gt;&lt;table cellpadding=\"1\" cellspacing=\"1\" border=\"1\" width=\"100%\"&gt;&lt;\/table&gt;&lt;br\/&gt;&lt;br\/&gt;&lt;span class=\"heading\"&gt;Available RESTful services:&lt;\/span&gt;&lt;br\/&gt;&lt;table cellpadding=\"1\" cellspacing=\"1\" border=\"1\" width=\"100%\"&gt;&lt;tr&gt;&lt;td&gt;&lt;span class=\"field\"&gt;Endpoint address:&lt;\/span&gt; &lt;span class=\"value\"&gt;http:\/\/localhost:8181\/cxf\/crm&lt;\/span&gt;&lt;br\/&gt;&lt;span class=\"field\"&gt;WADL :&lt;\/span&gt; &lt;a href=\"http:\/\/localhost:8181\/cxf\/crm?_wadl\"&gt;http:\/\/localhost:8181\/cxf\/crm?_wadl&lt;\/a&gt;&lt;\/td&gt;&lt;\/tr&gt;&lt;\/table&gt;&lt;\/body&gt;&lt;\/html&gt;\r\n<\/code><\/pre>\n<h2>\u4eceJava\u5ba2\u6237\u7aef\u7a0b\u5e8f\u8bbf\u95ee<\/h2>\n<ul class=\"post-ul\">\u30b3\u30f3\u30d1\u30a4\u30eb<\/ul>\n<pre class=\"post-pre\"><code>$ cd ~\/sfw\/ServiceMix\/apache-servicemix-6.1.0\/examples\/cxf\/cxf-jaxrs\r\n$ mvn compile\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\u5b9f\u884c<\/ul>\n<pre class=\"post-pre\"><code>$ mvn exec:java\r\n[INFO] Scanning for projects...\r\n[INFO]                                                                         \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building Apache ServiceMix :: Examples :: CXF JAX-RS OSGI 6.1.0\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] \r\n[INFO] --- exec-maven-plugin:1.3.2:java (default-cli) @ cxf-jaxrs ---\r\n[WARNING] Warning: killAfter is now deprecated. Do you need it ? Please comment on MEXEC-6.\r\nSent HTTP GET request to query customer info\r\n&lt;?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?&gt;&lt;Customer&gt;&lt;id&gt;123&lt;\/id&gt;&lt;name&gt;Mary&lt;\/name&gt;&lt;\/Customer&gt;\r\n\r\n\r\nSent HTTP GET request to query sub resource product info\r\n&lt;?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?&gt;&lt;Product&gt;&lt;description&gt;product 323&lt;\/description&gt;&lt;id&gt;323&lt;\/id&gt;&lt;\/Product&gt;\r\n\r\n\r\nSent HTTP PUT request to update customer info\r\nResponse status code: 200\r\nResponse body: \r\n\r\n\r\n\r\nSent HTTP POST request to add customer\r\nResponse status code: 200\r\nResponse body: \r\n&lt;?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?&gt;&lt;Customer&gt;&lt;id&gt;126&lt;\/id&gt;&lt;name&gt;Jack&lt;\/name&gt;&lt;\/Customer&gt;\r\n<\/code><\/pre>\n<h2>\u4f7f\u7528Curl\u8fdb\u884c\u8bbf\u95ee<\/h2>\n<h3>\u6dfb\u52a0\u5ba2\u6237<\/h3>\n<pre class=\"post-pre\"><code>$ cat src\/main\/resources\/org\/apache\/servicemix\/examples\/cxf\/jaxrs\/client\/add_customer.xml\r\n&lt;!--\r\n\r\n    Licensed to the Apache Software Foundation (ASF) under one or more\r\n    contributor license agreements.  See the NOTICE file distributed with\r\n    this work for additional information regarding copyright ownership.\r\n    The ASF licenses this file to You under the Apache License, Version 2.0\r\n    (the \"License\"); you may not use this file except in compliance with\r\n    the License.  You may obtain a copy of the License at\r\n\r\n       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\r\n\r\n    Unless required by applicable law or agreed to in writing, software\r\n    distributed under the License is distributed on an \"AS IS\" BASIS,\r\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n    See the License for the specific language governing permissions and\r\n    limitations under the License.\r\n--&gt;\r\n&lt;Customer&gt;\r\n  &lt;name&gt;Jack&lt;\/name&gt;\r\n&lt;\/Customer&gt; \r\n$ curl -X POST -T src\/main\/resources\/org\/apache\/servicemix\/examples\/cxf\/jaxrs\/client\/add_customer.xml -H \"Content-Type: text\/xml\" http:\/\/localhost:8181\/cxf\/crm\/customerservice\/customers\r\n&lt;?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?&gt;&lt;Customer&gt;&lt;id&gt;127&lt;\/id&gt;&lt;name&gt;Jack&lt;\/name&gt;&lt;\/Customer&gt;\r\n$ curl http:\/\/localhost:8181\/cxf\/crm\/customerservice\/customers\/127&lt;?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?&gt;&lt;Customer&gt;&lt;id&gt;127&lt;\/id&gt;&lt;name&gt;Jack&lt;\/name&gt;&lt;\/Customer&gt;\r\n<\/code><\/pre>\n<h3>\u5bf9\u5ba2\u6237\u7684\u4fee\u6539<\/h3>\n<pre class=\"post-pre\"><code>$ curl http:\/\/localhost:8181\/cxf\/crm\/customerservice\/customers\/123&lt;?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?&gt;&lt;Customer&gt;&lt;id&gt;123&lt;\/id&gt;&lt;name&gt;Mary&lt;\/name&gt;&lt;\/Customer&gt;\r\n$ cat 'src\/main\/resources\/org\/apache\/servicemix\/examples\/cxf\/jaxrs\/client\/update_customer.xml'\r\n&lt;!--\r\n\r\n    Licensed to the Apache Software Foundation (ASF) under one or more\r\n    contributor license agreements.  See the NOTICE file distributed with\r\n    this work for additional information regarding copyright ownership.\r\n    The ASF licenses this file to You under the Apache License, Version 2.0\r\n    (the \"License\"); you may not use this file except in compliance with\r\n    the License.  You may obtain a copy of the License at\r\n\r\n       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\r\n\r\n    Unless required by applicable law or agreed to in writing, software\r\n    distributed under the License is distributed on an \"AS IS\" BASIS,\r\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n    See the License for the specific language governing permissions and\r\n    limitations under the License.\r\n--&gt;\r\n&lt;Customer&gt;\r\n  &lt;name&gt;Mary&lt;\/name&gt;\r\n  &lt;id&gt;123&lt;\/id&gt;\r\n&lt;\/Customer&gt; \r\n$ curl -X PUT -T src\/main\/resources\/org\/apache\/servicemix\/examples\/cxf\/jaxrs\/client\/update_customer.xml -H \"Content-Type: text\/xml\" http:\/\/localhost:8181\/cxf\/crm\/customerservice\/customers \r\n$ curl http:\/\/localhost:8181\/cxf\/crm\/customerservice\/customers\/123\r\n&lt;?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?&gt;&lt;Customer&gt;&lt;id&gt;123&lt;\/id&gt;&lt;name&gt;Mary&lt;\/name&gt;&lt;\/Customer&gt;\r\n\r\n<\/code><\/pre>\n<h3>\u5220\u9664\u5ba2\u6237<\/h3>\n<pre class=\"post-pre\"><code>$ curl -X DELETE http:\/\/localhost:8181\/cxf\/crm\/customerservice\/customers\/127\r\n$ curl http:\/\/localhost:8181\/cxf\/crm\/customerservice\/customers\/127\r\n<\/code><\/pre>\n<h2>\u66f4\u6539\u8bbf\u95ee\u901a\u884c\u8bc1<\/h2>\n<h3>\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u8fdb\u884c\u66f4\u6539<\/h3>\n<pre class=\"post-pre\"><code>$ vi etc\/org.apache.cxf.osgi.cfg\r\norg.apache.cxf.servlet.context=\/custom\r\n<\/code><\/pre>\n<h3>\u786e\u8ba4<\/h3>\n<pre class=\"post-pre\"><code>$ curl http:\/\/localhost:8181\/cxf\/crm\/customerservice\/customers\/123\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;meta http-equiv=\"Content-Type\" content=\"text\/html;charset=ISO-8859-1\"\/&gt;\r\n&lt;title&gt;Error 404 Not Found&lt;\/title&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;h2&gt;HTTP ERROR: 404&lt;\/h2&gt;\r\n&lt;p&gt;Problem accessing \/cxf\/crm\/customerservice\/customers\/123. Reason:\r\n&lt;pre&gt;    Not Found&lt;\/pre&gt;&lt;\/p&gt;\r\n&lt;hr \/&gt;&lt;i&gt;&lt;small&gt;Powered by Jetty:\/\/&lt;\/small&gt;&lt;\/i&gt;\r\n....\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n$ curl http:\/\/localhost:8181\/custom\/crm\/customerservice\/customers\/123\r\n&lt;?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?&gt;&lt;Customer&gt;&lt;id&gt;123&lt;\/id&gt;&lt;name&gt;John&lt;\/name&gt;&lt;\/Customer&gt;\r\n<\/code><\/pre>\n<h3>\u4ece\u63a7\u5236\u53f0\u8fdb\u884c\u66f4\u6539<\/h3>\n<pre class=\"post-pre\"><code>karaf@root&gt;config:edit org.apache.cxf.osgi\r\nkaraf@root&gt;config:property-set org.apache.cxf.servlet.context \/super\r\nkaraf@root&gt;config:update\r\n<\/code><\/pre>\n<h3>\u786e\u8ba4 (qu\u00e8<\/h3>\n<pre class=\"post-pre\"><code>$ curl http:\/\/localhost:8181\/custom\/crm\/customerservice\/customers\/123\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;meta http-equiv=\"Content-Type\" content=\"text\/html;charset=ISO-8859-1\"\/&gt;\r\n&lt;title&gt;Error 404 Not Found&lt;\/title&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;h2&gt;HTTP ERROR: 404&lt;\/h2&gt;\r\n&lt;p&gt;Problem accessing \/custom\/crm\/customerservice\/customers\/123. Reason:\r\n&lt;pre&gt;    Not Found&lt;\/pre&gt;&lt;\/p&gt;\r\n&lt;hr \/&gt;&lt;i&gt;&lt;small&gt;Powered by Jetty:\/\/&lt;\/small&gt;&lt;\/i&gt;\r\n...\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n$ curl http:\/\/localhost:8181\/super\/crm\/customerservice\/customers\/123\r\n&lt;?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?&gt;&lt;Customer&gt;&lt;id&gt;123&lt;\/id&gt;&lt;name&gt;John&lt;\/name&gt;&lt;\/Customer&gt;\r\n<\/code><\/pre>\n<h2>\u505c\u6b62\u793a\u4f8b\u7a0b\u5e8f<\/h2>\n<pre class=\"post-pre\"><code>karaf@root&gt;bundle:list | grep CXF\r\n238 | Active |  80 | 6.1.0                              | Apache ServiceMix :: Examples :: CXF JAX-RS OSGI  \r\nkaraf@root&gt;bundle:stop 238\r\nkaraf@root&gt;bundle:list | grep CXF\r\n238 | Resolved |  80 | 6.1.0                              | Apache ServiceMix :: Examples :: CXF JAX-RS OSGI\r\n<\/code><\/pre>\n<h2>\u5378\u8f7d\u793a\u4f8b\u7a0b\u5e8f<\/h2>\n<h3>\u5378\u8f7d<\/h3>\n<pre class=\"post-pre\"><code>karaf@root&gt;feature:uninstall examples-cxf-jaxrs\r\n<\/code><\/pre>\n<h3>\u786e\u8ba4<\/h3>\n<pre class=\"post-pre\"><code>karaf@root&gt;bundle:list | grep CXF\r\nkaraf@root&gt;feature:list | grep examples-cxf-jaxrs\r\nexamples-cxf-jaxrs                      | 6.1.0            |           | servicemix-examples-6.1.0   |\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>ServiceMix \u7684\u7b14\u8bb0 Apache ServiceMix \u306b\u3064\u3044\u3066\u8abf\u3079\u305f\u3053\u3068\u3092\u307e\u3068\u3081\u307e\u3059 &nbsp; [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-36443","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Apache ServiceMix\u662f\u4e00\u4e2a\u5f00\u6e90\u7684ESB\uff08\u4f01\u4e1a\u670d\u52a1\u603b\u7ebf\uff09\u9879\u76ee\u3002\u8bf7\u6ce8\u610f\uff1a\u6211\u662f\u901a\u8fc7\u673a\u5668\u5b66\u4e60\u751f\u6210\u7684\uff0c\u53ef\u80fd\u6709\u8bef - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix\u662f\u4e00\u4e2a\u5f00\u6e90\u7684esb\uff08\u4f01\u4e1a\u670d\u52a1\u603b\u7ebf\uff09\u9879\u76ee\u3002\u8bf7\u6ce8\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Apache ServiceMix\u662f\u4e00\u4e2a\u5f00\u6e90\u7684ESB\uff08\u4f01\u4e1a\u670d\u52a1\u603b\u7ebf\uff09\u9879\u76ee\u3002\u8bf7\u6ce8\u610f\uff1a\u6211\u662f\u901a\u8fc7\u673a\u5668\u5b66\u4e60\u751f\u6210\u7684\uff0c\u53ef\u80fd\u6709\u8bef\" \/>\n<meta property=\"og:description\" content=\"ServiceMix \u7684\u7b14\u8bb0 Apache ServiceMix \u306b\u3064\u3044\u3066\u8abf\u3079\u305f\u3053\u3068\u3092\u307e\u3068\u3081\u307e\u3059 &nbsp; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix\u662f\u4e00\u4e2a\u5f00\u6e90\u7684esb\uff08\u4f01\u4e1a\u670d\u52a1\u603b\u7ebf\uff09\u9879\u76ee\u3002\u8bf7\u6ce8\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-24T14:03:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T13:00:16+00:00\" \/>\n<meta name=\"author\" content=\"\u97f5, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u97f5, \u79d1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"19 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix%e6%98%af%e4%b8%80%e4%b8%aa%e5%bc%80%e6%ba%90%e7%9a%84esb%ef%bc%88%e4%bc%81%e4%b8%9a%e6%9c%8d%e5%8a%a1%e6%80%bb%e7%ba%bf%ef%bc%89%e9%a1%b9%e7%9b%ae%e3%80%82%e8%af%b7%e6%b3%a8\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix%e6%98%af%e4%b8%80%e4%b8%aa%e5%bc%80%e6%ba%90%e7%9a%84esb%ef%bc%88%e4%bc%81%e4%b8%9a%e6%9c%8d%e5%8a%a1%e6%80%bb%e7%ba%bf%ef%bc%89%e9%a1%b9%e7%9b%ae%e3%80%82%e8%af%b7%e6%b3%a8\/\",\"name\":\"Apache ServiceMix\u662f\u4e00\u4e2a\u5f00\u6e90\u7684ESB\uff08\u4f01\u4e1a\u670d\u52a1\u603b\u7ebf\uff09\u9879\u76ee\u3002\u8bf7\u6ce8\u610f\uff1a\u6211\u662f\u901a\u8fc7\u673a\u5668\u5b66\u4e60\u751f\u6210\u7684\uff0c\u53ef\u80fd\u6709\u8bef - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-03-24T14:03:40+00:00\",\"dateModified\":\"2024-04-29T13:00:16+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix%e6%98%af%e4%b8%80%e4%b8%aa%e5%bc%80%e6%ba%90%e7%9a%84esb%ef%bc%88%e4%bc%81%e4%b8%9a%e6%9c%8d%e5%8a%a1%e6%80%bb%e7%ba%bf%ef%bc%89%e9%a1%b9%e7%9b%ae%e3%80%82%e8%af%b7%e6%b3%a8\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix%e6%98%af%e4%b8%80%e4%b8%aa%e5%bc%80%e6%ba%90%e7%9a%84esb%ef%bc%88%e4%bc%81%e4%b8%9a%e6%9c%8d%e5%8a%a1%e6%80%bb%e7%ba%bf%ef%bc%89%e9%a1%b9%e7%9b%ae%e3%80%82%e8%af%b7%e6%b3%a8\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix%e6%98%af%e4%b8%80%e4%b8%aa%e5%bc%80%e6%ba%90%e7%9a%84esb%ef%bc%88%e4%bc%81%e4%b8%9a%e6%9c%8d%e5%8a%a1%e6%80%bb%e7%ba%bf%ef%bc%89%e9%a1%b9%e7%9b%ae%e3%80%82%e8%af%b7%e6%b3%a8\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Apache ServiceMix\u662f\u4e00\u4e2a\u5f00\u6e90\u7684ESB\uff08\u4f01\u4e1a\u670d\u52a1\u603b\u7ebf\uff09\u9879\u76ee\u3002\u8bf7\u6ce8\u610f\uff1a\u6211\u662f\u901a\u8fc7\u673a\u5668\u5b66\u4e60\u751f\u6210\u7684\uff0c\u53ef\u80fd\u6709\u8bef\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\",\"name\":\"\u97f5, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"caption\":\"\u97f5, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix%e6%98%af%e4%b8%80%e4%b8%aa%e5%bc%80%e6%ba%90%e7%9a%84esb%ef%bc%88%e4%bc%81%e4%b8%9a%e6%9c%8d%e5%8a%a1%e6%80%bb%e7%ba%bf%ef%bc%89%e9%a1%b9%e7%9b%ae%e3%80%82%e8%af%b7%e6%b3%a8\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Apache ServiceMix\u662f\u4e00\u4e2a\u5f00\u6e90\u7684ESB\uff08\u4f01\u4e1a\u670d\u52a1\u603b\u7ebf\uff09\u9879\u76ee\u3002\u8bf7\u6ce8\u610f\uff1a\u6211\u662f\u901a\u8fc7\u673a\u5668\u5b66\u4e60\u751f\u6210\u7684\uff0c\u53ef\u80fd\u6709\u8bef - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix\u662f\u4e00\u4e2a\u5f00\u6e90\u7684esb\uff08\u4f01\u4e1a\u670d\u52a1\u603b\u7ebf\uff09\u9879\u76ee\u3002\u8bf7\u6ce8\/","og_locale":"zh_CN","og_type":"article","og_title":"Apache ServiceMix\u662f\u4e00\u4e2a\u5f00\u6e90\u7684ESB\uff08\u4f01\u4e1a\u670d\u52a1\u603b\u7ebf\uff09\u9879\u76ee\u3002\u8bf7\u6ce8\u610f\uff1a\u6211\u662f\u901a\u8fc7\u673a\u5668\u5b66\u4e60\u751f\u6210\u7684\uff0c\u53ef\u80fd\u6709\u8bef","og_description":"ServiceMix \u7684\u7b14\u8bb0 Apache ServiceMix \u306b\u3064\u3044\u3066\u8abf\u3079\u305f\u3053\u3068\u3092\u307e\u3068\u3081\u307e\u3059 &nbsp; [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix\u662f\u4e00\u4e2a\u5f00\u6e90\u7684esb\uff08\u4f01\u4e1a\u670d\u52a1\u603b\u7ebf\uff09\u9879\u76ee\u3002\u8bf7\u6ce8\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-03-24T14:03:40+00:00","article_modified_time":"2024-04-29T13:00:16+00:00","author":"\u97f5, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u97f5, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"19 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix%e6%98%af%e4%b8%80%e4%b8%aa%e5%bc%80%e6%ba%90%e7%9a%84esb%ef%bc%88%e4%bc%81%e4%b8%9a%e6%9c%8d%e5%8a%a1%e6%80%bb%e7%ba%bf%ef%bc%89%e9%a1%b9%e7%9b%ae%e3%80%82%e8%af%b7%e6%b3%a8\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix%e6%98%af%e4%b8%80%e4%b8%aa%e5%bc%80%e6%ba%90%e7%9a%84esb%ef%bc%88%e4%bc%81%e4%b8%9a%e6%9c%8d%e5%8a%a1%e6%80%bb%e7%ba%bf%ef%bc%89%e9%a1%b9%e7%9b%ae%e3%80%82%e8%af%b7%e6%b3%a8\/","name":"Apache ServiceMix\u662f\u4e00\u4e2a\u5f00\u6e90\u7684ESB\uff08\u4f01\u4e1a\u670d\u52a1\u603b\u7ebf\uff09\u9879\u76ee\u3002\u8bf7\u6ce8\u610f\uff1a\u6211\u662f\u901a\u8fc7\u673a\u5668\u5b66\u4e60\u751f\u6210\u7684\uff0c\u53ef\u80fd\u6709\u8bef - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-03-24T14:03:40+00:00","dateModified":"2024-04-29T13:00:16+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix%e6%98%af%e4%b8%80%e4%b8%aa%e5%bc%80%e6%ba%90%e7%9a%84esb%ef%bc%88%e4%bc%81%e4%b8%9a%e6%9c%8d%e5%8a%a1%e6%80%bb%e7%ba%bf%ef%bc%89%e9%a1%b9%e7%9b%ae%e3%80%82%e8%af%b7%e6%b3%a8\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix%e6%98%af%e4%b8%80%e4%b8%aa%e5%bc%80%e6%ba%90%e7%9a%84esb%ef%bc%88%e4%bc%81%e4%b8%9a%e6%9c%8d%e5%8a%a1%e6%80%bb%e7%ba%bf%ef%bc%89%e9%a1%b9%e7%9b%ae%e3%80%82%e8%af%b7%e6%b3%a8\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix%e6%98%af%e4%b8%80%e4%b8%aa%e5%bc%80%e6%ba%90%e7%9a%84esb%ef%bc%88%e4%bc%81%e4%b8%9a%e6%9c%8d%e5%8a%a1%e6%80%bb%e7%ba%bf%ef%bc%89%e9%a1%b9%e7%9b%ae%e3%80%82%e8%af%b7%e6%b3%a8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"Apache ServiceMix\u662f\u4e00\u4e2a\u5f00\u6e90\u7684ESB\uff08\u4f01\u4e1a\u670d\u52a1\u603b\u7ebf\uff09\u9879\u76ee\u3002\u8bf7\u6ce8\u610f\uff1a\u6211\u662f\u901a\u8fc7\u673a\u5668\u5b66\u4e60\u751f\u6210\u7684\uff0c\u53ef\u80fd\u6709\u8bef"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e","name":"\u97f5, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","caption":"\u97f5, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/apache-servicemix%e6%98%af%e4%b8%80%e4%b8%aa%e5%bc%80%e6%ba%90%e7%9a%84esb%ef%bc%88%e4%bc%81%e4%b8%9a%e6%9c%8d%e5%8a%a1%e6%80%bb%e7%ba%bf%ef%bc%89%e9%a1%b9%e7%9b%ae%e3%80%82%e8%af%b7%e6%b3%a8\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/36443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=36443"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/36443\/revisions"}],"predecessor-version":[{"id":87614,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/36443\/revisions\/87614"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=36443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=36443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=36443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}