MongoDB Consumer Endpoint: ReadPreference cannot be set?

2015-03-11 Thread jpeschke
Hello, When trying to use the readPreference parameter in a mongodb consumer endpoint, an illegal argument exception will be thrown during initialisation: /operation, writeConcern, writeConcernRef, readPreference, dynamicity, invokeGetLastError options cannot appear on a consumer endpoint/ I do

Re: Splitting xml - Send all items or send XML to Error Queue

2015-03-11 Thread majid
You can put your validated items into a temp seda queue and once you complete the splitting of your file and you don't find any invalid item, then start consuming the temp seda queue, otherwise just stop. -- View this message in context:

Marshalling directly to endpoints OutputStream

2015-03-11 Thread Lars Ködderitzsch
My routes are using custom object trees which are being marshalled using a custom DataFormat and outputted to file endpoints. Contrary to my naiive expectation this does not lead to the DataFormat directly outputting to the endpoints underlying OutputStream but always to an intermediary

Re: Camel stop routes and start

2015-03-11 Thread majid
I finally stopping the whole camel context. I am wondering how costly is the operation of creation many camel contexts (one per customer) ? I will have around 100 camel context in my JVM, is it expensive ? or should I use only one ? -- View this message in context:

Re: MongoDB Consumer Endpoint: ReadPreference cannot be set?

2015-03-11 Thread Raul Kripalani
Hi Joerg, Thanks for your feedback! Indeed this can probably be improved. Could you please open a ticket in our Jira? How would you feel about submitting a pull request? Thanks! Sent from my iPad On 11 Mar 2015, at 16:13, jpeschke pesc...@etone.de wrote: Hello, When trying to use the

Re: Error when executing: install -s mvn:com.packt/sample

2015-03-11 Thread Morgan Hautman
Hi Christian, Glad I could help. Since all these issues and the book you're reading is about Karaf, maybe post your issues on the Karaf mailing list next time. :) http://karaf.apache.org/index/community/mailing-lists.html On 11/03/2015 17:55, Christian Eugster wrote: Now everything seems to

Re: Error when executing: install -s mvn:com.packt/sample

2015-03-11 Thread Achim Nierbeck
Hi Christian, awesome :-) regards, Achim 2015-03-11 17:55 GMT+01:00 Christian Eugster c.eugs...@docuteam.ch: Now everything seems to work. Thank you all! Christian Christian Eugster Docuteam GmbH Langacker 16 Postfach CH-5405 Baden-Dättwil +41 (0)56 470 03 37 c.eugs...@docuteam.ch

how to flush idempotent in memory cache

2015-03-11 Thread rpcat
How can I flush the idempotent inmemory cache without restarting my camel service? -- View this message in context: http://camel.465427.n5.nabble.com/how-to-flush-idempotent-in-memory-cache-tp5764024.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Error when executing: install -s mvn:com.packt/sample

2015-03-11 Thread Christian Eugster
Hi Achim, The descriptions in Apache Karaf Cookbook are really easy to understand, so I don't think I missed something: 1. I installed karaf 3.0.3 from scratch 2. I feature:added-repo and feature:installed camel 3. I mvned install the sample module of chapter 2, recipe 2 4. I bundle:installed

camel bindy 2.14.1 and jboss-eap 6.3.3

2015-03-11 Thread Scisci
Hi, I'm trying to use bindy on camel 2.14.1 with a WAR deploy on jboss-eap 6.3.3 this is my camel context: camelContext xmlns=http://camel.apache.org/schema/spring; propertyPlaceholder id=placeholder location=classpath:file.properties/ route id=file-to-jpa from

Re: HttpServletResolveConsumerStrategy improvement?

2015-03-11 Thread Claus Ibsen
Hi Thanks I am adding that to the docs. On Wed, Mar 11, 2015 at 11:06 AM, richardgroote richard.gro...@gmail.com wrote: Hello, In the above URI the parameter httpMethodRestrict is used. This options is currently not documented on http://camel.apache.org/servlet.html. Kind regards,

