Re: Deploying route to Karaf

2012-04-11 Thread Claus Ibsen
On Wed, Apr 11, 2012 at 8:32 AM, Borut Bolčina wrote: > So instead of > >   > org.apache.camel >  camel-core > ${camel-version} >   > > I use camel-core-osgi and use the OsgiDefaultCamelContext instead and I > should be safe? > >  public void start(BundleContext context) throws Exception { > camel

Re: [Bindy] Having trouble with the "required" field

2012-04-11 Thread Aida
Ok, thank you very much. I have read in other jira ticket that the 2.10 release was planned to be available in a near future, do you think it will be published soon? (I ask to know if I should use the snapshot in my project or if I can wait for the new release) Thanks again. Aida. -- View th

Re: Deploying route to Karaf

2012-04-11 Thread Borut Bolčina
Thanks for the answers and guidelines Claus. I looked into the ServiceMix, but the project seems so abandoned, I decided not to use it. I read some discussions on the user and dev lists which gave the impression that ServiceMix has no certain future. Plus, you are bound to use older versions of Ka

Re: Deploying route to Karaf

2012-04-11 Thread Claus Ibsen
On Wed, Apr 11, 2012 at 9:43 AM, Borut Bolčina wrote: > Thanks for the answers and guidelines Claus. > > I looked into the ServiceMix, but the project seems so abandoned, I decided > not to use it. I read some discussions on the user and dev lists which gave > the impression that ServiceMix has no

Re: [Bindy] Having trouble with the "required" field

2012-04-11 Thread Claus Ibsen
On Wed, Apr 11, 2012 at 9:42 AM, Aida wrote: > > Ok, thank you very much. > > I have read in other jira ticket that the 2.10 release was planned to be > available in a near future, do you think it will be published soon? (I ask > to know if I should use the snapshot in my project or if I can wait

Re: Camel SFTP move is failing in new fuse

2012-04-11 Thread kanmisc
Hi Claus, Thanks for the reply. Yes I am aware of the fuse support but my doubt was in camel part so I posted here. Below is the route with path details - from("sftp://username@host/source/Landing?password=pwd&filter=#sourceFileFilter&consumer.delay=360&move=/source/Processed&moveFailed=/sour

Re: Camel SFTP move is failing in new fuse

2012-04-11 Thread Claus Ibsen
On Wed, Apr 11, 2012 at 10:06 AM, kanmisc wrote: > Hi Claus, Thanks for the reply. Yes I am aware of the fuse support but my > doubt was in camel part so I posted here. Below is the route with path > details - > > from("sftp://username@host/source/Landing?password=pwd&filter=#sourceFileFilter&cons

Re: Deploying route to Karaf

2012-04-11 Thread Borut Bolčina
Dne 11. april 2012 09:54 je Claus Ibsen napisal/-a: > On Wed, Apr 11, 2012 at 9:43 AM, Borut Bolčina > wrote: > > Thanks for the answers and guidelines Claus. > > > > I looked into the ServiceMix, but the project seems so abandoned, I > decided > > not to use it. I read some discussions on the u

Re: Deploying route to Karaf

2012-04-11 Thread Claus Ibsen
On Wed, Apr 11, 2012 at 10:24 AM, Borut Bolčina wrote: > Dne 11. april 2012 09:54 je Claus Ibsen napisal/-a: > >> On Wed, Apr 11, 2012 at 9:43 AM, Borut Bolčina >> wrote: >> > Thanks for the answers and guidelines Claus. >> > >> > I looked into the ServiceMix, but the project seems so abandoned,

Re: Deploying route to Karaf

2012-04-11 Thread Claus Ibsen
> The blueprint.xml file is then placed in the META-INF/blueprint > directory. The standard place for that. Ah sorry I think its OSGI-INF/blueprint/blueprint.xml The name of the XML file dont have to be blueprint.xml. I think you can name it myapp.xml, camel.xml, etc. Or what you like. Anyway th

Re: [Bindy] Having trouble with the "required" field

2012-04-11 Thread Aida
Hi again, I have tested it with both 2.9.2-SNAPSHOT and 2.10-SNAPSHOT. As magnuspalmer said, in the 2.10-SNAPSHOT works, but in the 2.9.2-SNAPSHOT the problem persists. So, is there any possibility that this issue can be resolved for 2.9.2? Thanks in advance. -- View this message in context: ht

Re: [Bindy] Having trouble with the "required" field

2012-04-11 Thread Claus Ibsen
On Wed, Apr 11, 2012 at 10:54 AM, Aida wrote: > Hi again, > > I have tested it with both 2.9.2-SNAPSHOT and 2.10-SNAPSHOT. As magnuspalmer > said, in the 2.10-SNAPSHOT works, but in the 2.9.2-SNAPSHOT the problem > persists. So, is there any possibility that this issue can be resolved for > 2.9.2?

Re: [Bindy] Having trouble with the "required" field

2012-04-11 Thread Aida
http://camel.465427.n5.nabble.com/file/n5632391/bindyTest.zip bindyTest.zip Here I attach my JUnit test and the BindyClass I'm using (is the same I only changed the name of the fields). The test case that fails is the last one (is commented). I hope this to be enought (all this is in the context

Re: diagram generator

2012-04-11 Thread Achim Nierbeck
Hi Romain, I just tried it on a more "complex" project. Unfortunately it didn't work. Though it seems to me it might be just a issue of either the project type, it's a war right now. Or it is because the bean defined inside the configured camel-context.xml references a class of the same project.

Re: diagram generator

2012-04-11 Thread Romain Manni-Bucau
Hi, without more info that's hard to help, which error do you have? - Romain 2012/4/11 Achim Nierbeck > Hi Romain, > > I just tried it on a more "complex" project. > Unfortunately it didn't work. Though it seems to me it might be just a > issue of either the project type, it's a war right now

Re: diagram generator

2012-04-11 Thread Achim Nierbeck
Hi Romain, it's a class not found exception. The class in question is contained in the same project as the xml file and is used by the -tag. regards, Achim 2012/4/11 Romain Manni-Bucau : > Hi, > > without more info that's hard to help, which error do you have? > > - Romain > > > 2012/4/11 Achim

Re: diagram generator

2012-04-11 Thread Romain Manni-Bucau
is it a class in the war or in a dependency? if it is in the war did you call compile phase before the generation? more generally dependencies needs to be added to the plugin too. - Romain 2012/4/11 Achim Nierbeck > Hi Romain, > > it's a class not found exception. > The class in question is

Re: diagram generator

2012-04-11 Thread Achim Nierbeck
Hi, it's a class of the project/war, all required project dependencies where added to the plugin dependencies. I used your example of this thread therefore the generation of the diagram was called in the package phase, after packaging the war. thanx for your help :) 2012/4/11 Romain Manni-Bucau

Re: diagram generator

2012-04-11 Thread Romain Manni-Bucau
can you provide a sample to reproduce it? - Romain 2012/4/11 Achim Nierbeck > Hi, > > it's a class of the project/war, all required project dependencies > where added to the plugin dependencies. > I used your example of this thread therefore the generation of the > diagram was called in the pa

camel-sftp polling and file listing

2012-04-11 Thread tnk
Hi, I am using camel-ftp to download files from remote sftp server, using idempotency (file), polling every 5 minutes, receiving max 50 files per poll and disconnecting after each polling. The problem is, that getting file list from sft server causes to high sftp server load (there are a lot of fil

Re: camel-sftp polling and file listing

2012-04-11 Thread Claus Ibsen
On Wed, Apr 11, 2012 at 3:11 PM, tnk wrote: > Hi, > I am using camel-ftp to download files from remote sftp server, using > idempotency (file), polling every 5 minutes, receiving max 50 files per poll > and disconnecting after each polling. > The problem is, that getting file list from sft server

Re: diagram generator

2012-04-11 Thread Achim Nierbeck
yep, can be found here: - https://github.com/ANierbeck/test-diagram regards, Achim 2012/4/11 Romain Manni-Bucau : > can you provide a sample to reproduce it? > > - Romain > > > 2012/4/11 Achim Nierbeck > >> Hi, >> >> it's a class of the project/war, all required project dependencies >> where ad

Re: diagram generator

2012-04-11 Thread Romain Manni-Bucau
can you have a try with an up-to-date version of the plugin please? - Romain 2012/4/11 Achim Nierbeck > yep, > > can be found here: > - https://github.com/ANierbeck/test-diagram > > regards, Achim > > 2012/4/11 Romain Manni-Bucau : > > can you provide a sample to reproduce it? > > > > - Romain

Scala Support

2012-04-11 Thread Andreas Feldmann
Hallo! I have used the Java DSL for a while, but I would like to use the scala DSL for another project. So I would like to know: Is every EI-pattern supported by the scala DSL? I have discovered this page http://camel.apache.org/scala-dsl-eip.html and I am suprised that not every EI-pattern has

Re: diagram generator

2012-04-11 Thread Romain Manni-Bucau
with the trunk and your settings (in particular the size) i got: http://img15.hostingpics.net/pics/599640camel.png - Romain 2012/4/11 Romain Manni-Bucau > can you have a try with an up-to-date version of the plugin please? > > - Romain > > > 2012/4/11 Achim Nierbeck > >> yep, >> >> can be fou

Re: Apparent Duplicated Log (Log4J)

2012-04-11 Thread garrydias
Thanx, Claus I am using JBoss 5.1.0 and did this: - remove /slf4j-jboss-logging.jar/ and /slf4j-api.jar/ from *JBOSS_HOME\common\lib*; - download /slf4j-api-1.6.4.jar/ from http://mvnrepository.com/artifact/org.slf4j/slf4j-api/1.6.4 and place it in *JBOSS_HOME\common\lib*; - in my pom.xml I change

Re: diagram generator

2012-04-11 Thread Achim Nierbeck
ok, just pulled again, now it works also for me on my sample :) thanx a lot 2012/4/11 Romain Manni-Bucau : > with the trunk and your settings (in particular the size) i got: > http://img15.hostingpics.net/pics/599640camel.png > > - Romain > > > 2012/4/11 Romain Manni-Bucau > >> can you have a try

Re: diagram generator

2012-04-11 Thread Romain Manni-Bucau
than you for the report :) - Romain 2012/4/11 Achim Nierbeck > ok, just pulled again, now it works also for me on my sample :) > thanx a lot > > 2012/4/11 Romain Manni-Bucau : > > with the trunk and your settings (in particular the size) i got: > > http://img15.hostingpics.net/pics/599640camel

Re: Scala Support

2012-04-11 Thread Claus Ibsen
On Wed, Apr 11, 2012 at 4:06 PM, Andreas Feldmann wrote: > Hallo! > > I have used the Java DSL for a while, but I would like to use the scala DSL > for another project. > > So I would like to know: Is every EI-pattern supported by the scala DSL? > > I have discovered this page http://camel.apache.

Re: diagram generator

2012-04-11 Thread Achim Nierbeck
Ok, I did some more "complex" stuff in my example project cause it looks like the mail component in combination with properties doesn't work out for the diagram generator, it works out in the unit test. Could you take a look? Thanx, Achim 2012/4/11 Romain Manni-Bucau : > than you for the repor

Re: diagram generator

2012-04-11 Thread Romain Manni-Bucau
hmm, which error this time? - Romain 2012/4/11 Achim Nierbeck > Ok, > > I did some more "complex" stuff in my example project cause it looks > like the mail component in combination with properties > doesn't work out for the diagram generator, it works out in the unit test. > > Could you take

Expression Language exchange test

2012-04-11 Thread Samruben
Hi I need to test whether the predicate object matches the exchange for various expression languages. I need to know what exchange value I need to set in exchange to validate the predicate. public void test() { String expression="//orders/value>10"'; CamelContext

Re: Expression Language exchange test

2012-04-11 Thread Claus Ibsen
Hi A good idea is always to check the test source code of the Camel component you work with. https://svn.apache.org/repos/asf/camel/trunk/components/camel-jxpath/src/test/ See for example this test https://svn.apache.org/repos/asf/camel/trunk/components/camel-jxpath/src/test/java/org/apache/camel

Re: handling exception at endpoints

2012-04-11 Thread Marco Mistroni
Hello Claus thanks for the reply! mm i may be confusing the terminology sorry :( my camelapp consists of few routes. Most of the routes have as i want to be able to handle exceptions in my endpointBean apart from the post below (i see you commented on that as well) are there any other ap

Re: PropertyPlaceholder location identifier

2012-04-11 Thread Christian Müller
Do you have any good reason to not put a properties file in the class path (e.g. the /etc subdirectory if you use Karaf or ServiceMix)? Best, Christian On Mon, Apr 9, 2012 at 11:38 AM, ramnar wrote: > Hi > I have a bundle having camelcontext using propertyplaceholder to refer some > properties

Trapping Errors Help

2012-04-11 Thread Castyn
I am trying to trap errors thrown in camel and am running into a bit of an issue with nested errors. For example: org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader. at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.ja

Re: Camel error handler stop routing on original route when an exception occur in the splitter using jaxb marshalled objects

2012-04-11 Thread Luca Foppiano
On Fri, Apr 6, 2012 at 6:12 PM, Luca Foppiano wrote: > Dear all, > > [...] Hello all, I've created a new jira issue: https://issues.apache.org/jira/browse/CAMEL-5164 (I write here in case anybody has the same problem and find my email) Thanks -- Luca Foppiano Software Engineer +31615253280 l

split strategyRef rejects GroupedExchangeAggregationStrategy, UseLatestAggregationStrategy, UseOriginalAggregationStrategy

2012-04-11 Thread garrydias
/... Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.camel.processor.aggregate.UseOriginalAggregationStrategy]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.apache.camel.processor.aggregate.UseOr