You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by callum <ca...@hotmail.com> on 2007/06/05 07:14:44 UTC

Jsr181 component: is it possible to mix Jsr181 annotations and Aegis mapping files?

I have been developing a service unit which encapsulates my service layer and
exposes it to the JBI bus.  The first phase of my development involved
service methods which involved only custom classes which could be annotated
with Jsr 181 annotations.

Subsequently I introduced a method which takes a Rome SyndFeed object as an
argument.  In this case I cannot annotate the class and I had assumed that I
would be able to include an Aegis mapping file which would direct Xfire how
to render that particular class (as Rome does not use generics the mapping
file is necessarry for any collections).

Unfortunately, I'm encountering errors relating to the mapping of
java.util.List which seeem to indicate that the mapping file is not being
found.

While I still have further investigation to do, I thought it would be
helpful to know if it is possible to mix Jsr181 annotations and Aegis
mapping files in this way?

Regards,
Callum
-- 
View this message in context: http://www.nabble.com/Jsr181-component%3A-is-it-possible-to-mix-Jsr181-annotations-and-Aegis-mapping-files--tf3869558s12049.html#a10963250
Sent from the ServiceMix - User mailing list archive at Nabble.com.