Re: Very long processing of the Consumer in the file component…

2015-12-21 Thread Victor NOËL
? On Dec 17, 2015 5:09 AM, "Victor NOËL" <victor.n...@linagora.com> wrote: Also, to complete, there is this log just before the poll related to the locking, it is maybe linked: 2015/12/16 18:11:26,790 GMT+0100 FINE [org.apache.camel.component.file.FileEndpoint] : Parameters for Gene

Very long processing of the Consumer in the file component…

2015-12-17 Thread Victor NOËL
Hi, I set-up a route with the following consumer URI: from("file:///tmp/junit6150402493774267253/in?initialDelay=500")... At one point in the log I get the following information: 2015/12/16 18:11:26,278 GMT+0100 FINE [org.apache.camel.impl.DefaultScheduledPollConsumerScheduler] : Scheduling

Re: Very long processing of the Consumer in the file component…

2015-12-17 Thread Victor NOËL
/junit6150402493774267253/in Also the problem does not happen all the time and on all my machines… Le 17/12/2015 09:37, Victor NOËL a écrit : Hi, I set-up a route with the following consumer URI: from("file:///tmp/junit6150402493774267253/in?initialDelay=500")... At one point in the

Capturing events on route start

2015-10-13 Thread Victor NOËL
Hi, I was wondering if it was possible to register something on a CamelContext so that when a route deployed on it is started (using any type of from()), some code is executed. Optimally, it would be useful to know the component involved (if possible the object, but even its string name

Re: Capturing events on route start

2015-10-13 Thread Victor NOËL
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/spi/LifecycleStrategy.html There is api on camel context to add it. or if you use spring then just declare it as a and its auto enabled On Tue, Oct 13, 2015 at 10:55 AM, Victor NOËL <victor.n...@linagora.com> wrote:

Re: Capturing events on route start

2015-10-13 Thread Victor NOËL
/management/event/package-frame.html which you can filter which you want to listen for An example here http://camel.apache.org/eventnotifier-to-log-details-about-all-sent-exchanges.html On Tue, Oct 13, 2015 at 11:04 AM, Victor NOËL <victor.n...@linagora.com> wrote: It's not clear from the J

Re: Capturing events on route start

2015-10-13 Thread Victor NOËL
Or maybe interceptor (in particular interceptFrom) are more adequate as they allow me to only be notified when the from of a route is invoked? Victor Le 13/10/2015 11:13, Victor NOËL a écrit : I wasn't so clear: I really meant I wanted to be notified when a new exchange is sent from

Re: what's happening to camel extra?

2015-09-04 Thread Victor NOËL
t.me/raulkripalani | http://www.linkedin.com/in/raulkripalani http://blog.raulkr.net | twitter: @raulvk On Fri, Sep 4, 2015 at 2:22 PM, Victor NOËL <victor.n...@linagora.com> wrote: I arrive a bit late, but are we sure sourceforge is a good solution? After all the fuss about their terrible

Re: what's happening to camel extra?

2015-09-04 Thread Victor NOËL
I arrive a bit late, but are we sure sourceforge is a good solution? After all the fuss about their terrible behaviour by implanting adware and other spyware in installers available to download there. It became known with the big complain of the Gimp project (that wasn't even fixed by

Release of the first beta of a Camel component for Petals ESB

2015-05-22 Thread Victor NOËL
Hi, Just for your information, we released yesterday version 4.3 of the Petals ESB that includes our first beta of a service engine for Apache Camel: http://petals.ow2.org/index.html In a few words, you can now deploy Camel routes into the service bus and make them consumes and provides

Meaning of synchronous for a from()

2015-05-22 Thread Victor NOËL
Hi, I have trouble of understanding the meaning of synchronous parameter on a from() in a route. Does it mean the whole route will be execute with the syncronous API? I ask because from the few tests I did, it seems that even though the first call goes through calls to process() without

Re: Making the Camel Maven plugins Eclipse compatible

2015-05-20 Thread Victor NOËL
FYI Preben, the pull request I made was merged and will be released with version 2.16 I guess :) Le 12/05/2015 19:52, Preben.Asmussen a écrit : +1 Best, Preben -- View this message in context:

Re: Error in the URI of the InOptionalOut echange pattern?

2015-05-20 Thread Victor NOËL
FYI I just submitted a PR for this problem: https://github.com/apache/camel/pull/523 Victor Le 30/04/2015 10:20, Victor NOËL a écrit : Hi, According to the WSDL recommendation (http://www.w3.org/TR/wsdl20-additional-meps/#in-opt-out), the InOptionalOut pattern has the URI http://www.w3

Re: Making the Camel Maven plugins Eclipse compatible

2015-05-18 Thread Victor NOËL
FYI the PR is there: https://github.com/apache/camel/pull/518 Le 18/05/2015 12:30, Victor NOËL a écrit : Hi, So I have been working on a PR for that. Can you clarify something for me? Only camel-maven-plugin, camel-package-maven-plugin and guice-maven-plugin are meant to be used by non

Making the Camel Maven plugins Eclipse compatible

2015-05-12 Thread Victor NOËL
Hi, There is a set of recommendations to make a maven plugin eclipse-compatible: http://eclipse.org/m2e/documentation/m2e-making-maven-plugins-compat.html In particular, the use of BuildContext is very important because it prevents mismatch between the state produced by the execution of a

Why spi-annotation content is included in camel-core?

2015-05-12 Thread Victor NOËL
Hi, Why is spi-annotation included in camel-core? It's bothering because: - the source are not in camel-core so one can't see the definition of the annotatons (so it's not easy to use them like that). - and then if we add spi-annotation to the pom, there is duplicate classes from the two

Re: Why spi-annotation content is included in camel-core?

2015-05-12 Thread Victor NOËL
classes, no? Victor Le 12/05/2015 15:20, Claus Ibsen a écrit : Hi As end users you should not depend on spi-annotations - only camel-core. spi-annotations is an internal model used as part of building camel-core using the camel apt compiler plugin. On Tue, May 12, 2015 at 2:58 PM, Victor NOËL

Error in the URI of the InOptionalOut echange pattern?

2015-04-30 Thread Victor NOËL
Hi, According to the WSDL recommendation (http://www.w3.org/TR/wsdl20-additional-meps/#in-opt-out), the InOptionalOut pattern has the URI http://www.w3.org/ns/wsdl/in-opt-out and not http://www.w3.org/ns/wsdl/in-optional-out It's not extremely important, but I was wondering if it was on

Bug in createRegistry of DefaultCamelContext?

2015-04-29 Thread Victor NOËL
Hi, I have been trying to programmatically register an object in the registry and I got the following exception: org.apache.camel.RuntimeCamelException: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an

Camel Component Design: Handling InOptionalOut for Consumers?

2015-04-28 Thread Victor NOËL
Hi, I am implementing a Camel component for the Petals ESB (an implementation of the infamous JBI specification ;) and I'm struggling a bit with one little design question. It is happening at the Consumer level (so the code that corresponds to injecting an exchange coming from the service