Hi
,
we have a messaging
system withit we send XML to several recievers.
The XML is quite
complex and contains a lot of elements.
I have a reciever
client that is interested in a part of the data only.
I wrote a mapping
file to map only the needed elements and set the unmarshaller to ignore
extra
elements. But the
performance is really poor.
The performance is
getting better the more elements I map.
I suspect that the
unmarshaller first tries to find a class/attributes for every XML element
with
Java Reflection
even though the ignoreExtraElements direction is
set.
Only if it doesn't
find a class it ignores the element.
Is there a way to
avoid the unnecessary usage of reflection and ignore immediatly the
elements?
thanx,
Uwe
M�ller GmbH
& Co. KG
Albstrasse
80
89081 Ulm-Jungingen
Telefon: +49 731/174 -182
Telefax:
+49 731/174 -
E-Mail: Uwe[EMAIL PROTECTED]
Internet: http://www.mueller.de
