I would like to have (and develop, if necessary) a JBI service engine that 
contains an XSLT stylesheet that transforms an input message (XML) into XSL-FO. 
 The service engine would then apply XSL-FO formatting and generate a PDF into 
a file specified at SE configuration/deployment time.  So in other words, the 
flow would be:

Nmr --[xml message]--> [XSL FO SE]
                           |
                           -->[XSLT stylesheet]-->[XSL-FO]-->[Apache 
FOP]-->[PDF output file]

It looks like I may be able to use the file:sender component, and write my own 
Marshaller...am I on the right track here?  It seems the page at 
http://fusesource.com/docs/esb/4.3/jbi_file/index.html is a place to start.  
However...forgive the newbie question here...how would I deploy the custom 
marshaller?  To use the file component ordinarily, I would use the maven 
archetype to generate the project, then configure it using Spring (in 
xbean.xml).  Would I simply write my marshaller class in src/main/java and then 
reference it in xbean.xml?  And where in the project would I put all the FOP 
jars (and their dependencies)...there is nothing like a /lib directory within 
the structure generated by the maven archetype...

Thanks for any help you can offer.
--Scott

Reply via email to