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 2024/07/16 09:39:42 UTC

(camel) branch camel-4.4.x-spring-rabbitmq created (now f5ad036ed4f)

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

acosentino pushed a change to branch camel-4.4.x-spring-rabbitmq
in repository https://gitbox.apache.org/repos/asf/camel.git


      at f5ad036ed4f fix getInOnlyTemplate in SpringRabbitMQProducer.java (#14823)

This branch includes the following new commits:

     new f5ad036ed4f fix getInOnlyTemplate in SpringRabbitMQProducer.java (#14823)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(camel) 01/01: fix getInOnlyTemplate in SpringRabbitMQProducer.java (#14823)

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-4.4.x-spring-rabbitmq
in repository https://gitbox.apache.org/repos/asf/camel.git

commit f5ad036ed4fa49a1a4fd9c1a21cbb2253a729041
Author: Kevin Hostelley <87...@users.noreply.github.com>
AuthorDate: Tue Jul 16 05:37:45 2024 -0400

    fix getInOnlyTemplate in SpringRabbitMQProducer.java (#14823)
    
    getInOnlyTemplate is checking if inOutTemplate is null to determine whether or not it should initialize inOnlyTemplate.  It should check inOnlyTemplate.  This change fixes that.
---
 .../org/apache/camel/component/springrabbit/SpringRabbitMQProducer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-spring-rabbitmq/src/main/java/org/apache/camel/component/springrabbit/SpringRabbitMQProducer.java b/components/camel-spring-rabbitmq/src/main/java/org/apache/camel/component/springrabbit/SpringRabbitMQProducer.java
index 73712e16f8c..ec273f2bc1b 100644
--- a/components/camel-spring-rabbitmq/src/main/java/org/apache/camel/component/springrabbit/SpringRabbitMQProducer.java
+++ b/components/camel-spring-rabbitmq/src/main/java/org/apache/camel/component/springrabbit/SpringRabbitMQProducer.java
@@ -52,7 +52,7 @@ public class SpringRabbitMQProducer extends DefaultAsyncProducer {
     }
 
     public RabbitTemplate getInOnlyTemplate() {
-        if (inOutTemplate == null) {
+        if (inOnlyTemplate == null) {
             inOnlyTemplate = getEndpoint().createInOnlyTemplate();
         }
         return inOnlyTemplate;