camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] branch master updated: Fixed camel-example-netty-http after upgrading PAX CDI to version 1.0.0
Date Wed, 07 Mar 2018 14:19:57 GMT
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new df76b25  Fixed camel-example-netty-http after upgrading PAX CDI to version 1.0.0
df76b25 is described below

commit df76b258812c80991a1e892b91aae1789ad97a7f
Author: Andrea Cosentino <ancosen@gmail.com>
AuthorDate: Wed Mar 7 15:19:18 2018 +0100

    Fixed camel-example-netty-http after upgrading PAX CDI to version 1.0.0
---
 .../main/java/org/apache/camel/example/netty/cdi/NettyHttpRoute.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/camel-example-netty-http/myapp-cdi/src/main/java/org/apache/camel/example/netty/cdi/NettyHttpRoute.java
b/examples/camel-example-netty-http/myapp-cdi/src/main/java/org/apache/camel/example/netty/cdi/NettyHttpRoute.java
index 49002c1..64718ea 100644
--- a/examples/camel-example-netty-http/myapp-cdi/src/main/java/org/apache/camel/example/netty/cdi/NettyHttpRoute.java
+++ b/examples/camel-example-netty-http/myapp-cdi/src/main/java/org/apache/camel/example/netty/cdi/NettyHttpRoute.java
@@ -23,13 +23,13 @@ import javax.inject.Named;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.cdi.ContextName;
 import org.apache.camel.component.netty.http.NettySharedHttpServer;
-import org.ops4j.pax.cdi.api.OsgiService;
+import org.ops4j.pax.cdi.api.Service;
 
 @ContextName("netty-myapp-cdi")
 public class NettyHttpRoute extends RouteBuilder {
 
     @Inject
-    @OsgiService
+    @Service
     private NettySharedHttpServer server;
 
     @Produces

-- 
To stop receiving notification emails like this one, please contact
acosentino@apache.org.

Mime
View raw message