Re: How to get User ID from ActiveMQ to Camel

2013-07-29 Thread Daniel Kleine-Albers
Hi, thank you very much! I had already tried to override the Header Filter Strategy, but I have not been successful with this method. However, I was able to create a small ActiveMQ Plugin that puts the authenticated username in another header - and voila, this is perfectly visible in Camel.

Re: How to get User ID from ActiveMQ to Camel

2013-07-28 Thread Claus Ibsen
Hi Logged a ticket to improve this https://issues.apache.org/jira/browse/CAMEL-6583 On Sun, Jul 28, 2013 at 12:22 PM, Claus Ibsen wrote: > Hi > > Ah spotted this, see the source code of > org.apache.camel.component.jms.JmsHeaderFilterStrategy > > On Sun, Jul 28, 2013 at 12:21 PM, Claus Ibsen wr

Re: How to get User ID from ActiveMQ to Camel

2013-07-28 Thread Claus Ibsen
Hi Ah spotted this, see the source code of org.apache.camel.component.jms.JmsHeaderFilterStrategy On Sun, Jul 28, 2013 at 12:21 PM, Claus Ibsen wrote: > Hi > > What version of ActiveMQ and Camel are you using? > > And you can enable DEBUG or TRACE logging on > org.apache.camel.component.jms.Endp

Re: How to get User ID from ActiveMQ to Camel

2013-07-28 Thread Claus Ibsen
Hi What version of ActiveMQ and Camel are you using? And you can enable DEBUG or TRACE logging on org.apache.camel.component.jms.EndpointMessageListener Then Camel should log the receive JMS message. Maybe you can see if it contains the user id somewhere. You can also always get the original ja

How to get User ID from ActiveMQ to Camel

2013-07-23 Thread Daniel Kleine-Albers
Hi everyone, I'm trying to get the ActiveMQ username of the sender of a particular message into Camel for further processing. However this does not seem to work. I have setup my ActiveMQ broker to populate the JMSXUserID message property. useShutdownHook="false" useJmx="true"