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