This is an automated email from the ASF dual-hosted git repository.

lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git

commit 15729bb8db3e0e1189cfc80cfe59ecaa9aec011c
Author: lburgazzoli <lburgazz...@gmail.com>
AuthorDate: Tue May 19 13:08:00 2020 +0200

    Fix typo
---
 .../org/apache/camel/component/knative/http/KnativeHttpSupport.java     | 2 +-
 .../org/apache/camel/component/knative/http/KnativeHttpTransport.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/camel-knative/camel-knative-http/src/main/java/org/apache/camel/component/knative/http/KnativeHttpSupport.java
 
b/camel-knative/camel-knative-http/src/main/java/org/apache/camel/component/knative/http/KnativeHttpSupport.java
index 36ef1ca..c74e0ab 100644
--- 
a/camel-knative/camel-knative-http/src/main/java/org/apache/camel/component/knative/http/KnativeHttpSupport.java
+++ 
b/camel-knative/camel-knative-http/src/main/java/org/apache/camel/component/knative/http/KnativeHttpSupport.java
@@ -118,7 +118,7 @@ public final class KnativeHttpSupport {
     /**
      * Remap camel headers to cloud event http headers.
      */
-    public static Processor remalCloudEventHeaders(Processor delegate, 
CloudEvent ce) {
+    public static Processor remapCloudEventHeaders(Processor delegate, 
CloudEvent ce) {
         return new DelegateAsyncProcessor(delegate) {
             @Override
             public boolean process(Exchange exchange, AsyncCallback callback) {
diff --git 
a/camel-knative/camel-knative-http/src/main/java/org/apache/camel/component/knative/http/KnativeHttpTransport.java
 
b/camel-knative/camel-knative-http/src/main/java/org/apache/camel/component/knative/http/KnativeHttpTransport.java
index cdd7c8b..039a719 100644
--- 
a/camel-knative/camel-knative-http/src/main/java/org/apache/camel/component/knative/http/KnativeHttpTransport.java
+++ 
b/camel-knative/camel-knative-http/src/main/java/org/apache/camel/component/knative/http/KnativeHttpTransport.java
@@ -96,7 +96,7 @@ public class KnativeHttpTransport extends ServiceSupport 
implements CamelContext
 
     @Override
     public Consumer createConsumer(Endpoint endpoint, 
KnativeTransportConfiguration config, 
KnativeEnvironment.KnativeServiceDefinition service, Processor processor) {
-        Processor next = KnativeHttpSupport.remalCloudEventHeaders(processor, 
config.getCloudEvent());
+        Processor next = KnativeHttpSupport.remapCloudEventHeaders(processor, 
config.getCloudEvent());
 
         if (config.isRemoveCloudEventHeadersInReply()) {
             next = KnativeHttpSupport.withoutCloudEventHeaders(next, 
config.getCloudEvent());

Reply via email to