Claus Ibsen created CAMEL-28001:
-----------------------------------

             Summary: camel-cassandraql - aggregation repository ignores ttl
                 Key: CAMEL-28001
                 URL: https://issues.apache.org/jira/browse/CAMEL-28001
             Project: Camel
          Issue Type: Bug
          Components: camel-cassandraql
            Reporter: Claus Ibsen
             Fix For: 4.25.0


h4. 1. CassandraUtils.generateInsert

usingTtl is applied only when ifNotExists=true; CassandraAggregationRepository 
passes false, so its ttl is ignored. Proposed change: if (ttl != null) insert = 
(insert != null ? insert : regularInsert).usingTtl(ttl).

h4. 2. Metadata

CassandraAggregationRepository exposes sessionHolder, but its only setter is 
setSession(CqlSession); deserializationFilter has no @Metadata.

Found while checking the option and console descriptions of CAMEL-27980.

----
_Filed by Claude Code on behalf of davsclaus_



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

Reply via email to