On Fri, Jun 12, 2009 at 1:30 PM, akuhtz<[email protected]> wrote:
>
> Hi Claus,
>
> I does honor but the problem is that you can't start the camel context (from
> another bean) if shouldStartContext is set to false, and this is the only
> way to prevent the execution of code that is triggered by refresh event.
>
> I'll create a JIRA ticket with a problem description.
BTW how many times do you see this log line if you enable DEBUG
logging for org.apache.camel?
            if (LOG.isDebugEnabled()) {
                LOG.debug("Publishing spring-event: " + event);
            }



>
> --
> View this message in context: 
> http://www.nabble.com/How-to-prevent-routes-from-started-twice--tp23983653p23997172.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to