Hi, René and Sanja,
I looked at Java SDK and it is really cumbersome to retrieve all the attach-data there.
I have found Enumaration and Iteration not to work properly - using .getEnumeration() to return an enumerator would fail to deliver what I need - it would return the hasMoreElements = false even though I can clearly see is as being loaded with at least three sets of key-value pair.
I have also failed to get KeyValueCollection do anything useful on its own. Unlike C#, there is no .Keys member to give you all the keys! (At least I don't know how).
Here is how I have managed to get it working... It might not be the smartest way, but at least it works!
KeyValueCollection attach_data = event.getUserData();
Object[] arr = attach_data.toArray();
int count;
for (count = 0; count < arr.length; count++) {
KeyValuePair kvp = (KeyValuePair)arr[count];
}
I hope this will make your life a bit easier

I really wish there was a simple way to map KeyValueCollection into KVP pairs!!! And if someone knows how to do it (my way is simply awful), PLEASE tell me.
Best regards,
Vic