Thanks for the reply. Here are my answers to your questions: 1. MULE - I use MULE as the ESB...so I was thinking Camel would not be needed. I was hoping to just run ActiveMQ as a windows service. I want to use ActiveMQ and Mule together...not as replacements.
2. I will look at Java Printing. Thanks. As long as I can get two-way communications...then this should work. James.Strachan wrote: > > 2008/9/8 James Strachan <[EMAIL PROTECTED]>: >> 2008/9/8 whitewaterbug <[EMAIL PROTECTED]>: >>> >>> I was hoping that someone had already written some code or an existing >>> project I could leverage. >>> Also, my centralized app uses MULE so I was hoping not to just have >>> activemq >>> running as a windows service. >> >> I don't understand how the use or not of MULE affects whether or not >> you'd run the activemq broker as a windows service. >> >> >>> My idea was: >>> >>> 1. Use ActiveMQ as a brainless agent that waits for a print job >>> 2. When a print job is destined for it, it pulls it off of its own >>> queue >>> 3. Use ActiveMQ CMS to force print >>> 4. Use ActiveMQ CMS to signal events (e.g. printer out of paper) >>> >>> Is this the right approach? Can CMS be called from the ActiveMQ side to >>> send into the client? >> >> You'd wrap up the thing that prints messages as using CMS or NMS to >> consume messages - so it'd pull messages from the ActiveMQ broker's >> queue and print them - or sending a failure message if it couldn't >> print (e.g. out of paper). >> >>> Anyone have ideas on what the Microsoft Windows >>> API/SDK's will need to be? >> >> No idea :) > > It might be worth trying to use the Java APIs for printing? > http://www.javaworld.com/javaworld/jw-10-2000/jw-1020-print.html > > e.g. you could use XSLT with FOP > http://xmlgraphics.apache.org/fop/ > > or iText or something to create a PDF and send it to the printer? > http://www.lowagie.com/iText/ > > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://open.iona.com > > -- View this message in context: http://www.nabble.com/Windows-print-server-using-activemq-tp19374302p19379650.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.