Ah its the timer that sends an empty body. The timer always sends a null body.
The @Consume is for POJO routing where you do not need to write a Camel route.
So for example remove the route with the timer.
Though to bootstrap the @Consumer it depends a bit how you run Camel.
To have the @Consume
Done,
in.body is still null.
Route :
-
from("timer://?repeatCount=1").bean(MyService.class)
Bean
public class MyService {
@Consume(uri = "sql: select codaz, codbus, logmsg from bus.buslogger where
loglev = 'STS_CFG'?dataSource=#dataSource.nagios")
public void process(Excha
Adding Dev group to see how I can achieve this.
Thanks,
Bhavesh
On Mon, Jun 15, 2015 at 2:56 PM, Bhavesh Mistry
wrote:
> Hi All,
>
>
>
> I am new to Apache Camel and trying to solve following problem with
> routing:
>
>
>
> I have CXF JAX-RS based REST Service implemented and deployed in same
Yes but it works "as normal" I was just debugging and fooled by the proxies
when checking which one it was. It is the same.
--
View this message in context:
http://camel.465427.n5.nabble.com/spring-boot-jpa-entitymanagers-and-Java-DSL-tp5768055p5768317.html
Sent from the Camel - Users mailing
Yes thanks
I found that out. I was fooled when debugging because the one it was using,
was wrapped in proxies, so that I didn't see that.
When you use spring boot, it uses the "normal one" derived from
"spring.datasource.url" etc or the one annotated with @Primary which ends up
as the one used by
Hi
Okay what if you change the parameter to be Exchange. And then set a
break point, what do you see?
On Tue, Jun 16, 2015 at 10:52 AM, kalber wrote:
> Hi,
>
> I use just the last version 2.15.2.
>
>
>
>
>
> -
> kh
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/P
Hi
No there is no plan. Its complicated if you have both reg exp and
simple language in same. And include option has always been reg exp
only.
On Tue, Jun 16, 2015 at 3:25 PM, rwijngaa
wrote:
> Hi,
>
> I totally assumed the include option in the camel-file2 component also
> supported
> the simpl
The breadcrumbId you see is not the one from your service but the one for
the Exchange created in your test.
On Tue, Jun 16, 2015 at 3:23 PM, Alex Soto wrote:
> Hi Willem,
>
> Thanks for the help; however I fail to understand why is the breadcrumbId
> header present in the exchange during integ
Hi,
I totally assumed the include option in the camel-file2 component also
supported
the simple language (like the move and preMove does for example) ,
so i thought i could do this
include=*.gz.enc.${date:now:MMdd}
to read only the files from today (but this didn't work as it should be a
re
Hi Willem,
Thanks for the help; however I fail to understand why is the breadcrumbId
header present in the exchange during integration test and not when manually
testing with curl.
If not the HTTP component, then it must be ProducerTemplate who is adding back
this header during integration te
Thanks!
Seems I missed the documentation paragraph clearly saying "See File for more
options as all the options from File is inherited" :/
Med vänlig hälsning / Kind regards
Gustav Sinder
Ferrologic AB
Mobile: +46 706 61 81 51
-Original Message-
From: Claus Ibsen [mailto:claus.ib...@
Hello,
I have a project which consists of 20+ bundles. Each bundle has its own
blueprint xml config file but there is only one main camel context for all
the bundles:
http://camel.apache.org/schema/blueprint";>
.
.
.
I would like to be able to de
Hi
The moveFailed option should also be possible to use with ftp
On Tue, Jun 16, 2015 at 12:36 PM, Gustav Sinder
wrote:
> Hi,
>
> I'm using the FTP adapter to fetch files from a remote server. Upon rollback
> the files are rolled back and fetched again as expected.
> Preferably I'd like be able
Hi,
I'm using the FTP adapter to fetch files from a remote server. Upon rollback
the files are rolled back and fetched again as expected.
Preferably I'd like be able to have the adapter move failed messages to a
subfolder like the file adapter does with "moveFailed".
I guess I could have another
Hi,
I use just the last version 2.15.2.
-
kh
--
View this message in context:
http://camel.465427.n5.nabble.com/Pojo-Consumer-Annotation-tp5768168p5768302.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Can you show us the camel route that you have?
What kind of error that target endpoint get?
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On June 15, 2015 at 4:17
Hi
No the validate dsl will use a predicate that returns true or false.
If it returns false, then an exception is thrown.
If you want to do some kind of custom error message etc. Then calling
a bean is simpler.
But we could consider adding some way of allowing validate dsl to use
an expression t
Hello,
I have an AtomEnpoint in my camel route with the following configuration :
AtomEndpoint atomEndpoint = new AtomEndpoint();
String inputEndPoint =
"http://macstrac.blogspot.com/feeds/posts/default";;
//Set the endpoint and feed URI.
atomEndp
18 matches
Mail list logo