What camel version do you use, and what do you have as input and get as
output
On Thu, May 25, 2023 at 8:23 AM Michael Rambichler
wrote:
> Hi all,
>
> I am struggling with a simple "Simple" Language OGNL use:
>
> I would like to replace a String with a regex via simple
> Please see the following
elCreatedTimestamp}
> headerName="wUnixTimeStamp">${header.wTimeStamp.getTime()/1000}
>
>
>
> Hope it's help!
>
>
> Daniel Langevin
>
>
> -Message d'origine-
> De : ski n
> Envoyé : 26 novembre 2021 09:48
> À : users@camel.apache.org
gouv.qc.ca>:
> Sorry to fast for time,
>
> Here is: ${date:now:-MM-dd' à 'HH:mm:ss.fff'
> ('yyy'.'D')'}
>
>
>
> Daniel
>
> -Message d'origine-
> De : Daniel Langevin Envoyé : 26
> novembre 2021 08:37 À : users
orry to fast for time,
>
> Here is: ${date:now:-MM-dd' à 'HH:mm:ss.fff'
> ('yyy'.'D')'}
>
>
>
> Daniel
>
> -Message d'origine-
> De : Daniel Langevin
> Envoyé : 26 novembre 2021 08:37
> À : users@camel.apa
Sorry to fast for time,
Here is: ${date:now:-MM-dd' à 'HH:mm:ss.fff' ('yyy'.'D')'}
Daniel
-Message d'origine-
De : Daniel Langevin
Envoyé : 26 novembre 2021 08:37
À : users@camel.apache.org
Objet : RE: Simple language
Hi Raymond,
Hi Raymond,
For date:
${date:now:-MM-dd' à 'HH:mm:ss' ('yyy'.'D')'}
For addition 1 to value of Var1
${header.Var}++
Regards
Daniel Langevin
-Message d'origine-
De : ski n
Envoyé : 26 novembre 2021 07:18
À : users@camel.apache.org
Objet : Simple language
Hi all,
I have two que
Hi
I used the solution you provided Claus with string concat, I just didnt see
it. Thanks for The help!
All the best
/Daniel
Den ons 7 okt. 2020 07:06Claus Ibsen skrev:
> And btw since you use java dsl, then its all java code and you can use
> string concat / string format to put in the ugly num
And btw since you use java dsl, then its all java code and you can use
string concat / string format to put in the ugly number from a
variable or use Camel's property placeholders
On Wed, Oct 7, 2020 at 7:05 AM Claus Ibsen wrote:
>
> Hi
>
> You cannot do that, the function only supports hours.
>
Hi
You cannot do that, the function only supports hours.
1 month is also not a fixed value, e.g. each month varies in days.
On Tue, Oct 6, 2020 at 2:23 PM Daniel Johansson wrote:
>
> Hi Users
>
> When i use the file component i want to filter on files that are older then
> one month and only
Hi Shiva,
bodyOneLine was introduced since camel 3 onward,
https://issues.apache.org/jira/browse/CAMEL-13674.
Maybe it's time to get a ride at camel 3
https://camel.apache.org/manual/latest/camel-3-migration-guide.html ;)
Alex
On Tue, Jun 16, 2020 at 9:57 AM Gv, Shivakumar
wrote:
> Hi team,
Hi
See the migration guide, you should use ${xxx} around the simple
tokens, such as header etc.
On Sat, May 2, 2020 at 5:28 AM Vikas Jaiswal wrote:
>
> I am trying to use simple and have the following in spring xml:
>
> "header? contains 'HeaderName' and header.HeaderName =
> 'TEST'"
>
> This a
Hi Victor,
the parameter has been changed to „name“ in Camel 3.x.
Sent by my mobile device
- Gerald Kallas
> Am 02.05.2020 um 05:28 schrieb Vikas Jaiswal :
>
> I am trying to use simple and have the following in spring xml:
>
> "header? contains 'HeaderName' and header.HeaderName =
> 'TEST'"
Hi
Thanks, fixing that doc page
On Thu, Apr 23, 2020 at 4:22 PM Remco Schoen wrote:
>
> At the URL I posted:
>
> https://camel.apache.org/components/latest/languages/simple-language.html
>
> And Google found it for me…
>
>
> Op 23 apr. 2020, om 16:20 heeft Claus Ibsen
> mailto:claus.ib...@gmail
At the URL I posted:
https://camel.apache.org/components/latest/languages/simple-language.html
And Google found it for me…
Op 23 apr. 2020, om 16:20 heeft Claus Ibsen
mailto:claus.ib...@gmail.com>> het volgende geschreven:
On Thu, Apr 23, 2020 at 4:19 PM Remco Schoen
mailto:r.sch...@topdesk.
On Thu, Apr 23, 2020 at 4:19 PM Remco Schoen wrote:
>
> Hi,
>
> I checked the docs for 2.x and there it says it is deprecated, thanks.
>
> But my next question would be, is the documentation still up-to-date:
>
> “The simple language uses ${body} placeholders for complex expressions where
> the e
Hi,
I checked the docs for 2.x and there it says it is deprecated, thanks.
But my next question would be, is the documentation still up-to-date:
“The simple language uses ${body} placeholders for complex expressions where
the expression contains constant literals. The $\{ } placeholders can be
The syntax without placeholders had been deprecated in the 2.x branch since
a long time.
You now need to use simple('${headers.entityMap.sourceTableName}')
Le jeu. 23 avr. 2020 à 15:42, Remco Schoen a écrit :
> Hi,
>
> I have a question about the Simple language and the use of ${}.
>
> Before Ca
Hi,
Thanks, found it:
.when().simple(“${header.CamelFileNameOnly?.toLowerCase()} start with
‘myservice’)
--
Jari
-Original Message-
From: Onder SEZGIN [mailto:ondersez...@gmail.com]
Sent: 13. marraskuuta 2017 21:10
To: users@camel.apache.org
Subject: Re: Simple language starts with
ti
> Lähettäjä: Claus Ibsen
> Päivämäärä: 13.11.2017 17.04 (GMT+02:00)
> Saaja: users@camel.apache.org
> Aihe: Re: Simple language starts with ignore case
>
> Hi
>
> No its not possible, we have too many operators already - to add
> starts with ignorecase (would be
Hi,
Thanks. I understand. How do I go about lowercasing the filename value?
Jari
Lähetetty Samsung Galaxy -älypuhelimesta.
Alkuperäinen viesti
Lähettäjä: Claus Ibsen
Päivämäärä: 13.11.2017 17.04 (GMT+02:00)
Saaja: users@camel.apache.org
Aihe: Re: Simple language starts with
Hi
No its not possible, we have too many operators already - to add
starts with ignorecase (would be too verbose and ugly)
You can use reg-exp or you can lower-case/upper-case the value and
then use starts with in that case only.
On Mon, Nov 13, 2017 at 2:59 PM, Pakarinen, Jari
wrote:
> Hi,
>
>
Hi
Yeah sure we love contributions
http://camel.apache.org/contributing
On Thu, Oct 13, 2016 at 6:33 PM, dmitriyC300 wrote:
> I may have found a limitation w/ simple language on the 1st index of an empty
> array with a nullsafe expression. Making sure list.size() > 0 in
> BeanExpression line 38
thanks! it works producing java currentTimeMillis. What I need is
currentTimeMillis / 1000L Can simple evaluate it?
--
View this message in context:
http://camel.465427.n5.nabble.com/simple-language-Unix-timestamp-tp5749433p5749439.html
Sent from the Camel - Users mailing list archive at Nabble
Hi,
I haven't actually tried it out, but
simple("${bean:java.lang.System?method=currentTimeMillis}")
might help you.
Best regards
Stephan
-Original Message-
From: Olaf [mailto:omgolafg...@gmail.com]
Sent: Donnerstag, 27. März 2014 13:25
To: users@camel.apache.org
Subject: simple languag
sen [mailto:claus.ib...@gmail.com]
Sent: Saturday, September 14, 2013 6:42 AM
To: users@camel.apache.org
Subject: Re: Simple Language Question
Hi
You need to use getCurrentQueueSize to get the current size. The size
is for the max size of the queue.
I added unit test to demonstrate how to do
aus.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)
> wrote:
>> Hello,
>&g
What Camel version do you use?
On Thu, Sep 12, 2013 at 6:03 PM, Gershaw, Geoffrey A. (KFFC 223)
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 coul
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
Ibsen [mailto:claus.ib...@gmail.com]
Sent: Monday, June 18, 2012 11:35 PM
To: users@camel.apache.org
Subject: Re: Simple language question
On Mon, Jun 18, 2012 at 11:49 PM, Gershaw, Geoffrey<
geoffrey.gers...@credit-suisse.com> wrote:
Hello all,
I am using the Spring DSL with the Filt
.com]
> Sent: Monday, June 18, 2012 11:35 PM
> To: users@camel.apache.org
> Subject: Re: Simple language question
>
> On Mon, Jun 18, 2012 at 11:49 PM, Gershaw, Geoffrey <
> geoffrey.gers...@credit-suisse.com> wrote:
>
>> Hello all,
>>
>>
>>
>&g
How about using setHeader to store the result?
Christian
Am 19.06.2012 14:19, schrieb Gershaw, Geoffrey:
Thanks for reply Claus,
I see your point. I was trying to avoid writing a nested filter.
${body} != null
I guess I am looking for a lo
012 11:35 PM
To: users@camel.apache.org
Subject: Re: Simple language question
On Mon, Jun 18, 2012 at 11:49 PM, Gershaw, Geoffrey <
geoffrey.gers...@credit-suisse.com> wrote:
> Hello all,
>
>
>
> I am using the Spring DSL with the Filter EIP. The below snippet
works,
> but
On Mon, Jun 18, 2012 at 11:49 PM, Gershaw, Geoffrey <
geoffrey.gers...@credit-suisse.com> wrote:
> Hello all,
>
>
>
> I am using the Spring DSL with the Filter EIP. The below snippet works,
> but its confusing. I am trying to include a msg with a non-null body
> the outcome of bean:CXRefDataCache
thank, but i couldn't make what you said.
i solve my question by set CamelHttpQuery header
earlier I tried to set HTTP_QUERY, but it didn't work.
--
View this message in context:
http://camel.465427.n5.nabble.com/simple-language-in-http-endpoint-tp5564380p5564955.html
Sent from the Camel - Use
Hi
See this FAQ
http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html
On Wed, Mar 14, 2012 at 12:53 PM, asd09 wrote:
> how can i do something like this
> https://somehost/index.php?$header.params222 />
> i try many combinations, but i not found worked version.
> any suggestions?
>
> --
i started to find this because of update to
apache-servicemix-4.4.1-fuse-02-05 .
In older versions fuse this url worked fine
https://somehost/report.php?df_start_day=12&df_start_month=3&df_start_year=2012&df_start_hour=0&df_start_minute=0&df_end_day=13&df_end_month=3&df_end_year=2012&df_end_hour=23
In 2.0m2 try without the ' ' around the left hand side value. That
should work too.
On Wed, Jul 29, 2009 at 7:15 PM, msjwhite wrote:
>
> Thanks, Claus.
>
> It does indeed work when using 2.0-M3. My only problem now is that the XSD
> for 2.0-M3 is still missing, so we can't test our routes 100% a
Thanks, Claus.
It does indeed work when using 2.0-M3. My only problem now is that the XSD
for 2.0-M3 is still missing, so we can't test our routes 100% accurately
with M3 yet (which is why I was still testing against M2 originally).
Thanks
Mark
INFO [RouteTest ] - Expected
Hi
Could you try with 2.0m3 there was a fix in the simple language in
relation to use ' ' in the left hand side.
You can also try other combos
${in.header.type} == TYPE1
${out.header.type} == TYPE1
Just to see if you get a match.
If still an issue let me know and if you can create a sample / u
39 matches
Mail list logo