-
1. Re: Migrationproblems JBossESB 4.4 --> JBossESB 4.7
beve Dec 15, 2009 7:22 PM (in response to garuda)Hi Dennis,
I can't see what is wrong just by looking at the config you posted but if you can modify one of our quickstart to reproduce this issue then I'd be happy to take a look.
Another option might also be to update you Smooks configuration. There is a new feature for the configuration that uses schemas for the different configuration elements in Smooks.
If you take a look at the transformation quickstarts, for example transform_XML2POJO, they have been updated with this new config. Take a look as I think it makes the configs more readable.
Regards,
/Daniel
-
2. Re: Migrationproblems JBossESB 4.4 --> JBossESB 4.7
garuda Dec 18, 2009 3:23 AM (in response to beve)Hello Daniel,
thanks for your fast reply. I migrated my Smooks Resources to smooks-1.1.xsd resp. javabean-1.2.xsd. My mappings are working now. I additionally asserted the bean to be wired an extended life cyle.
<jb:bean beanId="OrderHead
" class = "
model.OrderHead
"createOnElement="ORDER_HEAD">
...
<jb:wiring beanIdRef="OrderPos
"setterMethod="addPositionToList" />
</jb:bean
>
...<jb:bean beanId="
OrderPos
" class = "
model.OrderPos
"createOnElement="
ORDER_POS
" extendLifecycle="true">
...
</jb:bean
>
Best regards,
Dennis