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 vi
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 example:
.setHeader("result", simple("${header.CamelFileName.replaceAll('^.*.pdf',
'Hello')}"))
That's pretty cool, worked for me!
Raymond
Op vr 26 nov. 2021 om 18:19 schreef Daniel Langevin <
daniel.lange...@shq.gouv.qc.ca>:
> OK here is a solution to get UnixTimeStamp in SIMPLE LANGUAGE camel 2.xx
>
> resultType="java.util.Date">${header.Cam
OK here is a solution to get UnixTimeStamp in SIMPLE LANGUAGE camel 2.xx
${header.CamelCreatedTimestamp}
${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
ossible with simple)
But I am now in an environment where Groovy is not on the classpath
(Camel XML DSL code is exactly generated) and I can only use the
simple language.
Greets,
Raymond
Op vr 26 nov. 2021 om 14:40 schreef Daniel Langevin <
daniel.lange...@shq.gouv.qc.ca>:
> S
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
Hi all,
I have two questions regarding simple expressions:
1) Is it possible the get the time in miliseconds. Something like
${data:now.toMilli}
2) Is it possible to calculate with the simple language
${1 +1}
Kind regards,
Raymond
Component and Simple Language support
Oh, I havent used the toD yet. The full route looks like this
from("direct:fetch")
.to("oaipmh:URL"
+ "?"
+ "verb=GetRecord"
+ "
+ "&"
+ "metadataPrefix=datacite"
)
.log("${body}");
Will check the couple things you recommended. Thanks!
-Ursprüngliche Nachricht-
Von: Claus Ibsen
Gesendet: Mittwoch, 4. August 2021
Hi
See the toD and content enricher eip patterns
On Wed, Aug 4, 2021 at 1:22 PM Penagos Jaime
wrote:
>
> Hi everyone,
>
> I am currently testing the OAI-PMH component with Camel 3.11.x, the component
> works as intended, but it doesnt let me use Simple Language in the Produce
Can you please show the full route? To use the simple language you need to use
toD and not to.
--
Andrea Cosentino
--
Apache Camel PMC Chair
Apache Karaf Committer
Apache Servicemix PMC Member
Email: ancosen1...@yahoo.com
Twitter: @oscerd2
Github: oscerd
On
Hi everyone,
I am currently testing the OAI-PMH component with Camel 3.11.x, the component
works as intended, but it doesnt let me use Simple Language in the Producer /
Consumer.
I want to load an ID from the body of a file, and after some basic processing,
use this information as the
onth and only process those files.
> > >
> > > I have been experimenting with:
> > > filterFile=$simple{file:modified} < ${date:now}
> > > and:
> > > .filter(header("CamelFileLastModified").isLessThan("${date:now} -
> > > $simple{head
Hi,
I want to be sure you understand the impact is high in multi-threaded
applications without possibility to overcome unless one re-writes the code to
avoid the bean & ognl in Simple language.
I was under the impression that LTS implies such kind of patches, but it's your
call, I d
ions, not in 3.4.x.
> Thank you, Corneliu
>
> -Original Message-
> From: Claus Ibsen
> Sent: Monday, October 5, 2020 15:43
> To: users@camel.apache.org
> Subject: Re: Performance regression with bean and ognl expressions in Simple
> language version 3.4.x
>
rformance regression with bean and ognl expressions in Simple
language version 3.4.x
Hi Corneliu
Thanks for the reproducer. We have fixed a bunch of stuff and you are welcome
to try with SNAPSHOT and do profiling again and report back if you can find
improvements too.
Or if you dont have time th
"))
> >
> > what i would like to do is to offset ${date:now} with one month like
> >
> > "${date:now-${header.ONE_MONTH}}"
> >
> > The documentation for simple language for 'date:' variable says:
> > "Command accepts offse
would like to do is to offset ${date:now} with one month like
>
> "${date:now-${header.ONE_MONTH}}"
>
> The documentation for simple language for 'date:' variable says:
> "Command accepts offsets such as: *now-24h* or *in.header.xxx+1h* or even
> *now+1h30m-100*.&qu
ate:now} -
$simple{header.ONE_MONTH}"))
what i would like to do is to offset ${date:now} with one month like
"${date:now-${header.ONE_MONTH}}"
The documentation for simple language for 'date:' variable says:
"Command accepts offsets such as: *now-24h* or *in.header.xxx+1h* or
Hi Corneliu
Thanks for the reproducer. We have fixed a bunch of stuff and you are
welcome to try with SNAPSHOT and do profiling again and report back if
you can find improvements too.
Or if you dont have time then test again when Camel 3.6.0 comes out
later in October
On Thu, Sep 17, 2020 at 2:32
wse/CAMEL-14542
>
> However the rule of thumb is that type matching via simple language is
> more complex as both operators can be dynamic values, and also a
> numeric value such as 0, would that be a int, long, float, etc
> depending on the other value etc.
>
> And also mind th
b.com/dchirov/camel-performance-sample.git
> >
> > Best Regards, Denis
> >
> > -Original Message-
> > From: Claus Ibsen
> > Sent: Saturday, September 19, 2020 6:28 PM
> > To: users@camel.apache.org
> > Subject: Re: Performance regression with bea
; From: Claus Ibsen
> Sent: Saturday, September 19, 2020 6:28 PM
> To: users@camel.apache.org
> Subject: Re: Performance regression with bean and ognl expressions in
> Simple language version 3.4.x
>
> Hi
>
> Many things have changed of course when you go from a major vers
with bean and ognl expressions in Simple
language version 3.4.x
Hi
Many things have changed of course when you go from a major version v2 to v3.
Can you put together a very small example application that can run standalone
that can be used to reproduce the issue. And if it can run outside
Hi
There is maybe some things that can be optmized a little bit
https://issues.apache.org/jira/browse/CAMEL-14542
However the rule of thumb is that type matching via simple language is
more complex as both operators can be dynamic values, and also a
numeric value such as 0, would that be a int
Hi
Many things have changed of course when you go from a major version v2 to v3.
Can you put together a very small example application that can run
standalone that can be used to reproduce the issue. And if it can run
outside Spring Boot with just a basic public static void main then its
maybe eve
regression with bean and ognl expressions in Simple
language version 3.4.x
Hi,
we've identified a performance regression while running same code with Apache
Camel 3.4.3 + Spring Boot vs Apache Camel 2.24.2 with Spring framework 5.1.9.
We've migrated one application to this LTS vers
Hi,
we've identified a performance regression while running same code with Apache
Camel 3.4.3 + Spring Boot vs Apache Camel 2.24.2 with Spring framework 5.1.9.
We've migrated one application to this LTS version and we face this impact.
The main bottleneck is the synchronized block from:
org.apa
Hi,
Can you please help me understand the rules for Simple type conversion? I find
the documentation a bit confusing and trials even more.
Running Apache Camel 3.4.3 with Spring Boot. I have a mixture of code written
in XML DSL and Java.
The code snippet is:
...#1
${header.CamelHttpResponseCo
Hi team,
I am trying to use camel simple expression bodyOneLine for logging payload
in single line. But it throws below error while starting the route.
Camel version= 2.23.1
Code:
.log(org.apache.camel.LoggingLevel.INFO,"Request Received : ${bodyOneLine}")
Error:
Caused by:
org.apa
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 team,
I am trying to use camel simple expression bodyOneLine for logging payload in
single line. But it throws below error while starting the route.
Camel version= 2.23.1
Code:
.log(org.apache.camel.LoggingLevel.INFO,"Request Received : ${bodyOneLine}")
Error:
Caused by: org.apache.camel.
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'"
I am trying to use simple and have the following in spring xml:
"header? contains 'HeaderName' and header.HeaderName = 'TEST'"
This always evaluated to true irrespective of the value of HeaderName.
What am I doing wrong here?
Regards,
Vikas
rg>> het volgende geschreven:
>
> 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
> mailto:r.sch...@topde
:r.sch...@topdesk.com>> 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 expression contains constant l
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
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
Hi,
I have a question about the Simple language and the use of ${}.
Before Camel 3 this worked in getting data from the object in the header:
.setHeader('tableName').simple('headers.entityMap.sourceTableName’)
.setHeader('fields').simple('headers.entityMap.sourceFi
Hi
I try to substring the file name and set it as property:
from("file://"+pathToUnzipFolder+"/?noop=true&charset=ISO-8859-1&include=.*\\.itf&delay=3&initialDelay=2000&readLock=changed")
.setProperty("dataset", simple("${header.CamelFileName.substring(2,4)}"))
.process(new Ili2pgReplaceProcess
Opened wish type minor issue
https://issues.apache.org/jira/browse/CAMEL-12486
Hello, there is possible minor bug in Simple language (tested with Camel
2.20.1), which causes not resolving placeholders while using resources
prefix.
This was identified in
https://stackoverflow.com/questions/50063874/load-camels-body-dynamically-depending-on-header
and as workaround I have
23. November 2017 16:28
An: users@camel.apache.org
Betreff: substring using indexof +1 using simple language
Hi,
i try to retreive domain name from a String containng an email adress
with simple language from the body message in single instruction.
I'm using camel 2.17.7
Look
I recommend to use a regular expression instead.
-Ursprüngliche Nachricht-
Von: Daniel Langevin [mailto:daniel.lange...@shq.gouv.qc.ca]
Gesendet: Donnerstag, 23. November 2017 16:28
An: users@camel.apache.org
Betreff: substring using indexof +1 using simple language
Hi,
i try to
Hi,
i try to retreive domain name from a String containng an email adress with
simple language from the body message in single instruction.
I'm using camel 2.17.7
Look my try
${body.substring(${body.indexOf("@")}++,${body.length})}
but rec
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,
>
> Would it be possible to have a starts with ignore case (like contains ignore
> case) in the simple language ? Currently it is case sensitive. Or is there a
> possibility to set the "${header.CamelFileNameOnly} to lower case somehow ?
>
> .when(simple("${header
Hi,
Would it be possible to have a starts with ignore case (like contains ignore
case) in the simple language ? Currently it is case sensitive. Or is there a
possibility to set the "${header.CamelFileNameOnly} to lower case somehow ?
.when(simple("${header.CamelFileNameOnly} s
What is the procedure to create a defect JIRA for Camel?
I am including a simple camelContext.xml and properties file to replicate the
issue using Camel 2.18.1.
The simple example that shows the issues with various {{}},
=$simple{file:onlyname} and ${bean:...} combinations
fileNami
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
> BeanExp
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 384 should address this use case.
I'm happy to submit a pull request with a tweak & unit test case if that's
h
Hello all,
Can I get an example on how to use ++ operator in Camel Spring DSL
I did this MsgID:${header.Index} +1 and
MsgID:${header.Index}++ But both doesn't work
Vanshul
Hi All,
in a camel route starting with a Jetty endpoint,
I want to enable gzipping if the input sends the http header:
"Accept-Encoding: gzip"
However, the Accept-Encoding may have multiple comma separated values for
different encoding accepted, typical it is
Accept-Encoding: gzip, deflate
As th
t; I tested it with some regex test tools and it seems it is working but when I
> try to use it with camel simple it is not working.
> How I use regex is the following : ${in.header.msisdn} regex
> '^(tel:\+)(974)(44)|^(974)(44)'
>
> What I am doing wrong?
>
>
&
oing wrong?
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-Simple-Language-regex-fails-tp5767786.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
I logged a ticket to add exchange function to the simple language
https://issues.apache.org/jira/browse/CAMEL-8512
On Wed, Mar 18, 2015 at 9:00 PM, Claus Ibsen wrote:
> There is a route id function
>
> ${routeId}
>
> See the functions in the table at
> http://camel.apache
Thank you -- That is helpful but actually I am converting getFromEndpoint
to a string and logging that, but I can stuff most of the information into
routeId. Also, since I can get to exchange via groovy, I can do anything
without resorting to writing a bean, just not conveniently as a one liner
in
There is a route id function
${routeId}
See the functions in the table at
http://camel.apache.org/simple
On Wed, Mar 18, 2015 at 8:48 PM, Camel Guy wrote:
> Deep in the "message stack" I want to do this:
>
>
>
> .. instead of putting the "from" routeId into a property or header, which
> is wha
Deep in the "message stack" I want to do this:
.. instead of putting the "from" routeId into a property or header, which
is what I was doing because I was ignorant of exchange.getFromRouteId.
On Wed, Mar 18, 2015 at 12:30 PM, Claus Ibsen wrote:
> Hi
>
> No what is the use-case?
>
> On Wed, Ma
Hi
No what is the use-case?
On Wed, Mar 18, 2015 at 8:18 PM, Camel Guy wrote:
> ${exchange} doesn't seem to work
>
>
> Thanks,
> ~dg
--
Claus Ibsen
-
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.man
${exchange} doesn't seem to work
Thanks,
~dg
.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:105)
> at
> org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:67)
> at
> org.apache.camel.language.bean.BeanExpression$InvokeProcessor.process(BeanExpression.java:189)
>
(BeanExpression.java:281)
... 26 more
Is this a bug in the ObjectHelper.between method which looks for the first
instance of the ')' and hence doesn't really parse the arguments correctly?
Or Am I missing something?
--
View this message in context:
http://camel.465427.n5.n
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
Subject: simple language Unix timestamp
Hello,
I know there is simple("${date:now:MMdd}") or other date formats. How
can I print just current Unix timestamp? Does simple support it?
Thanks!
--
View this message in context:
http://camel.465427.n5.nabble.com/simple-language-Unix-time
Hello,
I know there is simple("${date:now:MMdd}") or other date formats. How
can I print just current Unix timestamp? Does simple support it?
Thanks!
--
View this message in context:
http://camel.465427.n5.nabble.com/simple-language-Unix-timestamp-tp5749433.html
Sent from
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
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 Ca
se to have one place to configure it all.
>
> Are there any plans to allow simple-language xpressions in future releases?
>
You can use $simple{xxx},
> best regards,
> Thomas.
>
>
>
>
>
>
--
Claus Ibsen
-
Red Hat, Inc.
FuseSource is now part of R
e to externalize the complete configuration into the
properties files. I know I could combine simple+variable content in the
blueprint like
but that would defeat the purpose to have one place to configure it all.
Are there any plans to allow simple-language xpressions in future releases?
best reg
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
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?method=put equals false.
Is there a cleaner way?
${body} != null and false ==
${bean:CXR
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
any suggestions?
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/simple-language-in-http-endpoint-tp5564380p5564380.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
FuseSource
Email: cib...@fusesource.
java.util.TimerThread.run(Timer.java:462)[:1.6.0_30]
Then i try apache-servicemix-4.4.1-fuse-03-06, but i get same error
--
View this message in context:
http://camel.465427.n5.nabble.com/simple-language-in-http-endpoint-tp5564380p5564393.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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?
--
View this message in context:
http://camel.465427.n5.nabble.com/simple-language-in-http-endpoint-tp5564380p5564380.html
Sent from
Hi
If you have been using the simple language with Camel
http://camel.apache.org/simple
Then we, the Camel team, would like to hear any feedback you may have
about this language.
- Do you see something missing?
- Did you have trouble getting the syntax correct and have the
language do as
Hi,
If you want to use the properties component in simple language, the syntax
is liking this
${properties:[locations]:key}
Willem
--
View this message in context:
http://camel.465427.n5.nabble.com/Strange-behavior-with-simple-language-in-camel-route-tp3200894p4300441.html
Sent from the Camel
; other
>> things). However, what directory to monitor depends on what day it is. E g
>> files that are processed are moved to an archive directory with a
>> subdirectory name with today's date ( e g ./archive/20101014).
>>
>> I perform my actual monitoring in a
( e g ./archive/20101014).
I perform my actual monitoring in a custom processor. I would like to
configure this using the simple language, e g like this:
# Directory to monitor
directory=./archive/${date:now:MMdd}
I've been using the simple language before as part of the route. However
ke to
configure this using the simple language, e g like this:
# Directory to monitor
directory=./archive/${date:now:MMdd}
I've been using the simple language before as part of the route. However, I
don't know how I can evaluate a simple language expression (like the
directory prope
On Wed, Oct 6, 2010 at 9:23 AM, Charles Moulliard wrote:
> 2.2
>
Check the documentation:
http://camel.apache.org/simple
It says that you need 2.3 for OGNL support in simple language.
>
> On Wed, Oct 6, 2010 at 9:22 AM, Claus Ibsen wrote:
>> What version of Camel are you u
2.2
On Wed, Oct 6, 2010 at 9:22 AM, Claus Ibsen wrote:
> What version of Camel are you using?
>
> On Wed, Oct 6, 2010 at 8:47 AM, Charles Moulliard
> wrote:
>> Hi,
>>
>> The following syntax works
>>
>> from(directTest)
>> .inOut(toQueue)
>> .to(log
What version of Camel are you using?
On Wed, Oct 6, 2010 at 8:47 AM, Charles Moulliard wrote:
> Hi,
>
> The following syntax works
>
> from(directTest)
> .inOut(toQueue)
> .to(logTest);
>
> from(toQueue)
> .transform().sim
Hi,
The following syntax works
from(directTest)
.inOut(toQueue)
.to(logTest);
from(toQueue)
.transform().simple("Report incident id : ${in.body}")
.to(fileOutput)
.beanRef("feedback",
;>> >> >> uses
>>> >>> >> >> >>> Camel 2.4. I need to be able to skip transferring empty files
>>> >>> and
>>> >>> >> was
>>> >>> >> >> >>> hoping
>>> >>> >>
> >>> >> >> >>>
>> >>> >> >> >>> String skippedUri =
>> >>> >> >> "file://skipped/${date:now:MMdd}/${file:name}";
>> >>> >> >> >>>
>>
gt;> >>> start the route:
> >>> >> >> >>>
> >>> >> >> >>> *java.lang.NoSuchMethodError:
> >>> >> >> >>>
> >>> >> >> >>>
> >>> >> >>
> >>&
1 - 100 of 120 matches
Mail list logo