buildbot failure in ASF Buildbot on camel-site-production

2013-06-09 Thread buildbot
The Buildbot has detected a new failure on builder camel-site-production while 
building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/camel-site-production/builds/10773

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'camel-site-production' triggered 
this build
Build Source Stamp: [branch camel/website] HEAD
Blamelist: 

BUILD FAILED: failed compile

sincerely,
 -The Buildbot





buildbot success in ASF Buildbot on camel-site-production

2013-06-09 Thread buildbot
The Buildbot has detected a restored build on builder camel-site-production 
while building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/camel-site-production/builds/10772

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'camel-site-production' triggered 
this build
Build Source Stamp: [branch camel/website] HEAD
Blamelist: 

Build succeeded!

sincerely,
 -The Buildbot





buildbot failure in ASF Buildbot on camel-site-production

2013-06-09 Thread buildbot
The Buildbot has detected a new failure on builder camel-site-production while 
building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/camel-site-production/builds/10771

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'camel-site-production' triggered 
this build
Build Source Stamp: [branch camel/website] HEAD
Blamelist: 

BUILD FAILED: failed compile

sincerely,
 -The Buildbot





git commit: expose the component HTML to the CamelContext and the MBean so it can be displayed by tooling

2013-06-09 Thread jstrachan
Updated Branches:
  refs/heads/master 868a358ad -> 3ec75ec79


expose the component HTML to the CamelContext and the MBean so it can be 
displayed by tooling


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/3ec75ec7
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/3ec75ec7
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/3ec75ec7

Branch: refs/heads/master
Commit: 3ec75ec79f29658b2e840787701e71885a5bdaae
Parents: 868a358
Author: James Strachan 
Authored: Sun Jun 9 09:55:38 2013 -0400
Committer: James Strachan 
Committed: Sun Jun 9 09:58:09 2013 -0400

--
 .../java/org/apache/camel/CamelContext.java |  6 +
 .../mbean/ManagedCamelContextMBean.java |  9 +++
 .../apache/camel/impl/DefaultCamelContext.java  | 12 ++
 .../management/mbean/ManagedCamelContext.java   |  5 
 .../apache/camel/util/CamelContextHelper.java   |  1 +
 .../java/org/apache/camel/util/IOHelper.java| 25 
 .../camel/component/ComponentDiscoveryTest.java |  9 +++
 .../camel/blueprint/BlueprintCamelContext.java  |  5 
 .../core/osgi/OsgiDefaultCamelContext.java  |  5 
 .../core/osgi/utils/BundleContextUtils.java | 19 +++
 10 files changed, 96 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/camel/blob/3ec75ec7/camel-core/src/main/java/org/apache/camel/CamelContext.java
--
diff --git a/camel-core/src/main/java/org/apache/camel/CamelContext.java 
b/camel-core/src/main/java/org/apache/camel/CamelContext.java
index 5b2b4f6..7f467f1 100644
--- a/camel-core/src/main/java/org/apache/camel/CamelContext.java
+++ b/camel-core/src/main/java/org/apache/camel/CamelContext.java
@@ -1205,4 +1205,10 @@ public interface CamelContext extends 
SuspendableService, RuntimeConfiguration {
  * @throws Exception is thrown if error occurred
  */
 Map findComponents() throws LoadPropertiesException, 
IOException;
+
+
+/**
+ * Returns the HTML documentation for the given camel component
+ */
+String getComponentDocumentation(String componentName) throws IOException;
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/3ec75ec7/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedCamelContextMBean.java
--
diff --git 
a/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedCamelContextMBean.java
 
b/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedCamelContextMBean.java
index 4af6d3d..514fdbe 100644
--- 
a/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedCamelContextMBean.java
+++ 
b/camel-core/src/main/java/org/apache/camel/api/management/mbean/ManagedCamelContextMBean.java
@@ -16,6 +16,7 @@
  */
 package org.apache.camel.api.management.mbean;
 
+import java.io.IOException;
 import java.util.List;
 import java.util.Map;
 import java.util.Properties;
@@ -219,4 +220,12 @@ public interface ManagedCamelContextMBean extends 
ManagedPerformanceCounterMBean
 @ManagedOperation(description = "Returns the list of available endpoint 
paths for the given component name, endpoint properties and completion text")
 List completeEndpointPath(String componentName, Map endpointParameters, String completionText) throws Exception;
 
+/**
+ * Returns the HTML documentation for the given camel component
+ *
+ * @param componentName  the component name
+ */
+@ManagedOperation(description = "Returns the HTML documentation for the 
given camel component")
+String getComponentDocumentation(String componentName) throws IOException;
+
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/3ec75ec7/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
--
diff --git 
a/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java 
b/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
index c61c79f..22fa6e1 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
@@ -18,11 +18,13 @@ package org.apache.camel.impl;
 
 import java.io.IOException;
 import java.io.InputStream;
+import java.net.URL;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collection;
 import java.util.Collections;
 import java.util.Date;
+import java.util.Enumeration;
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.LinkedHashMap;
@@ -125,6 +127,7 @@ import org.apache.camel.support.ServiceSupport;
 import org.apache.camel.util.CamelContextHelper;
 import org