On Wed, Nov 28, 2012 at 4:43 PM, dunnlow <dunn...@yahoo.com> wrote:
> Claus, I understand that is what the exception indicates; However, as you can
> see from my code above (which is the actual code from the test) that I have
> declared the header a Map<String,Object> and am setting the value to the
> string "John."  Thus, I'm confused where the hbase class is being referenced
> at all.  The only classes I've imported in my test are:
>
> java.util.HashMap
> java.util.Map
> org.apache.camel.test.junit4.CamSpringTestSupport,
> org.junit.Ignore
> org.junit.Test
> org.springframework.context.support.AbstractApplicationContext
> org.springframework.context.support.ClassPathXmlApplicationContext
>

Yeah but check your classpath. Your sample project has dependency on
other JARs, and these JARS has dependency on yet other JARs.
So it's what you have on the classpath though.


And btw it was my mistake headerAs does not support OGNL.

See this page. And look for the OGNL's
http://camel.apache.org/simple




>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Set-body-to-length-of-header-string-in-Spring-DSL-tp5723258p5723354.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to