Re: Need Help in a scenario, which is not working as expected: Camel Route based code

2013-09-11 Thread Taariq Levack
Hi You weren't clear about the step it's getting stuck at, enable trace logging to see what it's doing. And to transfer from ftp to the file system you don't need bean:fileCopier, not sure what it's doing because you didn't include details of it. Perhaps it's getting stuck there or at

Re: camel blueprint - unit tests

2013-09-11 Thread Achim Nierbeck
wow, now that is something I call a rant :D anyhow, you're only telling half the truth ;) yes developing osgi might be cumbersome but to be hones EJB is the same PITA and I really hated working with JBoss and maven when I needed to work with EJBs, the turnaround cycles where awful and to me much

Re: camel blueprint - unit tests

2013-09-11 Thread Jean-Baptiste Onofré
Agree with Achim, it's something that I plan for Camel (and other projects like ActiveMQ): pax-exam with the Karaf container allows good itests. We use it for Cellar: the itests, we can bootstrap a Karaf container, perform commands, check the result, etc. Regards JB On 09/11/2013 08:34 AM,

Re: camel blueprint - unit tests

2013-09-11 Thread Christian Müller
What's the JIRA ticket where I can vote for it? ;-) Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member: https://www.apache.org/foundation/members.html

Was SJMS released with 2.11?

2013-09-11 Thread gliesian
Was SJMS released with 2.11? If so... this documentation should be updated: http://camel.apache.org/sjms.html -- View this message in context: http://camel.465427.n5.nabble.com/Was-SJMS-released-with-2-11-tp5739077.html Sent from the Camel - Users mailing list archive at Nabble.com.

couchdb:http://hostname[:port]/database?[options...]://name[?options]

