I've developed a test domain that has JAXB2-annotated POJOs and the
generation of the schema from these pojos. Now in my SU, I've retrieved a
file and used the XSLT translator to transform the XML into something that
can be unmarshalled into my domain POJOs. My question is, how do I connect
the output from the XSLT transformation to the jsr-181 endpoint that will
unmarshal this xml document into my jaxb2 pojos? I'm used to seeing the
"destination service":
<sm:activationSpec
componentName="XSLTTransformer"
service="foo:XSLTTransformer"
destinationService="foo:JAXB2Unmarshaller">
....
Now how do I define this destination using the jsr-181 endpoint? I know
this did not work:
<jsr181:endpoint endpoint="foo:JAXB2Unmarshaller"
typeMapping="jaxb2">
<jsr181:pojo>
<bean class="test.UnmarshalService" />
</jsr181:pojo>
</jsr181:endpoint>
thanks in advance!
-los
--
View this message in context:
http://www.nabble.com/connecting-to-jsr-181-jaxb2-tf2523299.html#a7038693
Sent from the ServiceMix - User mailing list archive at Nabble.com.