Re: message losing headers
Read the FAQ http://camel.apache.org/why-do-my-message-lose-its-headers-during-routing.html On Fri, Oct 1, 2010 at 9:46 PM, Mark Webb elihusma...@gmail.com wrote: I am passing a message through a series of Processors and in the course of this processing I am setting header information in the Message objects. I have run into a problem where after setting a header value in one Processor, the next Processor in the routing does not see it. I have run through steps to try and determine what is going on, and cannot figure it out. I am using ActiveMQ 5.4.1 and Camel 2.4.0. Thanks -- 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
message losing headers
I am passing a message through a series of Processors and in the course of this processing I am setting header information in the Message objects. I have run into a problem where after setting a header value in one Processor, the next Processor in the routing does not see it. I have run through steps to try and determine what is going on, and cannot figure it out. I am using ActiveMQ 5.4.1 and Camel 2.4.0. Thanks
Re: message losing headers
You may want to read the Notes section in the JMS Component where is describes valid headers. http://camel.apache.org/jms.html Check that you have no '-' or the like in the header names. What do the dropped headers look like? thx ste On Fri, Oct 1, 2010 at 12:46 PM, Mark Webb elihusma...@gmail.com wrote: I am passing a message through a series of Processors and in the course of this processing I am setting header information in the Message objects. I have run into a problem where after setting a header value in one Processor, the next Processor in the routing does not see it. I have run through steps to try and determine what is going on, and cannot figure it out. I am using ActiveMQ 5.4.1 and Camel 2.4.0. Thanks
Re: message losing headers
They are just strings. Seems like once I changed the destinations from queues to direct:whatever the header information started carrying over. Must be once the message leaves Camel the header information is gone. Thanks for the help On Fri, Oct 1, 2010 at 4:17 PM, Stephen Gargan steve.gar...@gmail.com wrote: You may want to read the Notes section in the JMS Component where is describes valid headers. http://camel.apache.org/jms.html Check that you have no '-' or the like in the header names. What do the dropped headers look like? thx ste On Fri, Oct 1, 2010 at 12:46 PM, Mark Webb elihusma...@gmail.com wrote: I am passing a message through a series of Processors and in the course of this processing I am setting header information in the Message objects. I have run into a problem where after setting a header value in one Processor, the next Processor in the routing does not see it. I have run through steps to try and determine what is going on, and cannot figure it out. I am using ActiveMQ 5.4.1 and Camel 2.4.0. Thanks
Re: message losing headers
I tried passing headers in messages on a SEDA queue, and saw that the header name was converted from mixed case to lowercase by the setHeader() method. Is this intended behavior? And is it perhaps making headers appear to disappear? Don On Fri, Oct 1, 2010 at 4:24 PM, Mark Webb elihusma...@gmail.com wrote: They are just strings. Seems like once I changed the destinations from queues to direct:whatever the header information started carrying over. Must be once the message leaves Camel the header information is gone. Thanks for the help On Fri, Oct 1, 2010 at 4:17 PM, Stephen Gargan steve.gar...@gmail.com wrote: You may want to read the Notes section in the JMS Component where is describes valid headers. http://camel.apache.org/jms.html Check that you have no '-' or the like in the header names. What do the dropped headers look like? thx ste On Fri, Oct 1, 2010 at 12:46 PM, Mark Webb elihusma...@gmail.com wrote: I am passing a message through a series of Processors and in the course of this processing I am setting header information in the Message objects. I have run into a problem where after setting a header value in one Processor, the next Processor in the routing does not see it. I have run through steps to try and determine what is going on, and cannot figure it out. I am using ActiveMQ 5.4.1 and Camel 2.4.0. Thanks