Try using ' ' around the argument to pass in the string value

  <log message="....${body.get(0).get(`xx.xxx.xxx.Employee`)}"/>/

On Sat, Apr 11, 2015 at 3:50 AM, chaituu <[email protected]> wrote:
> how to print the list of map objects in Spring DSL log.
>
> in java i am able to print the value .
>
>
> LOGGER.info("Employee:"+((Employee)csvList.get(0).get(Employee.class.getName())).getEmployeeId());//
> in Java the value is coming.
>
>          <log message="....${body.get(0).get(xx.xxx.xxx.Employee)}"/>//Spring 
> DSL
> object is coming as null.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/print-the-list-of-map-objects-in-Spring-DSL-log-tp5765615.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to