L.S.,
After struggling a bit with getting the servicemix-lwcontainer POJO
sample to work, I would like to update the wiki pages to reflect what I
found out:
- The servicemix.xml sample on
http://servicemix.org/site/pojo-support.html mentions <sm:container />,
while http://servicemix.org/site/servicemix-lwcontainer.html says that
<sm:serviceunit/> should be used. If you do use <sm:container />, you
get an error message (Can not find 'jbi' bean), so I think the latter
page is holding the correct information.
- When using ServiceMix 3.0, the sample should include a <classpath/>
block, for ServiceMix 3.1 this appears not to be necessary
- If you use ServiceMix 3.0, the order of xml elements in the
servicemix.xml sample mentioned above is correct, but if you use a
ServiceMix 3.1 development snapshot, the order of the sender and
receiver in the example should be reversed
Are these observations correct and can I safely add them to the wiki or
am I completely missing the point myself (just trying to avoid adding to
the confusion by adding wrong information to the wiki)?
Regards,
Gert Vanthienen
- lwcontainer POJO remarks Gert Vanthienen
-