int index = 0;
for (Object selector : entry.selectors) {
OldSelector sel = (OldSelector)selector;
CorrelationKey selCKey = (CorrelationKey) sel.correlationKey;
if (selCKey != null) {
__log.debug(" Changing V2 key " + selCKey.toCanonicalString());
CorrelationKeySet newKeySet = new CorrelationKeySet();
newKeySet.add(new CorrelationKey(""+selCKey.getCorrelationSetName(), selCKey.getValues()));
Selector newSelector = new Selector(sel.idx, sel.plinkInstance, sel.opName,
sel.oneWay, sel.messageExchangeId, newKeySet, "one");