[
https://issues.apache.org/jira/browse/CAMEL-23359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-23359.
---------------------------------
Resolution: Fixed
> Jetty Endpoint should return effective port number
> --------------------------------------------------
>
> Key: CAMEL-23359
> URL: https://issues.apache.org/jira/browse/CAMEL-23359
> Project: Camel
> Issue Type: Improvement
> Components: camel-jetty
> Affects Versions: 4.19.0
> Reporter: Bartosz Popiela
> Priority: Minor
> Fix For: 4.21.0
>
>
> When using random port number (0) for Jetty endpoint (e.g. in tests)
> currently there is no way to get the effective port number bound by the server
> {code:java}
> @EndpointInject("jetty:localhost:0/sample")
> JettyHttpEndpoint12 sampleEndpoint; {code}
> Ideally, JettyHttpEndpoint#getServiceUrl should reflect the effective port
> number.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)