Claus Ibsen created CAMEL-26226:
-----------------------------------

             Summary: camel-cassandraql - CassandraProducer copies the in 
message onto itself before each query
                 Key: CAMEL-26226
                 URL: https://issues.apache.org/jira/browse/CAMEL-26226
             Project: Camel
          Issue Type: Bug
          Components: camel-cassandraql
            Reporter: Claus Ibsen
             Fix For: 4.24.0


Found while adding the catalog body types of cql (CAMEL-24961, PR #28398).

h4. 1. {{exchange.getMessage().copyFrom(exchange.getIn())}} is a no-op

{{CassandraProducer.process}} (main 2a465aa4814c, line 169) calls 
{{exchange.getMessage().copyFrom(exchange.getIn())}} with the comment "copy the 
header of in message to the out message". With no out message {{getMessage()}} 
is the in message, so the call copies the message onto itself and does nothing. 
Read in the code, not run.

Proposed: remove the line.

_Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to