There is no such functionality out of the box. You can write some code
yourself that check for changes in the database, and then update the
routes. There is API on CamelContext to stop/remove/add routes.
You can also look at the new auto reload of xml routes
http://www.davsclaus.com/2016/12/camel-
Hi,
I need camel route, which is being initialized using configurations stored
in database, to re-initialize on every change in database configuration at
run time(without Re-starting server)?
--
View this message in context:
http://camel.465427.n5.nabble.com/Re-intilaizing-Camel-route-tp57996
--
View this message in context:
http://camel.465427.n5.nabble.com/I-need-a-camel-route-which-is-being-initialized-using-configurations-stored-in-database-to-re-initia-tp5799668.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi guys
Have anybody tried securing Springboot apps containing camel rest dsl (using
spark ) based endpoints with spring security. Something like mentioned at
https://g00glen00b.be/securing-your-rest-api-with-spring-security/
Is this possible? If so what are the steps I should be doing to enabl
Thanks Claus, it worked well!
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-test-redeliver-messages-tp5799456p5799666.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Jonathan,
I think we would like to address this with health checks[1], some of
which shipped in 2.19.0 and we would like to improve on this.
Perhaps it would be nice to tie health checks this into control bus
and let the user define a policy on how to handle failures. But this
is somewhat new t
Hello All,
I'm have problem when i try to use JPA Idempotent in a Fuse Fabric OSGI
container (fuse-karaf).
I got this exception:
Caused by: java.lang.ClassNotFoundException:
org.hibernate.proxy.HibernateProxy not found by org.apache.camel.camel-jpa
[121]
I created a simple project with example:
Hello,
I have a strange behavior with Camel 2.17 and camel-jetty9 (2.17.0
referencing jetty 9.2.15.v20160210). I am currently having following
service:
We have a basic auth and everything works as designed.
Problem starts when we add second service, because we are getting " No
LoginService fo
Awesome. Thanks
On 16 May 2017 at 11:54, Luca Burgazzoli wrote:
> Yeah, it will be available in camel 2.20.x out of the box like:
>
> EhcacheComponent component = new EhcacheComponent());
> component.setCacheManager(manager);
>
> Main main = new Main();
> main.bind("ehcache", component);
>
> I w
Yeah, it will be available in camel 2.20.x out of the box like:
EhcacheComponent component = new EhcacheComponent());
component.setCacheManager(manager);
Main main = new Main();
main.bind("ehcache", component);
I will back-port some of the changes I made today in 2.19.x so it will
be available i
Nothing. It's perfect ;-)
In fact I wanted to inject the cache manager. It seemed highly supported by
all the code except from constructors and builders.
CacheManager cacheManager = CacheManagerBuilder.newCacheManagerBuilder()
.withCache("testCache",
CacheConfigurationBuilder.newCacheConfigur
I have a class that extends RouteBuilder and loaded from a blueprint file
using the tag. In my blueprint file I also use
property-placeholder to set some values for the routes. I would like to
unit test my class but I cannot figure out how to inject the properties.
Is there a way to do this that
I'm using Apache Camel aggregator with parallelProcessing to process
aggregated exchanges concurrently:
from("direct:test")
.aggregate(constant(true), new
GroupedMessageAggregationStrategy())
.completionSize(10)
.completionTimeout(3000)
In camel 2.19.x EhcacheConfiguration is an internal object used to
holds the endpoint configurations but in 2.20.0 you can provide your
own instance on component level so it will provides the defaults for
every endpoint (i.e. you'll be able to set the default cache manager
so you do not need to set
Thanks. Looks much better now. I've posted my new answer to SO. And indeed,
the official documentation is not talking about a possible cache manager to
pass.
I still have one question though. Is it normal that EhcacheConfiguration
can be instantiated? It seems normal to want to propose an overload
Tricky situation, but as a workaround you can stop the context or route
from karaf. There are camel commands you can run. So if the DB is down due
to maintenance then you manually issue a command to stop the context and
start it after DB is up again. At least that way you don't get a lot of
error l
Hey Claus,
I'm having an issue with corrupted files. I'm uploading the entire file to
an ftp through camel-ftp, I'm not getting
any error, but when I consume it, sometimes it's corrupted (missing some
lines in it).
My guess is that maybe the connection is dropping when the file is being
uploaded.
It looks like it comes from the exception is coming from
the JdbcAggregationRepository, in fact.
2017-05-16 15:39 GMT+02:00 Jonathan Schoreels
:
> Hi all,
>
> It seems that if a database is unreachable, and if the camelcontext
> contains a sql consumer, the camel context won't start, even though
Hi all,
It seems that if a database is unreachable, and if the camelcontext
contains a sql consumer, the camel context won't start, even though marked
as Created in karaf console.
I don't mind the karaf "created" marked, but I would love to know if you
have any advice to startup sql route when th
Dear Team ,
Route one :
sql.RecycleHBRSelectQuery=select CDR_JSON from suspense_details where
CDR_JSON is null
Route two :
sql.RecycleHBRSelectQuery=select CDR_JSON from suspense_details where
CDR_JSON is not null
I have scenario like the following field CDR_JSON is null i have perform o
Hi,
The Camel community had a call for the design of a new logo[1] and we
put up the design proposals for a community vote[2].
We would like to thank everyone for participating either by submitting
their logo design proposal, commenting and collaborating with the
authors or casting the vote. Stay
Hi
You can see the full list of what Camel components there are at this link:
https://github.com/apache/camel/tree/master/components#components
On Tue, May 16, 2017 at 11:00 AM, sakouhi wrote:
> Thank you Sir,
> Another question please? is there a flume component in apache camel? I saw
> kafka,
Yes it is possible using the cacheManager uri option.
The docs on website may be out of sync, for the latest doc have a look
at:
https://github.com/apache/camel/blob/master/components/camel-ehcache/src/main/docs/ehcache-component.adoc
I will add the missing info to the camel website doc.
Also an
Thank you Sir,
Another question please? is there a flume component in apache camel? I saw
kafka, flink, ActiveMQ... I have 2 months trying to integrate apache
camel with flume. I hope to find a possible way do to that.
--
View this message in context:
http://camel.465427.n5.nabble.co
There is no such functionality in camel-ftp. It uploads the entire file.
On Tue, May 16, 2017 at 10:06 AM, sakouhi wrote:
> Thanks for reply. I work on Big data project. Sometimes the FTP server
> receives an incomplete files. Then, I need to load them again. I no want to
> have a duplicate fil
Thanks for reply. I work on Big data project. Sometimes the FTP server
receives an incomplete files. Then, I need to load them again. I no want to
have a duplicate files into hdfs. I just need to load the new lines. I look
for an option in FTP component that scan the new lines and send them to
JM
Hi tko429,
Did you find the Solution?
What about bridgeEndpoint?
http://realserverhostname:8090/myapp?bridgeEndpoint=true&throwExceptionOnFailure=false"/>
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-forward-another-JSP-or-servlet-Camel-jetty-or-Camel-servl
Hi,
Following a stack overflow question (
http://stackoverflow.com/questions/43915633/how-to-access-apache-camel-eh-cache-outside-camel-context)
I realized that it is impossible cleanly.
Am I right?
Let's rephrase the problem here:
Camel is using camel-ehcache but the same cache manager can be
Hi,
I'm not sure what your problem is, can you maybe try to re-phrase it? Do
you mean that you only want to partially transfer a file to FTP (and you
already know which file part you want to re-transfer)?
Frank
sakouhi wrote:
Hi,
I'm newbie in apache camel. I configured a route from camel
29 matches
Mail list logo