Re: wiretap getting header value

2010-01-20 Thread preben
Created jira https://issues.apache.org/activemq/browse/CAMEL-2384 If time allows it I will try and set up a test case to document the problem. Although I'm using Oracle AQ as jms provider I dont think this is the cause of the problem since all header values seems to be present. Any chance this w

Re: wiretap getting header value

2010-01-20 Thread Claus Ibsen
On Wed, Jan 20, 2010 at 3:34 PM, preben wrote: > > Thanks for the help. > > For now I'll stick to using Exchange directly - this works. > Using camel annotations in combination with Spring seems not to work. I'll > try to create a JIRA tomorrow, but I haven't the time to construct a test > case. S

Re: wiretap getting header value

2010-01-20 Thread preben
Thanks for the help. For now I'll stick to using Exchange directly - this works. Using camel annotations in combination with Spring seems not to work. I'll try to create a JIRA tomorrow, but I haven't the time to construct a test case. Sorry. Preben Claus Ibsen-2 wrote: > > On Wed, Jan 20, 20

Re: wiretap getting header value

2010-01-20 Thread Claus Ibsen
On Wed, Jan 20, 2010 at 2:04 PM, preben wrote: > > The auditmessageDAO is not defined in xml but using @Repository annotation > and is picked up by Spring douring initializing of the applicationContext. > Is there a issue regarding this ? should it be defined in XML instead (Camel > + Spring depen

Re: wiretap getting header value

2010-01-20 Thread preben
The auditmessageDAO is not defined in xml but using @Repository annotation and is picked up by Spring douring initializing of the applicationContext. Is there a issue regarding this ? should it be defined in XML instead (Camel + Spring dependencies) The funny thing is thoug that the body gets bou

Re: wiretap getting header value

2010-01-20 Thread Claus Ibsen
On Wed, Jan 20, 2010 at 1:46 PM, preben wrote: > > Actually I was looking for JMSMessageID like this > @Header(value="JMSMessageID") String jmsMessageId, but when that didn't work > i changed it to @Headers Map to see if I get any values. > The parameter get's bound as null !! And how is auditMes

Re: wiretap getting header value

2010-01-20 Thread preben
Actually I was looking for JMSMessageID like this @Header(value="JMSMessageID") String jmsMessageId, but when that didn't work i changed it to @Headers Map to see if I get any values. The parameter get's bound as null !! Claus Ibsen-2 wrote: > > Hi > > So which headers are you looking for to

Re: wiretap getting header value

2010-01-20 Thread Claus Ibsen
Hi So which headers are you looking for to be in the audit bean? You do not have any custom JMS properties, only the regular JMS headers. And you are saying that Map instance is empty? or is it null? On Wed, Jan 20, 2010 at 12:26 PM, preben wrote: > > Im using camel v. 2.1.0 Sure the 2nd rout

Re: wiretap getting header value

2010-01-20 Thread preben
Im using camel v. 2.1.0 Sure the 2nd route says: [Camel thread 0: seda://audit] 20 jan. 2010 - 12:22:09,858 INFO org.apache.camel.processor.interceptor.Tracer [42a5443b-0a62-4477-885f-c6f6c40274b1 >>> (AuditRoute) from(seda://audit) --> ref:auditMessageDAO method: audit <<< Pattern:InOnly, Headers

Re: wiretap getting header value

2010-01-20 Thread Claus Ibsen
What does the tracer say in the 2nd route? camel:route id="AuditRoute"> eg from seda:audit -> auditMessageDAO this is the interesting part BTW which version of Camel are you using? On Wed, Jan 20, 2010 at 11:49 AM, preben wrote: > > Hi Claus >

Re: wiretap getting header value

2010-01-20 Thread preben
Hi Claus Seems that the headers are present even on the wiretap endpoint. : [DefaultMessageListenerContainer-1] 20 jan. 2010 - 11:44:01,614 INFO org.apache.camel.processor.interceptor.Tracer [ID:7D97437F084F8E83E040650A0A1027E5 >>> (RapNotificationRoute) from(oracleQueue://queue:FURTHERELEMENTS_

Re: wiretap getting header value

2010-01-20 Thread Claus Ibsen
On Wed, Jan 20, 2010 at 9:52 AM, preben wrote: > > Hi > > I'm trying to create a auditservice using a wiretap. > > eg. >         >                         uri="oracleQueue:queue:FURTHERELEMENTS_TEST?jmsMessageType=Text"/> >                         >                         >