Re: Load Balancer is a vitamine or a poison for a basic use case

2011-11-02 Thread Gnanaguru S
Hi. I accept with Hadrian. I have tried the same load balancer of camel with 1000 files, directing to 5 clustered amq brokers. the fact is i was successfully able to load balance, but the algorithm takes time to distribute the files to different destinations. In this case content based

Re: Camel ftp read next file after close connection

2011-11-02 Thread alexey-s
Hi Add error report https://issues.apache.org/jira/browse/CAMEL-4605 -- View this message in context: http://camel.465427.n5.nabble.com/Camel-ftp-read-next-file-after-close-connection-tp4952369p4957362.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Can camel use a Marker as used in logback?

2011-11-02 Thread Claus Ibsen
On Tue, Nov 1, 2011 at 5:33 PM, mkolakow mkola...@up.com wrote: In our project's logging, we have recently started using Markers, which are described in the following: http://logback.qos.ch/manual/filters.html According to the Camel docs: http://camel.apache.org/log.html  Camel 2.7+ uses

Camel example in camel website

2011-11-02 Thread Gnanaguru S
Hi Claus, I was going through this http://camel.apache.org/tutorial-example-reportincident-part1.html I want wsdl based simple using camel. Will this be helpful ?. Your article was dated 2008. Do i require some modifications in it. I am confused with some steps. Can you brief what you are

Re: Can camel use a Marker as used in logback?

2011-11-02 Thread ceki
Hi all, Since markers are part of SLF4J's public API, you can invoke logger print method with markers. As Michael mentioned you can write: Marker blueMarker = MarkerFactory.getMarker( blue ); logger.warn( blueMarker , my log message ); If logback is the underlying logging framework,

Re: Regarding mail reading

2011-11-02 Thread Bilgin Ibryam
Do you have mail component added to your project with correct camel version? Something like this? dependency groupIdorg.apache.camel/groupId artifactIdcamel-mail/artifactId versionx.x.x/version !-- use the same version as your Camel core version -- /dependency Bilgin On Tue,

http://repository.apache.org does NOT respond

2011-11-02 Thread bvahdat
Hi, while trying to do mvn install -Pfastinstall on the trunk I'm blocked as it hangs on ... ... ... Downloading: http://repository.apache.org/snapshots/org/apache/camel/camel-buildtools/2.9-SNAPSHOT/maven-metadata.xml Just wonder if I'm the only one having this problem right now. On the other

Re: Regarding mail reading

2011-11-02 Thread Ketan Barapatre
I have created test project added camel-mail in my class path and other jars are also in classpath which comes with camel download. I will create Maven project and try this but is anything wrong if i don't use maven. Thank You Ketan On Wed, Nov 2, 2011 at 3:28 PM, Bilgin Ibryam

Re: http://repository.apache.org does NOT respond

2011-11-02 Thread Jon Anstey
Try again? There are some bits of Apache infra that were/are down this morning. On Wed, Nov 2, 2011 at 8:28 AM, bvahdat babak.vah...@swissonline.ch wrote: Hi, while trying to do mvn install -Pfastinstall on the trunk I'm blocked as it hangs on ... ... ... Downloading:

Re: http://repository.apache.org does NOT respond

2011-11-02 Thread bvahdat
It's still the same Will give a try today evening from at home as I'm currently in the office behind a HTTP proxy Thanks Jon for you reply. Regards, Babak -- View this message in context: http://camel.465427.n5.nabble.com/http-repository-apache-org-does-NOT-respond-tp4957786p4957876.html

Re: Can camel use a Marker as used in logback?

2011-11-02 Thread Claus Ibsen
Hi Ceki Thanks for the details. Michael feel free to create a JIRA ticket for this improvement. Seems like it should be possible with slf4j API to support markers in the DSL. As we love contributions you are of course welcome to work on a patch as well. http://camel.apache.org/contributing.html

Re: http://repository.apache.org does NOT respond

2011-11-02 Thread bvahdat
Now it works... -- View this message in context: http://camel.465427.n5.nabble.com/http-repository-apache-org-does-NOT-respond-tp4957786p4957950.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: synchronization issue

2011-11-02 Thread ebinsingh
Thanks a lot. I am using the completionSize option in the Aggregation and i've set it to 2000. But in the log above you see that the size of the list that is passed to the bean parseList is little more than 2000. I am not sure if i have something wrong in the above route. Appreciate your help.

JMS Publish-Subscribe Message Redelivery

