camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tracy Snell (JIRA)" <>
Subject [jira] [Commented] (CAMEL-3758) use AtomicInteger in AvailablePortFinder
Date Mon, 18 Apr 2011 06:04:05 GMT


Tracy Snell commented on CAMEL-3758:

This change doesn't break any code. Unless you were completely using it wrong. In that case
it fixes your code. It just allows for easier use and parallel unit tests are much less likely
to clash.

> use AtomicInteger in AvailablePortFinder 
> -----------------------------------------
>                 Key: CAMEL-3758
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-test
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.8.0
> Use a static AutomicInteger in AvailablePortFinder to increment the default port available.
Will remove the burden from the user of the class and will help if we move to a multi threaded
test environment.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message