On 07/04/2008, Valerio VALDEZ Paolini <[EMAIL PROTECTED]> wrote: > Hi, > > I've been using ActiveMQ for some time and now I'm trying to figure out how > to leverage EIP via Camel. However, being completely new to Java and coming > from a Perl background, I'm experiencing some difficulties even running the > basic samples included along with the binary distribution of ActiveMQ-5.0.0. > > Therefore I'm seeking your help to understand few basic things: > > - is Camel shipped with ActiveMQ? Looking at sample configuration, it seems > so, but Camel binary distribution includes a lot more files; should Camel > be downloaded and started separately? Would you be so kind to share an > example of how you setup it?
There should be enough of Camel inside the ActiveMQ broker to do most of what you need; but you might wanna add a few more jars depending on how complex your camel routes are. e.g. the out of the box ActiveMQ comes with core Camel support (camel-core) within support for files, SEDA, XSLT and mock testing endpoints - along with spring support (camel-spring) and JMS support. However if you wanted support for other components; such as mail, you'd need to add more jars (e.g. camel-mail and its dependencies such as JavaMail etc) > - if Camel inside ActiveMQ works out-of-the-box, why is example found at > > http://activemq.apache.org/camel/message-router.html > > throwing a Null Pointer exception during startup? Could you show me the stack trace? > - is there a comprehensive documentation about configuring EIP rules using > XML? Can you point me to some online reference? > > See below for more details about versions used and configuration file. Here's all the docs we've got so far... http://activemq.apache.org/camel/user-guide.html in particular http://activemq.apache.org/camel/xml-configuration.html which includes a link to the online reference for the XSDs etc Hopefully the documentation will improve soon. -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com