Hi.
I've given this a try, and with a bit of fiddling, it seems to work. Thank you.
Now the next challenge...
I sometimes need to remove the route from the camel context and re-add it with
different properties. When I try to re-add it, I get an
ObjectAlreadyExistsException because a job alread
You could use the timer to fire off into a processor, and then in the
processor do a query, and then do what you want from there,
so from("timer://myTimer?period=3").process(new Processor() { //
mongo code here })
On Tue, Jul 31, 2012 at 5:12 PM, rich_g wrote:
> Hi all
> I want to make a
Hello,
Provided that you add/remove the routes in a processor you can simply
get the current camel context from the Exchange[1].
If you need the camel context in another bean you can use dependency
injection when you create that bean.
[1]
http://camel.apache.org/maven/current/camel-core/apidocs
Hi,
you can try using cron scheduled route policy
(http://camel.apache.org/cronscheduledroutepolicy.html)
--
View this message in context:
http://camel.465427.n5.nabble.com/Scheduled-FTP-download-tp5716638p5716639.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi.
I'm trying to put together a scheduled download from an FTP site. I thought I
could do this by using a route composed of a quartz endpoint to an FTP endpoint
to a file endpoint. However it looks like the FTP endpoint is trying to write
something rather than read it, which kind of makes sens
I'm creating a java class that I want to add the the ActiveMQ-Camel libs that
will periodically query a database for routes and add or remove them from
the active camel context. The camel.xml file contains some default routes
that I use all the time, but I will like to add new routes to the same
c
On 7/31/12 2:40 AM, "Willem jiang" wrote:
>What's your Camel route look like ?
Here's the subset that shows the path taken, starting with "spool:core".
The section marked with
< is the last one I see in the trace.
/* From Core */
from("spool:core:store")
Hi all
I want to make a timer that polls a Mongo collection to get data with an id
> variable set at runtime.
I am able to get a timer working using but don't know how to set a query
filter
from("timer://myTimer?period=3")
.to("mongodb:myDb?database=test&collection=test&operation=f
Hi all,
I am migrating my application from Camel 2.8.2 to Camel 2.10.0 and found
following issue:
when normalizing a uri with URISupport.normalizeUri which contains %26 in
one of its parameters the entity is transformed to '&' and essentially lost
from the parameter value; this was not happening w
I'm using Camel 2.9 and specifically the Camel ZookeeperRoutePolicy to
control multiple instances of Zookeeper Routes across a cluster. It seems to
be working in a simplistic case, but what happens in the case of a failure
to read from the needed nodes in Zookeeper? Does or should the
ZookeeperRout
> Perfect. Thanks for the excellent and speedy response.
This kind of knowledge shouldn't be spread only by the word of mouth.
:) I've updated the wiki [1].
[1]
https://cwiki.apache.org/confluence/display/CAMEL/Scala+DSL+-+Getting+Started
--
Henryk Konsek
http://henryk-konsek.blogspot.com
Are you using (perhaps JTA-based) transactions? Is your transaction
rolling back?
On Mon, Jul 30, 2012 at 2:02 AM, nishant.rupani
wrote:
> No, source MQ queue and error MQ queue are different.
>
> First I tried with single JMS "wmq" only. It didn't work so I thought of
> creating two - one for
Hello Bhushan,
As Willem say you need to use a topic if you want all messages to go
to both endpoints. Or, if you for some legacy reason can not change
the destination to a topic, you could create one camel route that
simply gets the messages and then use a recipient list[1] to route to
two routes
What's your Camel route look like ?
--
Willem Jiang
On Tuesday, July 31, 2012 at 7:52 AM, Steve Drach wrote:
> I'm using Camel 2.4.10. I'm get a NPE in RouteContextProcessor at line 42:
>
> 29 public class RouteContextProcessor extends DelegateAsyncProcessor {
> ...
> 38 @Override
> 39 prote
Hi,
You need to use the topic if you want to send the message to the two endpoint
at the same time.
--
Willem Jiang
On Tuesday, July 31, 2012 at 2:57 PM, bhushand wrote:
> Hi
> One more thing, can I use same queue for two endpoints. Right now I am
> trying to do same thing but it is giving
15 matches
Mail list logo