for ( final Iterator<Connection> iterator = outgoing.iterator(); iterator.hasNext(); ) {
final Connection connection = (Connection) iterator.next();
ConstraintEvaluator constraint = (ConstraintEvaluator) split.getConstraint( connection );
if ( constraint != null && constraint.getPriority() < priority && !constraint.isDefault()) {
try {
if ( constraint.evaluate( this,
connection,
constraint ) ) {
selected = connection;
priority = constraint.getPriority();
}