logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: Finding free ports
Date Wed, 25 Jun 2014 16:01:31 GMT
There is one just like it in Mina.

Gary


On Wed, Jun 25, 2014 at 11:02 AM, Matt Sicker <boards@gmail.com> wrote:

> I think AvailablePortFinder was a class I copied from Camel.
>
>
> On 24 June 2014 23:24, Gary Gregory <garydgregory@gmail.com> wrote:
>
>> We have two ways of finding free socket ports:
>>
>> - org.apache.logging.log4j.test.AvailablePortFinder has been around for a
>> while, and
>> - org.apache.logging.log4j.core.net.FreePortFinder which is a new class I
>> refactored out of a bunch of duplicate code in the Flume tests.
>>
>> We need to pick on way of doing this. FreePortFinder gets my vote because
>> it is simpler.
>>
>> Thoughts?
>>
>> Gary
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> Java Persistence with Hibernate, Second Edition
>> <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>>
>
>
>
> --
> Matt Sicker <boards@gmail.com>
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
View raw message