Hi
You can set the header in Java code
There is a <processRef> tag where you can reference a spring bean id. This bean
is just a class that you create and implement the org.apache.camel.Processor
interface. Here you can add the header in java code
Public void process(Exchange exchange) {
Exchange.getIn().setHeader("myheaderkey", "myheadervalue");
}
Med venlig hilsen
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk
-----Original Message-----
From: vanyatka [mailto:[EMAIL PROTECTED]
Sent: 17. oktober 2008 13:20
To: [email protected]
Subject: Re: how to inject JMS property to all messages in a queue?
James.Strachan wrote:
>
> Looks like you'll need a 5.2 build which comes with Camel 1.4.0
>
I'd be happy to, but ...
This page is a preview of the download page for Apache ActiveMQ 5.2.0, but
this release is not official yet.
The download links will not work. Please, come back in a few days or follow
the vote thread to see how the release is progressing.
Does it mean I cannot add JMS header using camel 1.3.0? Now I'm not being
capricious now about valid XSD, I just need it work somehow )
--
View this message in context:
http://www.nabble.com/how-to-inject-JMS-property-to-all-messages-in-a-queue--tp20015597s22882p20031444.html
Sent from the Camel - Users mailing list archive at Nabble.com.