Can you set 0 in the second part of cron, so it only runs once.
On Fri, Apr 19, 2019 at 2:45 PM Peck, Sean wrote:
>
> Is there a way in the java DSL to tell a scheduled route to only run one
> time? Not keep polling and running for the entire minute that matches the
> timer, wthout creating an
We are introducing in some components an automatic injection of bean from the
registry.. for example if only one instance of a bean is in the registry, we
can set it directly on the component/endpoint configuration. We can check if it
is feasible for Azure too. Can you raise an enhacement on cam
I see.. Lookup does work now! Reading CiA I had assumed that the lookup for the
(only) bean method happens automatically and would return a CloudBlob instance.
Not sure if this my general misunderstanding or is special to using beans in
URI.
Thanks
Peter
-Original Message-
From: Andr
Is there a way in the java DSL to tell a scheduled route to only run one time?
Not keep polling and running for the entire minute that matches the timer,
wthout creating an external status value external to the DSL? Something like
the timers repeatcount?
IE this route runs as expected, on eve
ClientBean is the type of element you're trying to set in the registry. But you
need to pass a CludBlockBlob.
So you may need to do something like
myregistry.put("clientreg", new ClientBean().client());
and then use #clientreg in your route.
the azureBlobClient parameter expects a CloudBlob in
Hi Claus,
I did that, see commented line:
//bean does not work:
from("azure-blob:/shared1/mxtest/blabla?azureBlobClient=#clientreg")
-Original Message-
From: Claus Ibsen
Sent: Friday, April 19, 2019 11:02 AM
To: users@camel.apache.org
Subject: Re: azure-blob with JavaDSL: can't set
Hi
You should use # to refer to a bean in the registry, eg to do a
lookup. So use #client
On Fri, Apr 19, 2019 at 10:56 AM Marx, Peter
wrote:
>
> Hi,
>
> I want to add a route for the camel-azure component 2.23.0 in pure JavaDSL
> with no Spring. Documentation
> https://github.com/apache/camel
Hi,
I want to add a route for the camel-azure component 2.23.0 in pure JavaDSL with
no Spring. Documentation
https://github.com/apache/camel/blob/master/components/camel-azure/src/main/docs/azure-blob-component.adoc
only recommends to set the credentials and client options with a bean, but I
ca