Re: Error when executing: install -s mvn:com.packt/sample

2015-03-11 Thread Morgan Hautman
Hi Christian, I think that on Mac there is a problem with the 0.0.0.0 binding. Try in etc/org.apache.karaf.management.cfg to change 0.0.0.0 to 127.0.0.1 On 11/03/2015 11:12, Christian Eugster wrote: Hi Achim, as I wrote before, I succeeded to bundle:install another bundle. But maybe this

Re: camel bindy 2.14.1 and jboss-eap 6.3.3

2015-03-11 Thread Claus Ibsen
Hi You may need to use a 3rd party jboss classloader module. See more details at http://camel.apache.org/camel-jboss.html On Wed, Mar 11, 2015 at 11:14 AM, Scisci ferioli.mi...@gmail.com wrote: Hi, I'm trying to use bindy on camel 2.14.1 with a WAR deploy on jboss-eap 6.3.3 this is my camel

Re: Error when executing: install -s mvn:com.packt/sample

2015-03-11 Thread Christian Eugster
Hi Christian, I removed the line and IT WORKS! This problem is solved now, thank you. Now there is the javax.naming.ConfigurationException (see mail before). Regards Christian Christian Eugster Docuteam GmbH Langacker 16 Postfach CH-5405 Baden-Dättwil +41 (0)56 470 03 37 c.eugs...@docuteam.ch

Re: Error when executing: install -s mvn:com.packt/sample

2015-03-11 Thread Achim Nierbeck
Hi Christian, this is rather strange effect you got there, is any of the other samples working for you? I somehow have the impression it's a missmatch of your local repo and the repo defined in the Karaf server. Anything else that is special on your machine? regards, Achim 2015-03-11 8:14

Re: HttpServletResolveConsumerStrategy improvement?

2015-03-11 Thread richardgroote
Hello, In the above URI the parameter httpMethodRestrict is used. This options is currently not documented on http://camel.apache.org/servlet.html. Kind regards, Richard -- View this message in context:

Splitting xml - Send all items or send XML to Error Queue

2015-03-11 Thread blommish
Hi, So I have a XML data which i will split, transform every item, send every item to validator and then send to an endpoint. But I want to be sure all items validate before sending them to the endpoint, so its All or None, if an error would arise on any item I want to send the XML data(before

beginner: download json transform to xml send to ftp

2015-03-11 Thread H2SO4
Hello, I already have some experience wit jave but I'm new to camel. So at the moment I have some problems with the starting. I think I understand the basics of camel (I'm reading Camel in action) but still not sure how to start. Hopefully someone can help me. What I want to do. I want to

LoggingOutInterceptor only info mode, the smartest way ?

2015-03-11 Thread Frankiboy
I have a camel.xml where i log the request - response, i using cxf. Works fine :-) But what is the smartes way, if i only want to show when im in info mode. Can i handle this in my camel.xml, how to do this smartest ? in my programs im using org.apache.commons.logging. I have a

Re: camel bindy 2.14.1 and jboss-eap 6.3.3

2015-03-11 Thread Scisci
Thanks, now works. I've added on pom dependency groupIdorg.apache-extras.camel-extra/groupId artifactIdcamel-jboss6/artifactId version2.13.2/version /dependency and this on applicationContex bean id=jbossResolver

Re: Error when executing: install -s mvn:com.packt/sample

2015-03-11 Thread Achim Nierbeck
Hi Christian, this is rather strange. Are you still building with your eclipse mvn? Do you happen to have a maven usable from command line? Another thing, maybe you should post us your ${home}/.m2/settings.xml maybe something strange there. regards, Achim 2015-03-11 7:15 GMT+01:00 Christian

Re: Error when executing: install -s mvn:com.packt/sample

2015-03-11 Thread Christian Eugster
Hi Achim, yes I tried from command line too, same result. Nearby my settings.xml from ~/.m2: settings xmlns=http://maven.apache.org/SETTINGS/1.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/SETTINGS/1.0.0