activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Valerio VALDEZ Paolini <>
Subject ActiveMQ and Camel
Date Mon, 07 Apr 2008 10:31:19 GMT

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?

- if Camel inside ActiveMQ works out-of-the-box, why is example found at

  throwing a Null Pointer exception during startup?

- 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.

Thanks in advance,




ActiveMQ: 5.0.0 binary distribution

Java: tried both Java version 1.5.0_13 and 1.6.0_03 under Kubuntu



  <broker xmlns="" brokerName="localhost" 
      <queue physicalName="" />
      <topic physicalName="" />
      <queue physicalName="" />
      <queue physicalName="" />
      <queue physicalName="" />
          <compositeQueue name="">
              <queue physicalName=""/>
              <topic physicalName=""/>
              <topic physicalName=""/>


       <transportConnector name="stomp"   uri="stomp://localhost:61613"/>

  <camelContext xmlns="">
    <from uri=""/>
          <header name="X-event-type"/>
          <isEqualTo value="info"/>
        <to uri=""/>
          <header name="X-event-type"/>
          <isEqualTo value="indexer"/>
        <to uri=""/>
        <to uri=""/>

View raw message