You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2009/09/08 14:47:24 UTC
svn commit: r812484 -
/camel/trunk/components/camel-osgi/src/main/java/org/apache/camel/osgi/OsgiServiceRegistry.java
Author: davsclaus
Date: Tue Sep 8 12:47:24 2009
New Revision: 812484
URL: http://svn.apache.org/viewvc?rev=812484&view=rev
Log:
Fixed compiler error.
Modified:
camel/trunk/components/camel-osgi/src/main/java/org/apache/camel/osgi/OsgiServiceRegistry.java
Modified: camel/trunk/components/camel-osgi/src/main/java/org/apache/camel/osgi/OsgiServiceRegistry.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-osgi/src/main/java/org/apache/camel/osgi/OsgiServiceRegistry.java?rev=812484&r1=812483&r2=812484&view=diff
==============================================================================
--- camel/trunk/components/camel-osgi/src/main/java/org/apache/camel/osgi/OsgiServiceRegistry.java (original)
+++ camel/trunk/components/camel-osgi/src/main/java/org/apache/camel/osgi/OsgiServiceRegistry.java Tue Sep 8 12:47:24 2009
@@ -25,14 +25,15 @@
import org.apache.camel.CamelContext;
import org.apache.camel.Component;
import org.apache.camel.Endpoint;
+import org.apache.camel.Processor;
import org.apache.camel.Route;
import org.apache.camel.Service;
+import org.apache.camel.builder.ErrorHandlerBuilder;
import org.apache.camel.spi.LifecycleStrategy;
import org.apache.camel.spi.Registry;
import org.apache.camel.spi.RouteContext;
import org.osgi.framework.BundleContext;
import org.osgi.framework.ServiceReference;
-import org.springframework.osgi.context.BundleContextAware;
/**
* The OsgiServiceRegistry support to get the service object from the bundle context
@@ -76,17 +77,14 @@
public void onComponentAdd(String name, Component component) {
// Do nothing here
-
}
public void onComponentRemove(String name, Component component) {
// Do nothing here
-
}
public void onContextStart(CamelContext context) {
// Do nothing here
-
}
public void onContextStop(CamelContext context) {
@@ -102,37 +100,33 @@
public void onEndpointAdd(Endpoint endpoint) {
// Do nothing here
-
}
public void onEndpointRemove(Endpoint endpoint) {
// Do nothing here
-
}
public void onRouteContextCreate(RouteContext routeContext) {
// Do nothing here
-
}
public void onRoutesAdd(Collection<Route> routes) {
// Do nothing here
-
}
public void onRoutesRemove(Collection<Route> routes) {
// Do nothing here
-
}
public void onServiceAdd(CamelContext context, Service service, Route route) {
// Do nothing here
-
}
public void onServiceRemove(CamelContext context, Service service, Route route) {
// Do nothing here
-
}
+ public void onErrorHandlerAdd(RouteContext routeContext, Processor processor, ErrorHandlerBuilder errorHandlerBuilder) {
+ // Do nothing here
+ }
}