Sorry, I should have said this 2.11

Geoffrey A Gershaw
Credit eTrading Development
+1 919 994 6412 (*102 6412)


-----Original Message-----
From: Claus Ibsen [mailto:claus.ib...@gmail.com] 
Sent: Friday, September 13, 2013 8:49 AM
To: users@camel.apache.org
Subject: Re: Simple Language Question

What Camel version do you use?

On Thu, Sep 12, 2013 at 6:03 PM, Gershaw, Geoffrey A. (KFFC 223)
<geoffrey.gers...@credit-suisse.com> wrote:
> Hello,
>
>
> I am trying to print the size of a seda queue in a log statement. See my 
> attempt below. I need to get hold of the Context so I can lookup the seda 
> endpoint. I thought I could do this via the Exchange. I can seem to get a 
> hold of that either.
>
> Anyone know how to get a reference to the CamelContext or Exchange in simple?
>
> <camel:log message="HandleMultiMarketDataIncremental in 
> ${date:now:HH:mm:ss.SSS} 
> sedaQueue:${in.getExchange().getContext().getEndpoint('seda:HandleMultiMarketDataIncremental').size()}"/>
>
> Thanks much
>
> Geoffrey A Gershaw
>
>
>
> ===============================================================================
> Please access the attached hyperlink for an important electronic 
> communications disclaimer:
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
> ===============================================================================
>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen


=============================================================================== 
Please access the attached hyperlink for an important electronic communications 
disclaimer: 
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html 
=============================================================================== 

Reply via email to