Author: jstrachan
Date: Thu Sep 11 08:16:29 2008
New Revision: 694290
URL: http://svn.apache.org/viewvc?rev=694290&view=rev
Log:
fixed failing test case
Modified:
activemq/camel/trunk/components/camel-rest/src/main/java/org/apache/camel/rest/resources/CamelContextResource.java
Modified:
activemq/camel/trunk/components/camel-rest/src/main/java/org/apache/camel/rest/resources/CamelContextResource.java
URL:
http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-rest/src/main/java/org/apache/camel/rest/resources/CamelContextResource.java?rev=694290&r1=694289&r2=694290&view=diff
==============================================================================
---
activemq/camel/trunk/components/camel-rest/src/main/java/org/apache/camel/rest/resources/CamelContextResource.java
(original)
+++
activemq/camel/trunk/components/camel-rest/src/main/java/org/apache/camel/rest/resources/CamelContextResource.java
Thu Sep 11 08:16:29 2008
@@ -38,7 +38,7 @@
*/
@Path("/")
@Singleton
[EMAIL PROTECTED]({"text/html", "application/json", "application/xml"})
[EMAIL PROTECTED]({"text/html", "application/xml", "application/json"})
public class CamelContextResource {
private final CamelContext camelContext;
@@ -60,6 +60,7 @@
*
* @return
*/
+ @GET
@Path("endpoints")
public Endpoints getEndpoints() {
return new Endpoints(camelContext);
@@ -68,6 +69,7 @@
/**
* Looks up an individual endpoint
*/
+ @GET
@Path("endpoints/{id}")
public EndpointResource getEndpoint(@PathParam("id") String id) {
// TODO lets assume the ID is the endpoint