[
https://issues.apache.org/jira/browse/CAMEL-28001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-28001 started by Guillaume Nodet.
-----------------------------------------------
> 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
> Assignee: Guillaume Nodet
> Priority: Minor
> 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)