2013-09-11 Thread gliesian
Is this uri format a mistake (on this web page: http://camel.apache.org/couchdb.html): couchdb:http://hostname[:port]/database?[options...]://name[?options] shouldn't it be: couchdb:http://hostname[:port]/database[?options] -- View this message in context:

Spring Redis

2013-09-11 Thread gliesian
From http://camel.apache.org/components.html: Spring Redis / camel-spring-redis spring-redis:restletUrl[?options] Was restletUrl the intention here? -- View this message in context: http://camel.465427.n5.nabble.com/Spring-Redis-tp5739078.html Sent from the Camel - Users mailing list archive

Activiti

2013-09-11 Thread gliesian
The Activiti link on the this page: http://camel.apache.org/components.html does not link to an camel help page as the other links do... this should be adjusted. -- Robert -- View this message in context: http://camel.465427.n5.nabble.com/Activiti-tp5739081.html Sent from the Camel - Users

Re: Was SJMS released with 2.11?

2013-09-11 Thread Claus Ibsen
Hi Yeah it was part of 2.11, which was also mentioned. Though I removed the under active development note which I assume was confusing you. On Wed, Sep 11, 2013 at 6:14 AM, gliesian rob...@gliesian.com wrote: Was SJMS released with 2.11? If so... this documentation should be updated:

Re: Spring Redis

2013-09-11 Thread Claus Ibsen
Hi No this looks like a copy/paste mistake. Feel free to fix that. On Wed, Sep 11, 2013 at 6:24 AM, gliesian rob...@gliesian.com wrote: From http://camel.apache.org/components.html: Spring Redis / camel-spring-redis spring-redis:restletUrl[?options] Was restletUrl the intention here?

Re: Activiti

2013-09-11 Thread Claus Ibsen
Hi This is an external component that is hosted by activiti project. So the documentation is on their website ... somewhere. On Wed, Sep 11, 2013 at 6:51 AM, gliesian rob...@gliesian.com wrote: The Activiti link on the this page: http://camel.apache.org/components.html does not link to an

Re: Got an error PropertiesComponent with name properties must be defined in CamelContext to support property placeholders

2013-09-11 Thread Claus Ibsen
Yes On Wed, Sep 11, 2013 at 12:00 AM, bonnahu bonn...@gmail.com wrote: Thanks Claus. So you are saying is that I still need to create a fake properties file, even I don't use it. Do I understand it correctly? -- View this message in context:

Re: couchdb:http://hostname[:port]/database?[options...]://name[?options]

2013-09-11 Thread Claus Ibsen
Hi Yes this is also a mistake. Feel free to fix. And thanks for spotting all those. Glad to have extra eyes on the docs, and helping the community. On Wed, Sep 11, 2013 at 2:59 AM, gliesian rob...@gliesian.com wrote: Is this uri format a mistake (on this web page:

JBoss package scan

2013-09-11 Thread arno noordover
I know I have a version of camel that is very old (2.4.0), but I hope somebody can react. When loading a war I get the following logging: 09:36:45,157 INFO [AnnotationTypeConverterLoader] Found 5 packages with 0 @Converter classes to load 09:36:45,159 INFO [DefaultTypeConverter] Loaded 0 type

ProducerTemplate without using Spring

2013-09-11 Thread Achim Nierbeck
Hi there, I have a interesting setup right now using the ProducerTemplate. I found the following: http://camel.apache.org/why-does-camel-use-too-many-threads-with-producertemplate.html on how to add a global usable ProducerTemplate as your not supposed to recreate the Producer template within

Re: org.xml.sax.SAXParseException: Premature end of file in split

2013-09-11 Thread Preben.Asmussen
Hi Christian Thanks - and sorry for the somewhat rough tests. Currently I'm trying to solve multiple problems at the same time And I tried it on 1.12.0 yesterday and there it works as you say. There seems to be another problem with tracing on 1.12.0 though. When you activate tracing using jmx

Re: org.xml.sax.SAXParseException: Premature end of file in split

2013-09-11 Thread Claus Ibsen
Hi Read the release notes http://camel.apache.org/camel-2120-release.html See section: Changes that may affect end users On Wed, Sep 11, 2013 at 10:50 AM, Preben.Asmussen p...@dr.dk wrote: Hi Christian Thanks - and sorry for the somewhat rough tests. Currently I'm trying to solve multiple

Re: InheritableThreadLocal

2013-09-11 Thread sylvain.perez
Hi Claus, thanks for the confirmation. Keep up with the great work you and others have achieved on Camel. I love your fwk. A masterpiece! Thanks, Sylvain -- View this message in context: http://camel.465427.n5.nabble.com/InheritableThreadLocal-tp5739044p5739102.html Sent from the Camel -

Re: InheritableThreadLocal

2013-09-11 Thread sylvain.perez
Hi Claus, thanks for the confirmation. Keep up with the great work you and others have achieved on Camel. I love your fwk. A masterpiece! Thanks, Sylvain -- View this message in context: http://camel.465427.n5.nabble.com/InheritableThreadLocal-tp5739044p5739103.html Sent from the Camel -

Re: InheritableThreadLocal

2013-09-11 Thread sylvain.perez
Hi Claus, thanks for the confirmation. Keep up with the great work you and others have achieved on Camel. I love your fwk. A masterpiece! Thanks, Sylvain -- View this message in context: http://camel.465427.n5.nabble.com/InheritableThreadLocal-tp5739044p5739105.html Sent from the Camel -

Re: org.xml.sax.SAXParseException: Premature end of file in split

2013-09-11 Thread Preben.Asmussen
Ahh - thanks. -- View this message in context: http://camel.465427.n5.nabble.com/org-xml-sax-SAXParseException-Premature-end-of-file-in-split-tp5738675p5739106.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel blueprint - unit tests

2013-09-11 Thread Claus Ibsen
Hi There is already itests for Karaf with pax-exam in Camel, in the tests/camel-itest-osgi directory. As an end user wanted to do this, this is not so easy as there is fair amount of setup to do and whatnot. The JIRA ticket I mentioned was to polish this and turn that into a end user component,

WSDoAllReceiver: Incoming message does not contain required Security header

2013-09-11 Thread hutao1
camel-config.xml : bean id=logIn class=org.apache.cxf.interceptor.LoggingInInterceptor / bean id=logOut class=org.apache.cxf.interceptor.LoggingOutInterceptor / bean id=saajOut class=org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor / bean id=wss4jOut

Camel JBDC : Connection pooling

2013-09-11 Thread myhumandreams
Camel JDBC is having support for Database connection pooling? Or else it is just a connection like JDBC connection. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JBDC-Connection-pooling-tp5739116.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel-jetty and hawt.io

2013-09-11 Thread James Strachan
On 11 September 2013 03:04, Mark elihusma...@gmail.com wrote: I have some Camel routes that I have running in a standalone java app, and I'd like to embed hawt in the JVM. Is it possible to do since Camel and Hawt will want their own jetty instance running in the JVM? Sure. Or you could run

How and where should I use doneUoW() for a consumer template?

2013-09-11 Thread mamouros
I am using a consumer Template to get an exchange and then pass it on to a producer Template. As I saw from the docs for receive() Important: See doneUoW(Exchange) I went and checked doneUoW(). Haven't though fully understand yet if I should call consumer.doneUoW(exchange); and where? Will it be

Re: Camel JBDC : Connection pooling

2013-09-11 Thread Taariq Levack
Hi Yes, just configure a pooled datasource. Taariq On Wed, Sep 11, 2013 at 12:15 PM, myhumandreams kv.prajeesh.rajas...@gmail.com wrote: Camel JDBC is having support for Database connection pooling? Or else it is just a connection like JDBC connection. -- View this message in

Re: Using HTTP and HTTPS proxies with Camel HTTP Component

2013-09-11 Thread Alex Anderson
On 10 September 2013 22:49, Christian Müller christian.muel...@gmail.com wrote: Did you tried setting the proxy host/port as we described here [1]? Hi Christian, Thanks for the suggestion. Do you mean something other than what I referred to in my original post?

Re: couchdb:http://hostname[:port]/database?[options...]://name[?options]

2013-09-11 Thread gliesian
I made the corrections. -- View this message in context: http://camel.465427.n5.nabble.com/couchdb-http-hostname-port-database-options-name-options-tp5739069p5739133.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Spring Redis

2013-09-11 Thread gliesian
I made the correction. -- View this message in context: http://camel.465427.n5.nabble.com/Spring-Redis-tp5739078p5739135.html Sent from the Camel - Users mailing list archive at Nabble.com.

xquery element vs. xquery endpoint - and VTD-XML and XPath

2013-09-11 Thread gliesian
Can VTD-XML and XPath features be used as element components similar to what was done by XQuery? From what I understand VTD-XML and XPath are only URI endpoint components. Reference: XQuery Element Component: http://camel.apache.org/xquery.html XQuery URI Endpoint Component:

camel-http keeps throwing exception regardless of throwExceptionOnFailure value

2013-09-11 Thread roger_rabbit
Hi, I need to get the status code of a http/POST call that may fail, but that should never stop the route, but log the errors instead. But whatever solution I try, my route keeps failing as soon as I have a code 400+, and am never able to manage the return code: /Failed delivery for (MessageId:

CFX to Queue : io.serializationException

2013-09-11 Thread contactreji
Hi Guys I have a problem in the following route. *route id=Route1_MES_Queue from uri=cxf:bean:PowerConsumptionEndpoint/ log message=Persisting Message to queue ${body}\n descriptionlt;bean ref=myBean/gt;/description

Re: camel-http keeps throwing exception regardless of throwExceptionOnFailure value

2013-09-11 Thread Claus Ibsen
Try setting the option on HTTP_URI instead as its an option for Camel and not the remote web server On Wed, Sep 11, 2013 at 3:00 PM, roger_rabbit roger_rab...@gmx.fr wrote: Hi, I need to get the status code of a http/POST call that may fail, but that should never stop the route, but log the

Re: xquery element vs. xquery endpoint - and VTD-XML and XPath

2013-09-11 Thread Claus Ibsen
Hi Yeah xpath and vtd-xml are languages and not regular camel endpoint components. On Wed, Sep 11, 2013 at 2:21 PM, gliesian rob...@gliesian.com wrote: Can VTD-XML and XPath features be used as element components similar to what was done by XQuery? From what I understand VTD-XML and XPath are

Re: Second router in Pipeline not being reached in repeated interval scheldule

2013-09-11 Thread Claus Ibsen
Then you can use a filter to only call the bean when the batch is complete. from ... ... filter whenheader CamelBatchComplete/header/when to bean:lucene /filter On Tue, Sep 10, 2013 at 8:24 PM, gudiseashok gudise.as...@gmail.com wrote: Hi Ibsen, Thanks allot for responding to my

Re: How and where should I use doneUoW() for a consumer template?

2013-09-11 Thread mamouros
How about consumer.stop() and producer.stop(). Should I use them as recommended and when, because I get the: org.apache.camel.FailedToCreateProducerException: Failed to create Producer for endpoint: Endpoint[smpp:// ... Caused by: java.io.IOException: Receive negative bind

Re: Camel-jetty and hawt.io

2013-09-11 Thread James Strachan
On 11 September 2013 15:11, Mark elihusma...@gmail.com wrote: There may be a larger problem WRT dependencies though. Is there a way to embed hawt into an existing jetty instance programatically? Sure, just add the hawtio-default.war On Wed, Sep 11, 2013 at 6:30 AM, James Strachan

Re: camel-http keeps throwing exception regardless of throwExceptionOnFailure value

2013-09-11 Thread roger_rabbit
Claus, thanks for the tip; which sounded very like the right one until I tried it... and it didn't work .. // .setHeader(Exchange.HTTP_QUERY, constant(throwExceptionOnFailure=false)) .setHeader(Exchange.HTTP_URI,

Re: Netty and requestTimeout

2013-09-11 Thread Claus Ibsen
Hi Logged a ticket to fix this https://issues.apache.org/jira/browse/CAMEL-6730 On Tue, Sep 3, 2013 at 9:22 AM, Claus Ibsen claus.ib...@gmail.com wrote: Hi Yeah removing the timeout handler is a good idea. And we love contributions, so feel free to log a JIRA and attach a patch.

Re: Camel-jetty and hawt.io

2013-09-11 Thread Mark
There may be a larger problem WRT dependencies though. Is there a way to embed hawt into an existing jetty instance programatically? On Wed, Sep 11, 2013 at 6:30 AM, James Strachan james.strac...@gmail.comwrote: On 11 September 2013 03:04, Mark elihusma...@gmail.com wrote: I have some

Re: camel-http keeps throwing exception regardless of throwExceptionOnFailure value

2013-09-11 Thread Claus Ibsen
Ah you need to set it on the *real* endpoint .enrich(http://dummyhost?throwExceptionOnFailure=false;) As this options is only applicable there, and not possible to set using those HTTP headers. On Wed, Sep 11, 2013 at 4:08 PM, roger_rabbit roger_rab...@gmx.fr wrote: Claus, thanks for the

Re: Camel-jetty and hawt.io

2013-09-11 Thread James Strachan
The easiest thing is gonna be to run it stand alone: http://hawt.io/getstarted/index.html java -jar hawtio-app-1.2-M10.jar or put your camel routes into a WAR and deploy it and hawtio's hawtio-default.WAR into a stand alone Jetty. But if you really wanna keep an embedded Camel main

Re: Camel JBDC : Connection pooling

2013-09-11 Thread myhumandreams
Thanks Taariq, But my doubt is like camel-jdbc component support any pooling internally? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JBDC-Connection-pooling-tp5739116p5739174.html Sent from the Camel - Users mailing list archive at Nabble.com.

XMPP URI FORMAT MISSING HASH (#) USAGE?

2013-09-11 Thread gliesian
Consider the URI Scheme definition for fragment from https://en.wikipedia.org/wiki/URI_scheme: The fragment is an optional part separated from the front parts by a hash (#). It holds additional identifying information that provides direction to a secondary resource, e.g., a section heading (in

Re: Camel JBDC : Connection pooling

2013-09-11 Thread Claus Ibsen
camel-jdbc does not have any pooling. It uses the provided data source to get a connection which is then closed after usage. Usually you can find connection pool libraries that can offer pooling capabilities. On Wed, Sep 11, 2013 at 6:21 PM, myhumandreams kv.prajeesh.rajas...@gmail.com wrote:

Re: Camel-jetty and hawt.io

2013-09-11 Thread Mark
Then what? I added the dependency to the pom.xml. I can't find any documentation and what the next step would be. On Wed, Sep 11, 2013 at 10:16 AM, James Strachan james.strac...@gmail.comwrote: On 11 September 2013 15:11, Mark elihusma...@gmail.com wrote: There may be a larger problem

Re: Using an Expression for the delayer in the Scala DSL

2013-09-11 Thread Claus Ibsen
Hi Yeah whatever works for you. Please log a JIRA and work on a patch, so we can have this improved in a release. On Thu, Sep 5, 2013 at 10:37 AM, cflockhart craigflockha...@gmail.com wrote: I'm using Camel 2.11.1. I'd looked at the 2.11 branch and it didn't look too hard to add it so I'll

Re: camel-http keeps throwing exception regardless of throwExceptionOnFailure value

2013-09-11 Thread roger_rabbit
Yes, that was the right one! Now I understand my whole problem... such a subtle but important point! Thanks a lot, Claus! -- View this message in context: http://camel.465427.n5.nabble.com/camel-http-keeps-throwing-exception-regardless-of-throwExceptionOnFailure-value-tp5739143p5739173.html

Adding camel-jaxb dependency throws error in pom file

2013-09-11 Thread vsmahesh
Hi , I am getting error in plugin and execution tag showing null,when I am adding the dependency dependency groupIdorg.apache.camel/groupId artifactIdcamel-jaxb/artifactId version2.6.0/version /dependency Kindly check the screenshot for the error in POM file

Re: Camel JBDC : Connection pooling

2013-09-11 Thread myhumandreams
Thanks Claus... I am planning to use spring JDBCTemplate for all my data access with pooling. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JBDC-Connection-pooling-tp5739116p5739179.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Adding camel-jaxb dependency throws error in pom file

2013-09-11 Thread Christian Posta
Not sure. Can you run your app from mvn on the command line? Eclipse tooling isn't always the most accurate about real errors... Also, your screen shot is not for camel-jaxb... it's the cxf codgen stuff On Wed, Sep 11, 2013 at 9:44 AM, vsmahesh aneesh_...@yahoo.co.in wrote: Hi , I am

Re: org.xml.sax.SAXParseException: Premature end of file in split

2013-09-11 Thread Christian Müller
I logged a ticket: https://issues.apache.org/jira/browse/CAMEL-6735 Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member:

Re: Camel JBDC : Connection pooling

2013-09-11 Thread Pontus Ullgren
Not that it has anything to do with Camel but Spring JDBCTemplate does not provide pooling either. Just as with camel-jdbc the Spring JDBCTemplate uses the provided data source and you will need to use a connection pool libraries or get a container managed datasource pool. // Pontus On Wed,

Re: CFX to Queue : io.serializationException

2013-09-11 Thread Christian Müller
Yes, use the camel-jaxb dataformat to marshal your payload into a byte[]/String before sending it to the queue. After dequeuing it, unmarshal it to your Java pojo. Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache

Re: New book about Apache Camel

2013-09-11 Thread Bilgin Ibryam
Thanks guys! http://camel.apache.org/books is updated too. @Christian the book is intended for newcomers to Camel and EIPs, might not be interesting for someone at your level :) On 2 September 2013 13:00, ABouchama tit...@yahoo.fr wrote: Congratulations! We have ordered a copy, and we are

Re: Camel JBDC : Connection pooling

2013-09-11 Thread myhumandreams
bean id=springDataSource class=org.apache.commons.dbcp.BasicDataSource destroy-method=close property name=url value=jdbc:oracle:thin:@localhost:1521:SPRING_TEST / property name=driverClassName value=oracle.jdbc.driver.OracleDriver / property name=username value=root / property

Re: Camel JBDC : Connection pooling

2013-09-11 Thread James Carman
That will do pooling, yes. On Wed, Sep 11, 2013 at 10:20 PM, myhumandreams kv.prajeesh.rajas...@gmail.com wrote: bean id=springDataSource class=org.apache.commons.dbcp.BasicDataSource destroy-method=close property name=url value=jdbc:oracle:thin:@localhost:1521:SPRING_TEST / property

Re: XMPP URI FORMAT MISSING HASH (#) USAGE?

2013-09-11 Thread James Carman
Robert, The # isn't a special camel thing. It's actually part of the name of the channel. For instance, our IRC channel name is #camel. James On Wed, Sep 11, 2013 at 12:26 PM, gliesian rob...@gliesian.com wrote: Consider the URI Scheme definition for fragment from

Camel Certification

2013-09-11 Thread Henrique Viecili
Hi everyone, I was looking for a certification on EIP and/or Camel and I found that RedHat has this one: http://www.redhat.com/training/courses/ex421/examobjective ($600) I assume RedHat knows what they are doing after they bought FuseSource and now have Claus and James working with them. So,

spring ws camel

2013-09-11 Thread Mr.777
Hello everyone, Kindly help me through this problem. I have developed an application which exposes a single web service. I can see wsdl at: http://localhost:8080/abc/spring.wsdl and wsdl content is: wsdl:service name=MyServicewsdl:port binding=tns:MyServiceSoap11

Re: getting exception org.apache.camel.InvalidPayloadException: No body available of type: when I try to serialization

2013-09-11 Thread Mr.777
Looking at the exception seems like you have to write your own custom Converter. -- View this message in context: http://camel.465427.n5.nabble.com/getting-exception-org-apache-camel-InvalidPayloadException-No-body-available-of-type-when-I-try-to-s-tp5739206p5739208.html Sent from the Camel -