You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2026/08/21 18:50:00 UTC

[jira] [Resolved] (CAMEL-24413) camel-hazelcast - ReplicatedHazelcastAggregationRepository does not apply the default serialization filter

     [ https://issues.apache.org/jira/browse/CAMEL-24413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Cosentino resolved CAMEL-24413.
--------------------------------------
    Resolution: Fixed

> camel-hazelcast - ReplicatedHazelcastAggregationRepository does not apply the default serialization filter
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-24413
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24413
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-hazelcast
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 4.23.0
>
>
> CAMEL-23414 introduced HazelcastSerializationFilterHelper.applyDefault(Config) and called it from every place where camel-hazelcast bootstraps its own managed Hazelcast instance:
> * HazelcastAggregationRepository.doStart() (line 454)
> * HazelcastIdempotentRepository (line 63)
> * HazelcastDefaultComponent (line 166)
> * HazelcastUtil (line 38)
> ReplicatedHazelcastAggregationRepository.doStart() builds its Config the same way but was missed:
>     Config cfg = new XmlConfigBuilder().build();
>     cfg.setProperty("hazelcast.version.check.enabled", "false");
>     hazelcastInstance = Hazelcast.newHazelcastInstance(cfg);
> The class predates CAMEL-23414 and was never updated, so a route using the replicated repository without injecting its own hazelcastInstance runs with different defaults from every sibling.
> Proposal: add the missing HazelcastSerializationFilterHelper.applyDefault(cfg) call so all five bootstrap sites behave identically, plus a test asserting the filter is present on the replicated repository's own instance. Backport alongside CAMEL-23414's own backports (4.14.x, 4.18.x).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)