You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/08/08 11:16:41 UTC

[camel] 16/21: CAMEL-13792 - Rename components to default names, Camel-netty4-http to camel-netty-http - Fixed refs and test in Artemis blueprint AMQP Example

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

commit 0dea40754e488987037156806d7591324fa41a51
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Aug 8 12:36:51 2019 +0200

    CAMEL-13792 - Rename components to default names, Camel-netty4-http to camel-netty-http - Fixed refs and test in Artemis blueprint AMQP Example
---
 .../src/main/resources/OSGI-INF/blueprint/camel-context.xml             | 2 +-
 .../java/org/apache/camel/example/artemis/amqp/ArtemisAmqpIntTest.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/camel-example-artemis-amqp-blueprint/src/main/resources/OSGI-INF/blueprint/camel-context.xml b/examples/camel-example-artemis-amqp-blueprint/src/main/resources/OSGI-INF/blueprint/camel-context.xml
index b47508c..1a2684d 100644
--- a/examples/camel-example-artemis-amqp-blueprint/src/main/resources/OSGI-INF/blueprint/camel-context.xml
+++ b/examples/camel-example-artemis-amqp-blueprint/src/main/resources/OSGI-INF/blueprint/camel-context.xml
@@ -46,7 +46,7 @@
 
     <!-- AMQP producer example (HTTP triggered) -->
     <route id="amqp-producer">
-      <from uri="netty4-http:http:localhost:{{netty.port}}/message"/>
+      <from uri="netty-http:http:localhost:{{netty.port}}/message"/>
       <log message="got Netty request, about to send AMQP message."/>
       <to uri="amqp:queue:myqueue"/>
     </route>
diff --git a/examples/camel-example-artemis-amqp-blueprint/src/test/java/org/apache/camel/example/artemis/amqp/ArtemisAmqpIntTest.java b/examples/camel-example-artemis-amqp-blueprint/src/test/java/org/apache/camel/example/artemis/amqp/ArtemisAmqpIntTest.java
index 21b82de..1cbbf38 100644
--- a/examples/camel-example-artemis-amqp-blueprint/src/test/java/org/apache/camel/example/artemis/amqp/ArtemisAmqpIntTest.java
+++ b/examples/camel-example-artemis-amqp-blueprint/src/test/java/org/apache/camel/example/artemis/amqp/ArtemisAmqpIntTest.java
@@ -53,7 +53,7 @@ public class ArtemisAmqpIntTest extends CamelBlueprintTestSupport {
     @Test
     public void testEmbeddedBroker() throws Exception {
         //trigger
-        String response = template.requestBody("netty4-http:http://localhost:{{netty.port}}/message", null, String.class);
+        String response = template.requestBody("netty-http:http://localhost:{{netty.port}}/message", null, String.class);
 
         //response validation
         assertEquals("not expected", "Hello from Camel's AMQP example", response);