I have tested the component Camel-stringtemplate for the same thing I discovered another problem: the component Camel-stringtemplate loses all fields properties. worse than the component velocity or freemarker:)
Thank you in advance titexe titexe wrote: > > I tried to test the component freemarker instead of a velocity component, > but unfortunately there's the same the problem of case sensitivity for > fields properties of the message header. > > thank you inadvance, > > titexe > > > Claus Ibsen-2 wrote: >> >> On Tue, Feb 16, 2010 at 9:59 AM, titexe <[email protected]> wrote: >>> >>> Hello, >>> >>> using the velocity component don't respect the case matching of all >>> fields >>> of the header (JMS Header + Properties) >>> >>> For example: the exchange of properties JMSCorrelationID change the case >>> matching, after using velocity component, it puts the property in >>> lowercase >>> jmscorrelationid. >>> >>> there's any way to solve this problem? >>> >> >> Well you could dig into this and see what Velocity does. For example >> fire up a debugger and check the problem and help pin point the issue. >> Then you could try to fix it yourself and submit a patch. >> >> For example you can also create a simple unit test without JMS that >> just set a header like JMSCorrelationID and have it routed through >> velocity and see what the case of the header is now. Then create a >> JIRA ticket and attach your sample. >> >> >> >>> Thank you in advance >>> >>> titexe >>> -- >>> View this message in context: >>> http://old.nabble.com/Problem-with-velocity-component-tp27605243p27605243.html >>> Sent from the Camel - Users 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 >> >> > > -- View this message in context: http://old.nabble.com/Problem-with-velocity-component-tp27605243p27606955.html Sent from the Camel - Users mailing list archive at Nabble.com.
