Re: Compile Exception: 2.8.1

2011-10-08 Thread bvahdat
Hi again, For the sake of completeness, following the revision on trunk fixing the issue on older- or non-oracle/sun-jdk1.6 (like ibm-jdk): http://svn.apache.org/viewvc?view=revision&revision=1169608 Maybe that fix should really be backported to previous releases but that's something the camel r

Re: Compile Exception: 2.8.1

2011-10-08 Thread bvahdat
Hi, most probably you make use of a non-oracle/sun-jdk1.6 where this generics-issue is known, however it's already fixed on trunk, see: http://camel.465427.n5.nabble.com/Compilation-error-on-trunk-on-windows-on-Apache-Jenkins-td4791051.html http://camel.465427.n5.nabble.com/why-i-building-camel2-

Compile Exception: 2.8.1

2011-10-08 Thread karafman
On the 2.8.1 branch, when compiling using the methods suggested by the build page, I received the following exception: Compilation Failure /home/blue/workspace/camel-2.8.1/camel-core/src/main/java/org/apache/camel/model/LoadBalanceDefinition.java:[134,16] incovertible types found: org.apache.ca

Copying files from an FTP server using search criteria

2011-10-08 Thread newbiee
I have written a program to FTP files from a server to a folder on my laptop using SFTP component. The program is able to copy. I had to just write one line of code (excluding boilderplate code) to get everything done. Thank you CAMEL! Now I want to enhance this program. Here is how I want this p

Updating cached content without restart?

2011-10-08 Thread Kleczka Peter John
Hi I am using Spring for my Camel routes. I have an XSLT component that calls for the style sheet over HTTP. If that resource changes I have to restart ActiveMQ. I read that I could use Camel 2.6 and turn off caching on the XSLT component, but I wonder if there are other methods to refresh t

Re: running a CAMEL exmple

2011-10-08 Thread Christian Schneider
mvn install creates a jar file of the code in your current project. The pom is copied for information. It is not necessary to run thee project. The dependencies are not copied by mvn install. They are copied by mvn dependency:copy-dependencies So to run your main class use: java -cp target/dep

Re: running a CAMEL exmple

2011-10-08 Thread newbiee
Thank you all for the feeback. Here is the result of executing 1. MVN INSTALL and 2. mvn dependency:copy-dependencies 1. mvn install: it created a jar file which contains the following: i. log4j.properties ii. META-INF folder which contains MANIFEST.MF and a package. The package contains pom

Re: Query part of HTTP_URI header ignored

2011-10-08 Thread Willem Jiang
I just checked the code, the HttpProducer should not ignore the query part. If there is no any other setting on HttpQuery header, we should let HttpProducer use the query part of the HTTP_URI header. I just filled a JIRA[1] for it and will commit a fix shortly. [1]https://issues.apache.org/jir

Re: Event driven configuration using Camel - Is it feasible or a misuse of the framework.

2011-10-08 Thread Christian Schneider
I don“t think a channel is a solution for this problem. A channel tpyically is message oriented so one sends the message into the channel, one or more receivers receive it. You typically can not query a channel for information. Can you explain more about your use case? Are your clients local to

Event driven configuration using Camel - Is it feasible or a misuse of the framework.

2011-10-08 Thread Mark Doyle
Is there a pattern which will allow us to send a single message to a channel which will then persist.The source can replace the message simply by sending another one, this means the latest message is the only important one. The channel can have many subscribers and any late subscribers should pick