The default implementation of the component accepts InOut MEPs (ADD LINK TO FURTHER READING CONCERNING MEPs) and return the input content as the out message. This is already nearly what we want. OUTLINE for further work: - Get Messages
- read Messages
Wiki Markup |
---|
count the bytes
Maybe easiest by XSLT endpoint (can be used to apply an XSLT stylesheet to the incoming exchange and will return the transformed result as the output message.)
see \[ servicemix-saxon\|servicemix-saxon\] |
- send a message back
- Configure SA so that the example receives messages
create & populate C:\hello-world-SE-SU-SA\hello-world-SU\src\main\resources\servicemix.xml - as MyDeployer extends AbstractXBeanDeployer create xbean.xml for SU
- make something send messages (eg quartz timer, HTTP POST,...) and dump the answer (eg TraceComponent, FireWriter, EIP,...)
- add a chapter what user may do now / "how to continue when having the working example"
Classpath for SU to include manually till v3.1, see mail manually editing http://goopen.org/confluence/display/SM/Working+with+Service+Units manually editing http://www.servicemix.org/site/working-with-service-assemblies.html use the SU archetype like in http://www.servicemix.org/site/creating-a-protocol-bridge.html use the SA archetype like in http://www.servicemix.org/site/creating-a-protocol-bridge.html INS When to use this JBI Component INS Using the component that you created provide exact position in the SVN! /samples/hello-world-SE-SU-SA/ integrate from SVN source like it is done at Configuration at http://www.servicemix.org/site/visualisation.html maybe moving the content of overlapping existing docus to this new tut and - where appropriate - delete the old ones (only leaving a redirect). http://www.servicemix.org/site/notes-on-creating-jbi-component-using-maven2.html version14 http://www.servicemix.org/site/creating-a-standard-jbi-component.html version26 are already fully incorporated in the mentioned versions, so delete content and point from there to here (and delete note at the very top) This shall already include everything stated at http://www.servicemix.org/site/maven-jbi-plugin.html#MavenJBIplugin-GettingStarted and http://www.servicemix.org/site/working-with-components.html provide additional reading Creating a protocol bridge.for a "bigger" example The examples page lists examples providing more information, showing further possibilities and components. |