You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Serdar Gökay (Jira)" <ji...@apache.org> on 2026/10/21 19:57:00 UTC
[jira] [Assigned] (CAMEL-25875) camel-milo - a sessionTimeout configured on the component does not reach its endpoints
[ https://issues.apache.org/jira/browse/CAMEL-25875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Serdar Gökay reassigned CAMEL-25875:
------------------------------------
Assignee: Serdar Gökay
> camel-milo - a sessionTimeout configured on the component does not reach its endpoints
> --------------------------------------------------------------------------------------
>
> Key: CAMEL-25875
> URL: https://issues.apache.org/jira/browse/CAMEL-25875
> Project: Camel
> Issue Type: Bug
> Components: camel-milo
> Affects Versions: 4.23.0
> Reporter: Serdar Gökay
> Assignee: Serdar Gökay
> Priority: Minor
>
> {{MiloClientComponent}} and {{MiloBrowseComponent}} create the configuration of each endpoint with the copy constructor {{MiloClientConfiguration(MiloClientConfiguration other)}}. That constructor copies every option except {{sessionTimeout}} (since the initial import of the component). A session timeout configured on the component, for example with {{camel.component.milo-client.configuration.session-timeout}} or {{getConfiguration().setSessionTimeout(...)}}, therefore never reaches an endpoint, and Milo's default of 120 000 ms applies. The endpoint option {{sessionTimeout}} works, because the URI parameters are set on the copy.
> Fix: copy {{sessionTimeout}} in the copy constructor, with a test that a component-level session timeout reaches the endpoints of both components. I can provide the pull request.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)