// Path: camelwatch-api/src/main/java/org/camelwatch/api/consumer/ConsumerOperations.java
// public interface ConsumerOperations {
// 
// 	void setInitialDelay(long initialDelay);
// 
// 	Object start() throws Exception;
// 
// 	Object stop() throws Exception;
// 
// 	Object resume() throws Exception;
// 
// 	Object suspend() throws Exception;
// }
// 
// Path: camelwatch-api/src/main/java/org/camelwatch/api/endpoint/EndpointOperations.java
// public interface EndpointOperations {
// 
// 	String browseExchange(int offset) throws Exception;
// 
// 	Message browseMessageAsXml(int offset, boolean includeBody) throws Exception;
// 
// 	String browseMessageBody(int offset) throws Exception;
// 
// 	List<Message> browseRangeMessagesAsXml(int offset, int end, boolean includeBody) throws Exception;
// 
// 	long queueSize() throws Exception;
// }
// 
// Path: camelwatch-api/src/main/java/org/camelwatch/api/route/RouteOperations.java
// public interface RouteOperations {
// 
// 	String dumpRouteAsXml() throws Exception;
// 
// 	void remove();
// 
// 	void reset();
// 
// 	void resume() throws Exception;
// 
// 	void setStatisticsEnabled(boolean enabled);
// 
// 	void start() throws Exception;
// 
// 	void stop() throws Exception;
// 
// 	void suspend() throws Exception;
// 
// 	void updateRouteFromXml(String xml) throws Exception;
// 
//     void setTracing(boolean enable) throws Exception;
// }


import org.camelwatch.api.consumer.ConsumerOperations;
import org.camelwatch.api.endpoint.EndpointOperations;
import org.camelwatch.api.route.RouteOperations;
import java.util.Collection;
import java.util.List;

package org.camelwatch.api;



/**
 * @author Stephen K Samuel samspade79@gmail.com 29 Jun 2012 00:49:49
 * 
 */
public interface CamelConnection {

	CamelBean getComponent(String componentName) throws Exception;

	List<CamelBean> getComponents() throws Exception;

	CamelBean getConsumer(String consumerId) throws Exception;

	ConsumerOperations getConsumerOperations(String consumerId) throws Exception;

	List<CamelBean> getConsumers() throws Exception;

	CamelBean getContext(String camelId) throws Exception;

	List<CamelBean> getContexts() throws Exception;

	CamelBean getEndpoint(String endpointName) throws Exception;

	EndpointOperations getEndpointOperations(String endpointName) throws Exception;

	List<CamelBean> getEndpoints() throws Exception;

	CamelBean getErrorHandler(String errorHandlerName) throws Exception;

	List<CamelBean> getErrorHandlers() throws Exception;

	CamelBean getProcessor(String processorId) throws Exception;

	List<CamelBean> getProcessors() throws Exception;

	Collection<CamelBean> getProcessors(String routeId) throws Exception;

	CamelBean getRoute(String routeId) throws Exception;


// Path: camelwatch-api/src/main/java/org/camelwatch/api/consumer/ConsumerOperations.java
// public interface ConsumerOperations {
// 
// 	void setInitialDelay(long initialDelay);
// 
// 	Object start() throws Exception;
// 
// 	Object stop() throws Exception;
// 
// 	Object resume() throws Exception;
// 
// 	Object suspend() throws Exception;
// }
// 
// Path: camelwatch-api/src/main/java/org/camelwatch/api/endpoint/EndpointOperations.java
// public interface EndpointOperations {
// 
// 	String browseExchange(int offset) throws Exception;
// 
// 	Message browseMessageAsXml(int offset, boolean includeBody) throws Exception;
// 
// 	String browseMessageBody(int offset) throws Exception;
// 
// 	List<Message> browseRangeMessagesAsXml(int offset, int end, boolean includeBody) throws Exception;
// 
// 	long queueSize() throws Exception;
// }
// 
// Path: camelwatch-api/src/main/java/org/camelwatch/api/route/RouteOperations.java
// public interface RouteOperations {
// 
// 	String dumpRouteAsXml() throws Exception;
// 
// 	void remove();
// 
// 	void reset();
// 
// 	void resume() throws Exception;
// 
// 	void setStatisticsEnabled(boolean enabled);
// 
// 	void start() throws Exception;
// 
// 	void stop() throws Exception;
// 
// 	void suspend() throws Exception;
// 
// 	void updateRouteFromXml(String xml) throws Exception;
// 
//     void setTracing(boolean enable) throws Exception;
// }


// Path: camelwatch-api/src/main/java/org/camelwatch/api/CamelConnection.java
import org.camelwatch.api.consumer.ConsumerOperations;
import org.camelwatch.api.endpoint.EndpointOperations;
import org.camelwatch.api.route.RouteOperations;
import java.util.Collection;
import java.util.List;

package org.camelwatch.api;



/**
 * @author Stephen K Samuel samspade79@gmail.com 29 Jun 2012 00:49:49
 * 
 */
public interface CamelConnection {

	CamelBean getComponent(String componentName) throws Exception;

	List<CamelBean> getComponents() throws Exception;

	CamelBean getConsumer(String consumerId) throws Exception;

	ConsumerOperations getConsumerOperations(String consumerId) throws Exception;

	List<CamelBean> getConsumers() throws Exception;

	CamelBean getContext(String camelId) throws Exception;

	List<CamelBean> getContexts() throws Exception;

	CamelBean getEndpoint(String endpointName) throws Exception;

	EndpointOperations getEndpointOperations(String endpointName) throws Exception;

	List<CamelBean> getEndpoints() throws Exception;

	CamelBean getErrorHandler(String errorHandlerName) throws Exception;

	List<CamelBean> getErrorHandlers() throws Exception;

	CamelBean getProcessor(String processorId) throws Exception;

	List<CamelBean> getProcessors() throws Exception;

	Collection<CamelBean> getProcessors(String routeId) throws Exception;

	CamelBean getRoute(String routeId) throws Exception;


	RouteOperations getRouteOperations(String routeId) throws Exception;
