[
https://issues.apache.org/jira/browse/CAMEL-25875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-25875:
--------------------------------
Fix Version/s: 4.22.3
> 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
> Fix For: 4.22.3, 4.24.0
>
>
> {{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
(v10.3.26#10030026)