Re: Problem getting custom header

2013-06-27 Thread Sean Beck
I figured it out. getProperty() wasn't accessing my uuid header. Switched it to getIn().getHeader("uuid", String.class). Thanks though! On Thu, Jun 27, 2013 at 3:47 PM, Christian Müller < christian.muel...@gmail.com> wrote: > Message header or Exchange property? > Which type is the object? > Do y

Re: Problem getting custom header

2013-06-27 Thread Christian Müller
Message header or Exchange property? Which type is the object? Do you use the jms option transferExchange=true [1]? [1] http://camel.apache.org/jms.html Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: htt

Problem getting custom header

2013-06-27 Thread Sean Beck
So I send messages with a custom header called "uuid" and a camel program that aggregates based on this header. I know that the value gets set in my messages. However when I pull a message from the queue in my camel program and use newExchange.getProperty("uuid") and cast it to a string, I get null