2011-11-02 Thread hschoeneberg
Hello everyone, I am working a message-driven client-server-application and recently migrated my project from pure JMS-messaging to messaging via Camel. The messaging has been working reliably so far and during the migration-process my JMS-infrastructure remained unchanged (broker configuration

RE: synchronization issue

2011-11-02 Thread ebinsingh
The below logs show the various size's of the list. Looks like the below line of code has something wrong in it. Please help solve this. *from(file:/work_dir/camel_proj/data/input?delete=true) .log(Starting to process big file: ${header.CamelFileName})

Re: Camel example in camel website

2011-11-02 Thread Claus Ibsen
Hi We dont have resources to keep updating tutorials over the time when Camel and what else change. For example the OSGi tutorial Charles did is based on Camel 1.6 and early version of Karaf etc. For a WSDL example then check for example the CXF examples For example the Tomcat example which is

Re: Karaf vs Servicemix 4.x

2011-11-02 Thread Claus Ibsen
On Tue, Nov 1, 2011 at 10:55 PM, boday ben.o...@initekconsulting.com wrote: my take is that unless you explicitly need any Servicemix features, then just use Karaf because its lighter weight, etc... Karaf is a general purpose container which is not preset/preconfigured for optimal Camel

Re: JMS Publish-Subscribe Message Redelivery

2011-11-02 Thread Claus Ibsen
Hi Your configuration files is missing from the mail. On Wed, Nov 2, 2011 at 2:29 PM, hschoeneberg schoeneb...@informatik.uni-wuerzburg.de wrote: Hello everyone, I am working a message-driven client-server-application and recently migrated my project from pure JMS-messaging to messaging

Re: Adding processing per Consumer endpoint

2011-11-02 Thread Claus Ibsen
Hi Maybe see this article which covers and example with consumers which can take XML or CSV data. http://java.dzone.com/articles/open-source-integration-apache On Tue, Nov 1, 2011 at 12:42 PM, tkatva tuomas.ka...@gmail.com wrote: Hello Thank you for your answer. One thing that is troubling

Re: Can camel use a Marker as used in logback?

2011-11-02 Thread mkolakow
Claus and Ceki, That's exactly what I meant. To be able to use 'marker' as a parameter of camel:log or as it's own XML element. I will get the JIRA ticket created. Regards, Michael Kolakowski -- View this message in context:

Re: JMS Publish-Subscribe Message Redelivery

2011-11-02 Thread Claus Ibsen
You have concurrent consumers set to 20 property name=concurrentConsumers value=20 / Then impacts when consuming from topics. You should not use concurrent consumers on topics. On Wed, Nov 2, 2011 at 3:40 PM, hschoeneberg schoeneb...@informatik.uni-wuerzburg.de wrote: Claus Ibsen-2 wrote:

RE: synchronization issue

2011-11-02 Thread ebinsingh
The aggregation I am using is public Exchange aggregate(Exchange oldExch, Exchange newExch) { try{ if (oldExch == null) { oldExch = new DefaultExchange(new DefaultCamelContext());

Re: JMS Publish-Subscribe Message Redelivery

2011-11-02 Thread hschoeneberg
Ah, awesome, now it works like a charm - thank you very much for your quick help! Greetings, Hendrik Schöneberg -- View this message in context: http://camel.465427.n5.nabble.com/JMS-Publish-Subscribe-Message-Redelivery-tp4958062p4958330.html Sent from the Camel - Users mailing list archive at

RE: synchronization issue

2011-11-02 Thread ebinsingh
Sorry all. Please ignore the above thread. It was an issue with the way I had created the myList object in the MyListAggregation (AggregationStrategy) class. I had it as a global variable. The below works... public Exchange aggregate(Exchange oldExch, Exchange newExch) {

Re: Karaf vs Servicemix 4.x

2011-11-02 Thread diwakar
Hi, Thanks for the comment. I have 2 more queries. So Servicemix 4/5 seems to be better option than pure Karaf for hosting Camel as standalone process. If we want to host Camel inside application server (ex: Websphere), then which is the preferred approach?

Re: Karaf vs Servicemix 4.x

2011-11-02 Thread boday
Diwakar, here is some more info on running Camel in Karaf or in a web application container... http://camel.apache.org/karaf.html http://camel.apache.org/tutorial-on-using-camel-in-a-web-application.html diwakar wrote: Hi, Thanks for the comment. I have 2 more queries.

Re: Karaf vs Servicemix 4.x

2011-11-02 Thread Willem Jiang
On 11/3/11 1:25 AM, diwakar wrote: Hi, Thanks for the comment. I have 2 more queries. So Servicemix 4/5 seems to be better option than pure Karaf for hosting Camel as standalone process. If we want to host Camel inside application server (ex: Websphere),

Re: Regarding mail reading

2011-11-02 Thread Ketan Barapatre
I have created maven app and my code is working now. Thank You very much. [?] Can you please guide me on How can i proceed now means after getting Endpoint object ? Any documentation or tutorial for reading mail will help me a lot. Thank you very much. On Wed, Nov 2, 2011 at 4:28 PM, Ketan