25.17.2. 端点 URI 中的 URI 参数
在本例中,我们有一个完整的 URI 端点,该端点只是您在 Web 浏览器中键入的内容。可以使用 和 字符作为分隔符来设置多个 URI 参数,就像您在 Web 浏览器中一样。Camel 在此处不做任何技巧。
// we query for Camel at the Google page template.sendBody("http://www.google.com/search?q=Camel", null);
// we query for Camel at the Google page
template.sendBody("http://www.google.com/search?q=Camel", null);