Camel One Conference
Hi, I'm wondering is there a conference in Europe similar to Camel One that used to be conducted every year in Boston? I see in 2014 it will be part of another event in San Francisco, I'm just curious if there's some kind of an alternative on the other side of the Atlantic. Thanks. Regards, Rosen -- View this message in context: http://camel.465427.n5.nabble.com/Camel-One-Conference-tp5746699.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel One Conference
Hi Yeah CamelOne has always been in the US. The first time was Washington, then Boston two times, and now part of DevNation conference in San Francisco. http://www.devnation.org/ In Europe there has been ApacheCon in the past. I have not heard of any plans for doing EU as well. ApacheCon is happening in US later this year. In Europe FuseSource used to host Fuse Days which was free to attend a full day with mixed talks from the Fuse team, and users telling about their experience and usage of the Apache projects. The Fuse days is planned to return again later this year. We missed out on 2013. Charles Moulliard and Rob Davies would know more about. I heard words about cities of London and Paris so far. http://rajdavies.blogspot.se/2013/08/fuse-days-are-back.html Then in EU there is the usual conferences but nothing like CamelOne which was devoted only to messaging and integration. The closest would be the Fuse days, and maybe if ApacheCon returns in Europe with a dedicated Camel track which they have done in the past. On Mon, Feb 3, 2014 at 10:28 AM, Rosen Spasov rosenspa...@hotmail.com wrote: Hi, I'm wondering is there a conference in Europe similar to Camel One that used to be conducted every year in Boston? I see in 2014 it will be part of another event in San Francisco, I'm just curious if there's some kind of an alternative on the other side of the Atlantic. Thanks. Regards, Rosen -- View this message in context: http://camel.465427.n5.nabble.com/Camel-One-Conference-tp5746699.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
Re: Camel One Conference
Hi Rosen, As Claus mentioned, I'm currently working to organize Fuse Community Days (Paris, Munich, London) this year (May or autumn) based on the same concept as we did a few years ago (tech presentations done by Claus, James, Rob and myself + guest). More information will be announced on the appropriate forum (not camel mailing list). Regards, On Mon, Feb 3, 2014 at 10:48 AM, Claus Ibsen claus.ib...@gmail.com wrote: Hi Yeah CamelOne has always been in the US. The first time was Washington, then Boston two times, and now part of DevNation conference in San Francisco. http://www.devnation.org/ In Europe there has been ApacheCon in the past. I have not heard of any plans for doing EU as well. ApacheCon is happening in US later this year. In Europe FuseSource used to host Fuse Days which was free to attend a full day with mixed talks from the Fuse team, and users telling about their experience and usage of the Apache projects. The Fuse days is planned to return again later this year. We missed out on 2013. Charles Moulliard and Rob Davies would know more about. I heard words about cities of London and Paris so far. http://rajdavies.blogspot.se/2013/08/fuse-days-are-back.html Then in EU there is the usual conferences but nothing like CamelOne which was devoted only to messaging and integration. The closest would be the Fuse days, and maybe if ApacheCon returns in Europe with a dedicated Camel track which they have done in the past. On Mon, Feb 3, 2014 at 10:28 AM, Rosen Spasov rosenspa...@hotmail.com wrote: Hi, I'm wondering is there a conference in Europe similar to Camel One that used to be conducted every year in Boston? I see in 2014 it will be part of another event in San Francisco, I'm just curious if there's some kind of an alternative on the other side of the Atlantic. Thanks. Regards, Rosen -- View this message in context: http://camel.465427.n5.nabble.com/Camel-One-Conference-tp5746699.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io -- Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io
Re: Problem with tracing streams (and stream caching)
Of course I forgot to include version, it's only mentioned three times in the posting instructions. :) I'm using version 2.12.2. I tried the latest snapshot version (2.13-SNAPSHOT) as you suggested. Same problem exists with it as well. BR, Joni On 31.1.2014 22:05, Claus Ibsen wrote: What Camel version do you use? Try to upgrade to latest. And try SNAPSHOT code also.
Re: Camel One Conference
Thanks for your prompt answers. I will look into these forums and subscribe. Looking forward to having such talks in Europe. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-One-Conference-tp5746699p5746705.html Sent from the Camel - Users mailing list archive at Nabble.com.
disabeling loadStatistics
In order to disable loadStatistics (to get rid of the ManagementLoadTask thread) I have set the - camelContext id=camel xmlns=http://camel.apache.org/schema/spring; jmxAgent id=agent loadStatisticsEnabled=false/ ... /camelContext But when having multiple Contexts with this setting disabled, I get an rmi exception logged as a warning in the logs. (see stacktrace below). Does this mean that I have to create unique context id's for each CamelContext or is there an other way to configure this ?? I'm using camel v. 2.12.2 java.io.IOException: Cannot bind to URL [rmi://oastst20b:1099/jmxrmi/camel]: javax.naming.NameAlreadyBoundException: jmxrmi/camel [Root exception is java.rmi.AlreadyBoundException: jmxrmi/camel] at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804) at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417) at org.apache.camel.management.DefaultManagementAgent$1.run(DefaultManagementAgent.java:443) at java.lang.Thread.run(Thread.java:662) Caused by: javax.naming.NameAlreadyBoundException: jmxrmi/camel [Root exception is java.rmi.AlreadyBoundException: jmxrmi/camel] at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:122) at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208) at javax.naming.InitialContext.bind(InitialContext.java:400) at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:625) at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412) ... 2 more Caused by: java.rmi.AlreadyBoundException: jmxrmi/camel at sun.rmi.registry.RegistryImpl.bind(RegistryImpl.java:131) at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source) at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:390) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:248) at sun.rmi.transport.Transport.serviceCall(Transport.java:155) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359) at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:120) -- View this message in context: http://camel.465427.n5.nabble.com/disabeling-loadStatistics-tp5746709.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: disabeling loadStatistics
Hi Do you have other apps in the same JVM where you have set jmxAgent createConnector=true/. As it sounds like a 2nd connector is being attempted created. On Mon, Feb 3, 2014 at 12:41 PM, Preben.Asmussen p...@dr.dk wrote: In order to disable loadStatistics (to get rid of the ManagementLoadTask thread) I have set the - camelContext id=camel xmlns=http://camel.apache.org/schema/spring; jmxAgent id=agent loadStatisticsEnabled=false/ ... /camelContext But when having multiple Contexts with this setting disabled, I get an rmi exception logged as a warning in the logs. (see stacktrace below). Does this mean that I have to create unique context id's for each CamelContext or is there an other way to configure this ?? I'm using camel v. 2.12.2 java.io.IOException: Cannot bind to URL [rmi://oastst20b:1099/jmxrmi/camel]: javax.naming.NameAlreadyBoundException: jmxrmi/camel [Root exception is java.rmi.AlreadyBoundException: jmxrmi/camel] at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804) at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417) at org.apache.camel.management.DefaultManagementAgent$1.run(DefaultManagementAgent.java:443) at java.lang.Thread.run(Thread.java:662) Caused by: javax.naming.NameAlreadyBoundException: jmxrmi/camel [Root exception is java.rmi.AlreadyBoundException: jmxrmi/camel] at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:122) at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208) at javax.naming.InitialContext.bind(InitialContext.java:400) at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:625) at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412) ... 2 more Caused by: java.rmi.AlreadyBoundException: jmxrmi/camel at sun.rmi.registry.RegistryImpl.bind(RegistryImpl.java:131) at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source) at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:390) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:248) at sun.rmi.transport.Transport.serviceCall(Transport.java:155) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359) at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:120) -- View this message in context: http://camel.465427.n5.nabble.com/disabeling-loadStatistics-tp5746709.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
Apache Camel Training
Hi, Is there any on-site or over-the-web Apache Camel training available apart from the one offered by FuseSource? I'm looking for someone who can conduct a 2-4 day on-site training for 10-12 developers and that can provide an invoice for the service. Thanks. Regards, Rosen -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Training-tp5746718.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Quartz in cluster
Hi A similar topic was recently debated http://camel.465427.n5.nabble.com/Master-Slave-failover-using-database-lock-tp5746646.html On Mon, Feb 3, 2014 at 2:46 PM, Tom Fornoville tom.fornovi...@roots.be wrote: Hello Camel users, In our project we have several routes that start from a file (local filesystem or FTP) and when we're clustering this via Fuse Fabric we want to ensure that only one instance of the route picks up files. Our first thought was to use the Quartz scheduler with a JDBC-JobStore as described here: http://quartz-scheduler.org/documentation/quartz-2.x/configuration/ConfigJDBCJobStoreClustering Is there an example of a working JDBC-JobStore from within Camel? Are there other (simpler) solutions to make sure that multiple routes don't interfere? Best regards, Tom -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
Re: Apache Camel Training
Hi You can contact the companies that offers commercial training with Camel http://camel.apache.org/commercial-camel-offerings.html On Mon, Feb 3, 2014 at 2:50 PM, Rosen Spasov rosenspa...@hotmail.com wrote: Hi, Is there any on-site or over-the-web Apache Camel training available apart from the one offered by FuseSource? I'm looking for someone who can conduct a 2-4 day on-site training for 10-12 developers and that can provide an invoice for the service. Thanks. Regards, Rosen -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Training-tp5746718.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
Re: Quartz in cluster
Hi Claus, Thanks for your answer. I read that topic earlier but it's not the configuration of Quartz I'm having problems with. What I would like to know is how I can use a quartz endpoint to trigger file pickup. Right now we have something like: route from uri=sftp://{{user}}@ {{server}}?password={{password}}amp;delay={{delay}}/ ... /route And we want to replace the delay with a Quartz scheduler so it should be something like: route from uri=quartz:... / from uri=sftp://{{user}}@{{server}}?password={{password}}/ ... /route The second from doesn't make sense but I don't know how to describe what I want this route to do. Tom Fornoville Senior Developer m: +32 478 65 86 51 www.roots.be On Mon, Feb 3, 2014 at 2:52 PM, Claus Ibsen claus.ib...@gmail.com wrote: Hi A similar topic was recently debated http://camel.465427.n5.nabble.com/Master-Slave-failover-using-database-lock-tp5746646.html On Mon, Feb 3, 2014 at 2:46 PM, Tom Fornoville tom.fornovi...@roots.be wrote: Hello Camel users, In our project we have several routes that start from a file (local filesystem or FTP) and when we're clustering this via Fuse Fabric we want to ensure that only one instance of the route picks up files. Our first thought was to use the Quartz scheduler with a JDBC-JobStore as described here: http://quartz-scheduler.org/documentation/quartz-2.x/configuration/ConfigJDBCJobStoreClustering Is there an example of a working JDBC-JobStore from within Camel? Are there other (simpler) solutions to make sure that multiple routes don't interfere? Best regards, Tom -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
can I set a message header or exchange property inside an xslt?
Hello camel community, I'm working on a project where it would be very handy to me if I can set a message header or exchange property inside the execution of an xslt producer. Is this possible? I know that the exchange and in are passed as parameter to the transformation. -- Kind regards, Ronny Aertsmailto:ronny.ae...@intris.be - Intris nv - Wapenstilstandlaan 47, 2600 Berchem, Belgium RD Integration Architect Prince II certified Tel: +32-3-326.50.75 Intris nv Wapenstilstandlaan 47 B-2600 Berchem Tel. +32 3 326 50 75 Fax +32 3 326 42 23 www.intris.behttp://www.intris.be/ DISCLAIMER This is an e-mail from Intris. The information contained in this communication is intended solely for use by the individual or entity to whom it is addressed. Use of this communication by others is prohibited. If the e-mail message was sent to you by mistake, please notify supp...@intris.bemailto:supp...@intris.be, destroy it without reading, using, copying or disclosing its contents to any other person. We accept no liability for damage related to data and/or documents which are communicated by electronic mail.
Re: Quartz in cluster
From Camel 2.12 onwards you can provide a scheduler on the file/ftp consumers http://camel.apache.org/polling-consumer.html On Mon, Feb 3, 2014 at 3:06 PM, Tom Fornoville tom.fornovi...@roots.be wrote: Hi Claus, Thanks for your answer. I read that topic earlier but it's not the configuration of Quartz I'm having problems with. What I would like to know is how I can use a quartz endpoint to trigger file pickup. Right now we have something like: route from uri=sftp://{{user}}@ {{server}}?password={{password}}amp;delay={{delay}}/ ... /route And we want to replace the delay with a Quartz scheduler so it should be something like: route from uri=quartz:... / from uri=sftp://{{user}}@{{server}}?password={{password}}/ ... /route The second from doesn't make sense but I don't know how to describe what I want this route to do. Tom Fornoville Senior Developer m: +32 478 65 86 51 www.roots.be On Mon, Feb 3, 2014 at 2:52 PM, Claus Ibsen claus.ib...@gmail.com wrote: Hi A similar topic was recently debated http://camel.465427.n5.nabble.com/Master-Slave-failover-using-database-lock-tp5746646.html On Mon, Feb 3, 2014 at 2:46 PM, Tom Fornoville tom.fornovi...@roots.be wrote: Hello Camel users, In our project we have several routes that start from a file (local filesystem or FTP) and when we're clustering this via Fuse Fabric we want to ensure that only one instance of the route picks up files. Our first thought was to use the Quartz scheduler with a JDBC-JobStore as described here: http://quartz-scheduler.org/documentation/quartz-2.x/configuration/ConfigJDBCJobStoreClustering Is there an example of a working JDBC-JobStore from within Camel? Are there other (simpler) solutions to make sure that multiple routes don't interfere? Best regards, Tom -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
RE: Quartz in cluster
Hello Tom, Could the pollEnrich help you? from uri=quartz:... / pollEnrich uri=sftp://{{user}}@{{server}}?password={{password}}/ -- Kind regards, Ronny Aerts - Intris nv - Wapenstilstandlaan 47, 2600 Berchem, Belgium RD Integration Architect Prince II certified Tel: +32-3-326.50.75 -Original Message- From: Tom Fornoville [mailto:tom.fornovi...@roots.be] Sent: maandag 3 februari 2014 15:07 To: users@camel.apache.org Subject: Re: Quartz in cluster Hi Claus, Thanks for your answer. I read that topic earlier but it's not the configuration of Quartz I'm having problems with. What I would like to know is how I can use a quartz endpoint to trigger file pickup. Right now we have something like: route from uri=sftp://{{user}}@ {{server}}?password={{password}}amp;delay={{delay}}/ ... /route And we want to replace the delay with a Quartz scheduler so it should be something like: route from uri=quartz:... / from uri=sftp://{{user}}@{{server}}?password={{password}}/ ... /route The second from doesn't make sense but I don't know how to describe what I want this route to do. Tom Fornoville Senior Developer m: +32 478 65 86 51 www.roots.be On Mon, Feb 3, 2014 at 2:52 PM, Claus Ibsen claus.ib...@gmail.com wrote: Hi A similar topic was recently debated http://camel.465427.n5.nabble.com/Master-Slave-failover-using-database -lock-tp5746646.html On Mon, Feb 3, 2014 at 2:46 PM, Tom Fornoville tom.fornovi...@roots.be wrote: Hello Camel users, In our project we have several routes that start from a file (local filesystem or FTP) and when we're clustering this via Fuse Fabric we want to ensure that only one instance of the route picks up files. Our first thought was to use the Quartz scheduler with a JDBC-JobStore as described here: http://quartz-scheduler.org/documentation/quartz-2.x/configuration/Con figJDBCJobStoreClustering Is there an example of a working JDBC-JobStore from within Camel? Are there other (simpler) solutions to make sure that multiple routes don't interfere? Best regards, Tom -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io Intris nv Wapenstilstandlaan 47 B-2600 Berchem Tel. +32 3 326 50 75 Fax +32 3 326 42 23 www.intris.behttp://www.intris.be/ DISCLAIMER This is an e-mail from Intris. The information contained in this communication is intended solely for use by the individual or entity to whom it is addressed. Use of this communication by others is prohibited. If the e-mail message was sent to you by mistake, please notify supp...@intris.bemailto:supp...@intris.be, destroy it without reading, using, copying or disclosing its contents to any other person. We accept no liability for damage related to data and/or documents which are communicated by electronic mail.
Re: Quartz in cluster
Thanks Claus Ronny! Since we're using JBoss Fuse 6.0 we cannot use camel 2.12 features yet (waiting on the 6.1 release). If I understand correctly once we upgrade we can specify our route like this (provided that the quartz scheduler was configured to use a jbdc-jobstore): from urisftp://{{user}}@{{server}}?password={{password}}amp;scheduler=quartz2scheduler.cron=...; / The pollEnrich seems to be a solution also but since we're expecting Fuse 6. any day now I'd like to give that a try first. I'll let you know how it goes. Kind regards, Tom Tom Fornoville Senior Developer m: +32 478 65 86 51 www.roots.be On Mon, Feb 3, 2014 at 3:31 PM, Ronny Aerts ronny.ae...@intris.be wrote: Hello Tom, Could the pollEnrich help you? from uri=quartz:... / pollEnrich uri=sftp://{{user}}@{{server}}?password={{password}}/ -- Kind regards, Ronny Aerts - Intris nv - Wapenstilstandlaan 47, 2600 Berchem, Belgium RD Integration Architect Prince II certified Tel: +32-3-326.50.75 -Original Message- From: Tom Fornoville [mailto:tom.fornovi...@roots.be] Sent: maandag 3 februari 2014 15:07 To: users@camel.apache.org Subject: Re: Quartz in cluster Hi Claus, Thanks for your answer. I read that topic earlier but it's not the configuration of Quartz I'm having problems with. What I would like to know is how I can use a quartz endpoint to trigger file pickup. Right now we have something like: route from uri=sftp://{{user}}@ {{server}}?password={{password}}amp;delay={{delay}}/ ... /route And we want to replace the delay with a Quartz scheduler so it should be something like: route from uri=quartz:... / from uri=sftp://{{user}}@{{server}}?password={{password}}/ ... /route The second from doesn't make sense but I don't know how to describe what I want this route to do. Tom Fornoville Senior Developer m: +32 478 65 86 51 www.roots.be On Mon, Feb 3, 2014 at 2:52 PM, Claus Ibsen claus.ib...@gmail.com wrote: Hi A similar topic was recently debated http://camel.465427.n5.nabble.com/Master-Slave-failover-using-database -lock-tp5746646.html On Mon, Feb 3, 2014 at 2:46 PM, Tom Fornoville tom.fornovi...@roots.be wrote: Hello Camel users, In our project we have several routes that start from a file (local filesystem or FTP) and when we're clustering this via Fuse Fabric we want to ensure that only one instance of the route picks up files. Our first thought was to use the Quartz scheduler with a JDBC-JobStore as described here: http://quartz-scheduler.org/documentation/quartz-2.x/configuration/Con figJDBCJobStoreClustering Is there an example of a working JDBC-JobStore from within Camel? Are there other (simpler) solutions to make sure that multiple routes don't interfere? Best regards, Tom -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io Intris nv Wapenstilstandlaan 47 B-2600 Berchem Tel. +32 3 326 50 75 Fax +32 3 326 42 23 www.intris.behttp://www.intris.be/ DISCLAIMER This is an e-mail from Intris. The information contained in this communication is intended solely for use by the individual or entity to whom it is addressed. Use of this communication by others is prohibited. If the e-mail message was sent to you by mistake, please notify supp...@intris.bemailto: supp...@intris.be, destroy it without reading, using, copying or disclosing its contents to any other person. We accept no liability for damage related to data and/or documents which are communicated by electronic mail.
Invoking an application secured with Apache shiro
Hi - Is it feasible in Camel to make a call to an application which is embedded with Apache Shiro security. The web application has exposed the functionalities as rest services. I tried making http calls with Shiro Authentication token set up in the exchange headers. But its failing. Basically I am unable to mock the Shiro subject and set in the HTTP header to make it look like a Shiro Authenticated request. Is this possible in Camel or am I going in the wrong direction? Any suggestion or help in this regard is very much appreciated. Below is a subset of code I have been playing around with. // wrap it in a Subject Subject subjectUnderTest = new Subject.Builder(getSecurityManager()) .principals(new SimplePrincipalCollection(Username, RealmName)) .authenticated(true) .buildSubject(); MockEndpoint OutEndpoint = getMockEndpoint(mock.out); OutEndpoint.expectedMessageCount(1); Endpoint InEndpoint = context.getEndpoint(direct.in); MapString, Object headers = new HashMapString, Object(); headers.put(Exchange.HTTP_METHOD, GET); headers.put(Exchange.AUTHENTICATION, subjectUnderTest); template.sendBodyAndHeaders(InEndpoint, test body, headers); Thanks Viggy -- View this message in context: http://camel.465427.n5.nabble.com/Invoking-an-application-secured-with-Apache-shiro-tp5746737.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: disabeling loadStatistics
Hi Claus No there is no other app where jmxAgent on purpose is set with createConnector, but there is a lot of different versions of camel deployed, they might create a jmxAgent by default ? The only time the jmxAgent is used are on the new apps. where we want to disable loadStatistics, and here I have only used lt;jmxAgent id=quot;agentquot; loadStatisticsEnabled=quot;falsequot;/, that might create the connector and register it every time it is declared in different CamelContext's ? -- View this message in context: http://camel.465427.n5.nabble.com/disabeling-loadStatistics-tp5746709p5746739.html Sent from the Camel - Users mailing list archive at Nabble.com.
Dynamic DataFormat in RouteBuilder
I got a RouteBuilder processing Jaxb messages. The SoapJaxbDataFormat in this example is set to a fixed jaxbPackage and elementNameStrategy. Is it possible to dynamically create the SoapJaxbDataFormat based on the Exchange, so the jaxbPackage and elementNameStrategy are instanciated based on the in object? public void configure() throws Exception { String jaxbPackage = ListOfCurrenciesByName.class.getPackage().getName(); ElementNameStrategy elementNameStrategy = new ServiceInterfaceStrategy(CountryInfoServiceSoapType.class, true); SoapJaxbDataFormat soapJaxbDataFormat = new SoapJaxbDataFormat(jaxbPackage, elementNameStrategy); soapJaxbDataFormat.setFragment(true); String WS_URI = http://localhost:/websamples.countryinfo/CountryInfoService.wso;; from(direct:countryInfo) .marshal(soapJaxbDataFormat) .setHeader(CacheConstants.CACHE_OPERATION, constant(CacheConstants.CACHE_OPERATION_GET)) .setHeader(CacheConstants.CACHE_KEY, body()) .to(cache://TestCache1) .choice().when(header(CacheConstants.CACHE_ELEMENT_WAS_FOUND).isNull()) .setHeader(CacheConstants.CACHE_KEY, body()) .setHeader(Exchange.HTTP_METHOD, constant(POST)) .setHeader(Exchange.CONTENT_TYPE, constant(text/xml)) .setHeader(Exchange.CONTENT_ENCODING, constant(utf-8)) .to(WS_URI) .unmarshal(soapJaxbDataFormat) .setHeader(CacheConstants.CACHE_OPERATION, constant(CacheConstants.CACHE_OPERATION_ADD)) .to(cache://TestCache1) .end(); } -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-DataFormat-in-RouteBuilder-tp5746738.html Sent from the Camel - Users mailing list archive at Nabble.com.
release date for either 2.12.3 or 2.13.0
Hi, Can anyone tell me when either of these planned releases (2.12.3, 2.13.0) will be happening? We¹re affected by the memory leak in the BacklogTracer and just need to know how long it will be before a fix is released. https://issues.apache.org/jira/browse/CAMEL-7062 Thanks, Jack
Re: Apache camel guaranteed delivery - multiple endpoints
The question was not about how to filter out duplicates on the consumer. Our code already implements idempotentConsumer when the consumer cannot tolerate duplicates. The heart of the question is in preventing duplicates from being sent when using a guaranteed delivery pattern. -- View this message in context: http://camel.465427.n5.nabble.com/Apache-camel-guaranteed-delivery-multiple-endpoints-tp5746503p5746743.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Quartz in cluster
There is also scheduled route policy http://camel.apache.org/routepolicy http://camel.apache.org/scheduledroutepolicy.html On Mon, Feb 3, 2014 at 3:52 PM, Tom Fornoville tom.fornovi...@roots.be wrote: Thanks Claus Ronny! Since we're using JBoss Fuse 6.0 we cannot use camel 2.12 features yet (waiting on the 6.1 release). If I understand correctly once we upgrade we can specify our route like this (provided that the quartz scheduler was configured to use a jbdc-jobstore): from urisftp://{{user}}@{{server}}?password={{password}}amp;scheduler=quartz2scheduler.cron=...; / The pollEnrich seems to be a solution also but since we're expecting Fuse 6. any day now I'd like to give that a try first. I'll let you know how it goes. Kind regards, Tom Tom Fornoville Senior Developer m: +32 478 65 86 51 www.roots.be On Mon, Feb 3, 2014 at 3:31 PM, Ronny Aerts ronny.ae...@intris.be wrote: Hello Tom, Could the pollEnrich help you? from uri=quartz:... / pollEnrich uri=sftp://{{user}}@{{server}}?password={{password}}/ -- Kind regards, Ronny Aerts - Intris nv - Wapenstilstandlaan 47, 2600 Berchem, Belgium RD Integration Architect Prince II certified Tel: +32-3-326.50.75 -Original Message- From: Tom Fornoville [mailto:tom.fornovi...@roots.be] Sent: maandag 3 februari 2014 15:07 To: users@camel.apache.org Subject: Re: Quartz in cluster Hi Claus, Thanks for your answer. I read that topic earlier but it's not the configuration of Quartz I'm having problems with. What I would like to know is how I can use a quartz endpoint to trigger file pickup. Right now we have something like: route from uri=sftp://{{user}}@ {{server}}?password={{password}}amp;delay={{delay}}/ ... /route And we want to replace the delay with a Quartz scheduler so it should be something like: route from uri=quartz:... / from uri=sftp://{{user}}@{{server}}?password={{password}}/ ... /route The second from doesn't make sense but I don't know how to describe what I want this route to do. Tom Fornoville Senior Developer m: +32 478 65 86 51 www.roots.be On Mon, Feb 3, 2014 at 2:52 PM, Claus Ibsen claus.ib...@gmail.com wrote: Hi A similar topic was recently debated http://camel.465427.n5.nabble.com/Master-Slave-failover-using-database -lock-tp5746646.html On Mon, Feb 3, 2014 at 2:46 PM, Tom Fornoville tom.fornovi...@roots.be wrote: Hello Camel users, In our project we have several routes that start from a file (local filesystem or FTP) and when we're clustering this via Fuse Fabric we want to ensure that only one instance of the route picks up files. Our first thought was to use the Quartz scheduler with a JDBC-JobStore as described here: http://quartz-scheduler.org/documentation/quartz-2.x/configuration/Con figJDBCJobStoreClustering Is there an example of a working JDBC-JobStore from within Camel? Are there other (simpler) solutions to make sure that multiple routes don't interfere? Best regards, Tom -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io Intris nv Wapenstilstandlaan 47 B-2600 Berchem Tel. +32 3 326 50 75 Fax +32 3 326 42 23 www.intris.behttp://www.intris.be/ DISCLAIMER This is an e-mail from Intris. The information contained in this communication is intended solely for use by the individual or entity to whom it is addressed. Use of this communication by others is prohibited. If the e-mail message was sent to you by mistake, please notify supp...@intris.bemailto: supp...@intris.be, destroy it without reading, using, copying or disclosing its contents to any other person. We accept no liability for damage related to data and/or documents which are communicated by electronic mail. -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
Re: can I set a message header or exchange property inside an xslt?
Hi You likely can. Though I can remember how that is possible. Try look at the unit tests https://github.com/apache/camel/tree/master/camel-core/src/test/java/org/apache/camel/component/xslt And we love contributions. People is welcome to add details on the xslt docs how to do this http://camel.apache.org/contributing On Mon, Feb 3, 2014 at 3:16 PM, Ronny Aerts ronny.ae...@intris.be wrote: Hello camel community, I'm working on a project where it would be very handy to me if I can set a message header or exchange property inside the execution of an xslt producer. Is this possible? I know that the exchange and in are passed as parameter to the transformation. -- Kind regards, Ronny Aertsmailto:ronny.ae...@intris.be - Intris nv - Wapenstilstandlaan 47, 2600 Berchem, Belgium RD Integration Architect Prince II certified Tel: +32-3-326.50.75 Intris nv Wapenstilstandlaan 47 B-2600 Berchem Tel. +32 3 326 50 75 Fax +32 3 326 42 23 www.intris.behttp://www.intris.be/ DISCLAIMER This is an e-mail from Intris. The information contained in this communication is intended solely for use by the individual or entity to whom it is addressed. Use of this communication by others is prohibited. If the e-mail message was sent to you by mistake, please notify supp...@intris.bemailto:supp...@intris.be, destroy it without reading, using, copying or disclosing its contents to any other person. We accept no liability for damage related to data and/or documents which are communicated by electronic mail. -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
Camel SEDA Queues performance query
Hi I have a route which returns messages from a DB call. It processes the messages and then places them on 2 different SEDA Queues. I have 2 additional routes which consumes the messages of the said queues and processes them. These 3 routes run very quickly( 10ms). However, I have a 4th route which transmits message to an external Rest Endpoint. I use a sticky loadbalancer with 10 seda queues to reduce the time to transmit the message. If the external Rest Endpoint performance begins to degrade the 3 routes mentioned in previous paragraph begin to degrade also. I am trying to understand why the poor performing external Rest Endpoint is resulting in poor performance in the 3 routes(1-3). I am wondering is it possible that the seda queues which are used in the loadbalancer for the transmission to the REST endpoint is sharing the same threadpool with the 3 routes above. Thanks in advance Joe -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SEDA-Queues-performance-query-tp5746750.html Sent from the Camel - Users mailing list archive at Nabble.com.
JMS Component Query
Hi I have a route which is placing messages on to a JMS Queue. The JMS Message Type is ObjectMessage. Rather than having the IN Message Type implement Serializable is there any way in the DSL that I can specify the JMS Message Type. The object(IN Message Type) is a Domain Object and I would prefer not to have it implement Serializable Thanks in advance Joe -- View this message in context: http://camel.465427.n5.nabble.com/JMS-Component-Query-tp5746751.html Sent from the Camel - Users mailing list archive at Nabble.com.
Here we go again
I have more questions ...
Can Camel run Esper with parallelProcessing?
I have recently started using Camel with Esper. I know from the documentation that some Camel patterns, like Multicast, for example, can be run using the `parallelProcessing` method, which creates a pool of 10 threads to run that pattern by default. After reading the [camel / esper page](http://camel.apache.org/esper.html) I did not see anything about using Esper in Camel with parallelProcessing. My question is, can I run Esper in Camel using some sort of parallel processing? If yes how? -- View this message in context: http://camel.465427.n5.nabble.com/Can-Camel-run-Esper-with-parallelProcessing-tp5746754.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Using from(direct:...) to initiate file download -- how to prevent subsequent from()s in the from auto-launching?
Hi, The modified route definition is given below. from(direct:invokeScript) .to(ssh://user:pwd@myurl:22?delay=100pollCommand= + shellCommand) We have to send the set of commands in exchange body to ssh camel component(producer endpoint). Referhttp://camel.apache.org/ssh.html for more information. -- View this message in context: http://camel.465427.n5.nabble.com/Using-from-direct-to-initiate-file-download-how-to-prevent-subsequent-from-s-in-the-from-auto-launch-tp5746748p5746755.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Deploying REST service on running camel:jetty instance
I'm planning to bundle each services in separate wars and will deploy them on jetty's hot deployment directory. Thank all for your assistance! Regards, Bijoy -- View this message in context: http://camel.465427.n5.nabble.com/Deploying-REST-service-on-running-camel-jetty-instance-tp5746625p5746756.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: can I set a message header or exchange property inside an xslt?
You can get the header as a xsl:param in the like - xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:output method=xml version=1.0 encoding=UTF-8 indent=yes / xsl:param name=myheaderparam/ . and then do xsl:value-of select=$myheaderparam/ in the transformation -- View this message in context: http://camel.465427.n5.nabble.com/can-I-set-a-message-header-or-exchange-property-inside-an-xslt-tp5746730p5746757.html Sent from the Camel - Users mailing list archive at Nabble.com.
Best practice for checking method exists on class when building route?
Hi all, In our camel routes we sometimes set header values dynamically, by doing something like the following: .setHeader(SOME_HEADER_NAME).method(SomeClass.class, SOME_METHOD_SIGNATURE_STRING) Ideally, we'd like to able to validate that the method specified by the signature SOME_METHOD_SIGNATURE_STRING actually exists on SomeClass.class *before* the route tries to invoke it at runtime and we potentially get a runtime exception. ideally, this validation should happen at compile time or at least on route initialization. What's the current camel best practice here to minimize possible runtime exceptions if the signature string is incorrect? I imagine somewhere internally camel is parsing SOME_METHOD_SIGNATURE_STRING and using reflection to do the method lookup based on the signature. Is that something currently exposed by the api that we can leverage? Is there a better way to do this? Thanks! -e -- View this message in context: http://camel.465427.n5.nabble.com/Best-practice-for-checking-method-exists-on-class-when-building-route-tp5746752.html Sent from the Camel - Users mailing list archive at Nabble.com.
Using from(direct:...) to initiate file download -- how to prevent subsequent from()s in the from auto-launching?
Here's a simplified flow. When the from(direct:...) gets invoked, it executes a remote shell script. I ONLY want the ssh script invoked when direct:invokeScript is invoked. However, when I start the camelContext, the from(ssh:...) gets invoked. If the camelContext includes a jetty component (i.e., one that keeps alive), then the from(ssh:...) gets invoked over and over and over. from(direct:invokeScript) .from(ssh://user:pwd@myurl:22?delay=100pollCommand= + shellCommand) So question 1 is: how do i write this simple flow so that from(ssh:...) is ONLY invoked when the from(direct:invokeScript) gets invoked? Here's another (simplified) flow that has the same problem. from(direct:ftpModel) .from(ftp://user@someUrl//usr/lib/mahout/freqfeatures/output/frequentpatterns?password=pwdfileName=part-r-0;) .to(file://C:/Users/blah?noop=true) thanks. -- View this message in context: http://camel.465427.n5.nabble.com/Using-from-direct-to-initiate-file-download-how-to-prevent-subsequent-from-s-in-the-from-auto-launch-tp5746748.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: JMS Component Query
There is the jmsMessageType option you can set on the jms endpoint http://camel.apache.org/jms On Mon, Feb 3, 2014 at 11:36 PM, gilboy josephoto...@gmail.com wrote: Hi I have a route which is placing messages on to a JMS Queue. The JMS Message Type is ObjectMessage. Rather than having the IN Message Type implement Serializable is there any way in the DSL that I can specify the JMS Message Type. The object(IN Message Type) is a Domain Object and I would prefer not to have it implement Serializable Thanks in advance Joe -- View this message in context: http://camel.465427.n5.nabble.com/JMS-Component-Query-tp5746751.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io