SMX 3.3.x does not support Camel 2.x, so stick with the 1.x version of Camel.


On Wed, Jul 21, 2010 at 9:46 AM, alexcpn <[email protected]> wrote:
>
> Hi Got over the error
>
> Changed to camel-core 1.4.0
>
>        <dependency>
>    <groupId>org.apache.camel</groupId>
>    <artifactId>camel-core</artifactId>
>    <version>1.4.0</version>
>        </dependency>
>
> and also changed the code to match the 1.4.0 syntax
>
>        Namespaces ns = new Namespaces("p", 
> "http://nsn.com/obs/mw/medfra/snmpbc";);
>
> from("jbi:endpoint:http://servicemix.apache.org/test/inmc_filepoller/endpoint";)
>        //.setBody(constant("<message>Hello world!</message>"))
>        .aggregator()
>        .xpath("string(/p:snmp-getResponse/p:NE/@ipaddr)", ns)
>                .batchSize(5)
>
> Now however I am getting some xpath error while the message comes in
>
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/servicemix-3-3-1-and-camel-core-2-3-0-tp1624310p1687494.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to