lContext.removeRoute("myServiceRoute");
LOG.info("Removed route" + removed);
}
Any other ideas? Is it possible to conditionally import a route context
based on a Spring profile?
Thanks,
Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/C
Hello All,
I have a route with autoStartup set to 'false'. However, Camel will still
try to resolve the endpoint in the 'from' URI on the route. For example:
However, I don't have 'myCXFServiceEndpoint' defined because the Spri
age in context:
http://camel.465427.n5.nabble.com/Camel-Route-autostartup-with-Spring-Profiles-tp5764047p5764062.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Spring profile?
Thanks,
Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Route-autostartup-with-Spring-Profiles-tp5764047.html
Sent from the Camel - Users mailing list archive at Nabble.com.
route which has been set to autoStartup="false". It is working
> correctly as I expected.
> However, when there is an exception thrown on the consumer tibcoEMS side,
> the route would start automatically. Is there a way to prevent it?
>
> Here is the route definition:
>
Hi all,
I have a route which has been set to autoStartup="false". It is working
correctly as I expected.
However, when there is an exception thrown on the consumer tibcoEMS side,
the route would start automatically. Is there a way to prevent it?
Here is the route
Hi Willem,
I am using 2.10.1.
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-use-PropertyPlaceholderConfigurer-to-configure-the-autoStartup-option-tp5735604p5735754.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Claus,
It works for me! Thanks a lot!
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-use-PropertyPlaceholderConfigurer-to-configure-the-autoStartup-option-tp5735604p5735753.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
Which version of Camel are you using?
This issue is related to the schema definition, I think you need to disable the
Spring schema validation[1]
I just checked the latest camel spring schema, the attribute type of
autoStartup is string now, which means you will not hit this kind of issue
Hi
See this page
http://camel.apache.org/using-propertyplaceholder.html
The syntax to use inside is {{ }}
On Sat, Jul 13, 2013 at 11:38 PM, bonnahu wrote:
> Hey guys,
> I am new to Camel. Currently, I want to use PropertyPlaceholderConfigurer to
> specify the autoStartup option
Hey guys,
I am new to Camel. Currently, I want to use PropertyPlaceholderConfigurer to
specify the autoStartup option in Camel route. Here is the
PropertyPlaceholderConfigurer bean
gt;> Regards,
>>> Benjamin
>>>
>>> Original-Nachricht
>>>> Datum: Tue, 30 Oct 2012 15:23:49 +0100
>>>> Von: Claus Ibsen
>>>> An: users@camel.apache.org
>>>> Betreff: Re: Camel context autostartup
>>>
>
gure in Spring XML to invoke this NO_START method and set
>its value to false.
>
>
>
>
>
>> Regards,
>> Benjamin
>>
>> Original-Nachricht
>>> Datum: Tue, 30 Oct 2012 15:23:49 +0100
>>> Von: Claus Ibsen
>>>
its value to false.
> Regards,
> Benjamin
>
> Original-Nachricht
>> Datum: Tue, 30 Oct 2012 15:23:49 +0100
>> Von: Claus Ibsen
>> An: users@camel.apache.org
>> Betreff: Re: Camel context autostartup
>
>> Hi
>>
>> The do
Hi Claus,
Thanks so far. But did you find a workaround for setting the NO_START flag?
Regards,
Benjamin
Original-Nachricht
> Datum: Tue, 30 Oct 2012 15:23:49 +0100
> Von: Claus Ibsen
> An: users@camel.apache.org
> Betreff: Re: Camel context autostartup
&
Hi
The documentation for autoStartup did indicate the current behavior
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/RuntimeConfiguration.html#setAutoStartup(java.lang.Boolean)
I have logged a ticket
https://issues.apache.org/jira/browse/CAMEL-5759
On Mon, Oct 29
Original-Nachricht
> Datum: Mon, 29 Oct 2012 13:20:09 +0100
> Von: Claus Ibsen
> An: users@camel.apache.org
> Betreff: Re: Camel context autostartup
> On Mon, Oct 29, 2012 at 1:09 PM, Benjamin Graf
> wrote:
> > The "poor" OSGi runtime is JBos
nto JBoss.
>
> May be the Fuse (RedHat) guys out there can tell something about that! ;-)
I could tell you, but then I would have to kill you :) Okay just
kidding of course.
I know the autoStartup name is a poor name on the but
it was as said inheirted from the routes.
Are you using spring-d
about that! ;-)
Original-Nachricht
> Datum: Mon, 29 Oct 2012 12:21:24 +0100
> Von: Claus Ibsen
> An: users@camel.apache.org
> Betreff: Re: Camel context autostartup
> On Mon, Oct 29, 2012 at 11:36 AM, Benjamin Graf
> wrote:
> >
> > Original-Nachric
On Mon, Oct 29, 2012 at 11:36 AM, Benjamin Graf wrote:
>
> Original-Nachricht
>> Datum: Mon, 29 Oct 2012 10:30:36 +0100
>> Von: Claus Ibsen
>> An: users@camel.apache.org
>> Betreff: Re: Camel context autostartup
>
>> On Mon, Oct 29, 20
Original-Nachricht
> Datum: Mon, 29 Oct 2012 10:30:36 +0100
> Von: Claus Ibsen
> An: users@camel.apache.org
> Betreff: Re: Camel context autostartup
> On Mon, Oct 29, 2012 at 10:25 AM, Benjamin Graf
> wrote:
> > Hi Claus,
> >
> > thanks s
Oct 2012 09:33:49 +0100
>> Von: Claus Ibsen
>> An: users@camel.apache.org
>> Betreff: Re: Camel context autostartup
>
>> The autostartup options is for controlling if *routes* should be auto
>> started or not.
>> Not the actual CamelContext itself.
>>
>
amel context autostartup
> The autostartup options is for controlling if *routes* should be auto
> started or not.
> Not the actual CamelContext itself.
>
> The naming could have been better, but the option was first on
> and then later inherited on to make a single switch.
>
The autostartup options is for controlling if *routes* should be auto
started or not.
Not the actual CamelContext itself.
The naming could have been better, but the option was first on
and then later inherited on to make a single switch.
On Sat, Oct 27, 2012 at 4:57 PM, Benjamin Graf wrote
> On Sat, Oct 27, 2012 at 4:57 PM, Benjamin Graf wrote:
>
>> Hi,
>>
>> can anybody explain me why camel context state is set to started if
>> autostartup
>> is set to false? This sound a bit odd to me.
>>
>> Best,
>> Benjamin
>>
>>
>
> --
>
signature.asc
Description: OpenPGP digital signature
Which version do you use?
Can you share your code?
Best,
Christian
On Sat, Oct 27, 2012 at 4:57 PM, Benjamin Graf wrote:
> Hi,
>
> can anybody explain me why camel context state is set to started if
> autostartup
> is set to false? This sound a bit odd to me.
>
> Best,
> Benjamin
>
>
--
Hi,
can anybody explain me why camel context state is set to started if autostartup
is set to false? This sound a bit odd to me.
Best,
Benjamin
signature.asc
Description: OpenPGP digital signature
validation of the route up front.
On Tue, Aug 28, 2012 at 6:11 PM, lpezet wrote:
> Hello!
>
> If I'm reading the documentation correctly, *autoStartup* is to allow the
> context or route to start automatically or not when Camel/Spring starts.
>
> However, regard
You should consider to use http://camel.apache.org/routepolicy.html to
define when (= if the Amazon S3 conditions matches) and how we could
start/stop Apache Camel routes
On Tue, Aug 28, 2012 at 6:11 PM, lpezet wrote:
> Hello!
>
> If I'm reading the documentation correctly, *auto
Hello!
If I'm reading the documentation correctly, *autoStartup* is to allow the
context or route to start automatically or not when Camel/Spring starts.
However, regardless of that setting, a *ScheduledPollEndpoint.doStart()* is
called.
Should we consider endpoints as part of a route?
I see.
Thanks for the explanation Claus
--
View this message in context:
http://camel.465427.n5.nabble.com/CamelContext-autoStartup-false-not-working-tp5717994p5718009.html
Sent from the Camel - Users mailing list archive at Nabble.com.
the
routes are runnable.
Now whether the route is actually started or not, that's the
autoStartup option is for.
So that is why you see the LOGGER code being invoked above. But if you
add a route, eg like
from("timer:foo?period=5s").log("I am invoked");
Then that rout
ption {
LOGGER.info("Route started bro.");
}
}
So, I haven't done anything special. The route just gets started.
--
View this message in context:
http://camel.465427.n5.nabble.com/CamelContext-autoStartup-false-not-working-tp5717994p5718005.html
Sent from the Camel - Users mai
On Fri, Aug 24, 2012 at 12:38 PM, livensn wrote:
> Hi all,
>
> I have this configuration :
>
> http://camel.apache.org/schema/spring";>
>
>
>
> xmlns="http://camel.apache.org/schema/spring"; autoStartup="false">
>
&
Hi all,
I have this configuration :
http://camel.apache.org/schema/spring";>
http://camel.apache.org/schema/spring"; autoStartup="false">
The first camelcontext should start automatically as it does. The second
shouldn't start automaticall
On Dec 1, 2011, at 1:33 AM, Claus Ibsen wrote:
> Yeah the wording could be improved. Any recommendation?
Is it important to log this information as INFO level? I don't see any of the
other attributes of a route logged in this fashion. Is it common that folks
set autoStartup(false)
reason why these are at INFO level in DefaultCamelContext?
>>
>>
>> if (doNotStartRoutesOnFirstStart) {
>> log.info("Cannot start routes as CamelContext has been configured with
>> autoStartup=false");
>> }
>>
>>
>>
>>
has been configured with
> autoStartup=false");
> }
>
>
>
> if (addingRoute && !autoStartup) {
> log.info("Cannot start route " + routeService.getId() + " as its
> configured with autoStartup=false");
> continue;
> }
>
>
Any reason why these are at INFO level in DefaultCamelContext?
if (doNotStartRoutesOnFirstStart) {
log.info("Cannot start routes as CamelContext has been configured with
autoStartup=false");
}
if (addingRoute && !autoStartup) {
log.info("Cannot start route
...@gmail.com]
Sent: Wednesday, 31 August 2011 4:33 PM
To: users@camel.apache.org
Subject: Re: autostartup
That is a new feature in Camel 2.9
http://camel.apache.org/camel-290-release.html
But I will fix the docs so it mention that it requires Camel 2.9 or better.
Thanks for reporting.
On Wed, Aug 31, 2011
On 08/31/2011 02:06 AM, Damian Harvey wrote:
> The docs say that you can set whether to autostart a route based on a
> boolean, string or property
>
> from("activemq:queue:special").autoStartup(startupRoute).to("file://backup");
>
> However it looks like au
ute based on a
> boolean, string or property
>
> from("activemq:queue:special").autoStartup(startupRoute).to("file://backup");
>
> However it looks like autoStartup() has been removed (or never was in) the
> fluent API for RouteDefinition. What is the recommen
Hi
Which version of Camel are you using ?
I just checked the current trunk code (Camel 2.9-SNAPSHOT), and found
there is an autoStartup() fluent API can be used.
On 8/31/11 8:06 AM, Damian Harvey wrote:
The docs say that you can set whether to autostart a route based on a boolean,
string
The docs say that you can set whether to autostart a route based on a boolean,
string or property
from("activemq:queue:special").autoStartup(startupRoute).to("file://backup");
However it looks like autoStartup() has been removed (or never was in) the
fluent API for RouteDef
handle event: " +
event);
}
}
--
View this message in context:
http://camel.465427.n5.nabble.com/camelContext-autoStartup-false-does-not-prevent-Camel-from-starting-when-Spring-context-starts-tp4421992p4425168.html
Sent from the Camel - Users mailing list archive at Nabble.com.
The result I want to achieve is to start Camel context only after Spring
context.start() completes.
The solution with using camelContext autoStartup=false described
http://camel.apache.org/configuring-route-startup-ordering-and-autostartup.html
works with Camel 2.4.0 but fails to work with Camel
route-cannot-be-started-if-autoStartup-false-is-set-tp4375506p4376190.html
Sent from the Camel - Users mailing list archive at Nabble.com.
: http://www.manning.com/ibsen/
--
View this message in context:
http://camel.465427.n5.nabble.com/route-cannot-be-started-if-autoStartup-false-is-set-tp4375506p4375941.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/
--
View this message in context:
http://camel.465427.n5.nabble.com/route-cannot-be-started-if-autoStartup-false-is-set-tp4375506p4375587.html
Sent from the Camel - Use
Hi Charles
Learn to look in the unit tests.
See JmsAutoStartupTest
On Fri, Aug 27, 2010 at 1:48 PM, Charles Moulliard wrote:
> Hi,
>
> Using the following JMS option (autoStartup), it is possible to start/stop
> the connection with the JMS broker. So using the following uri defi
Hi,
Using the following JMS option (autoStartup), it is possible to start/stop
the connection with the JMS broker. So using the following uri definition,
we can stop the listener when we create the route
"uri="activemq:queue:toto?autoStartup=false". Is there a way to change this
51 matches
Mail list logo