Re: JMS Component Query

2014-02-03 Thread Claus Ibsen
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 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 implem

Using from("direct:...) to initiate file download -- how to prevent subsequent from()s in the from auto-launching?

2014-02-03 Thread mister blinky
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

Best practice for checking method exists on class when building route?

2014-02-03 Thread toomanyedwards
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_SIGNATU

Re: can I set a message header or exchange property inside an xslt?

2014-02-03 Thread Preben.Asmussen
You can get the header as a xsl:param in the like -> http://www.w3.org/1999/XSL/Transform";> . and then do 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 S

Re: Deploying REST service on running camel:jetty instance

2014-02-03 Thread bijoy
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-tp5746625p574

Re: Using from("direct:...) to initiate file download -- how to prevent subsequent from()s in the from auto-launching?

2014-02-03 Thread pradeep
Hi, The modified route definition is given below. from("direct:invokeScript") .to("ssh://user:pwd@myurl:22?delay=100&pollCommand=" + shellCommand) We have to send the set of commands in exchange body to ssh camel component(producer endpoint). Referhttp://camel.apache.org/ssh

Can Camel run Esper with parallelProcessing?

2014-02-03 Thread pmp.martins
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://c

Here we go again

2014-02-03 Thread Pedro Martins
I have more questions ...

JMS Component Query

2014-02-03 Thread gilboy
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 pref

Camel SEDA Queues performance query

2014-02-03 Thread gilboy
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

Re: can I set a message header or exchange property inside an xslt?

2014-02-03 Thread Claus Ibsen
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.

Re: Quartz in cluster

2014-02-03 Thread Claus Ibsen
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 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

Re: Apache camel guaranteed delivery - multiple endpoints

2014-02-03 Thread MichaelAtSAG
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 mes

release date for either 2.12.3 or 2.13.0

2014-02-03 Thread Jack
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

Dynamic DataFormat in RouteBuilder

2014-02-03 Thread movees
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

Re: disabeling loadStatistics

2014-02-03 Thread Preben.Asmussen
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 , that might create the connector and register it every time it is declared in different

Invoking an application secured with Apache shiro

2014-02-03 Thread vigneshmk
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

Re: Quartz in cluster

2014-02-03 Thread Tom Fornoville
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): ftp://{{user}}@{{s

RE: Quartz in cluster

2014-02-03 Thread Ronny Aerts
Hello Tom, Could the pollEnrich help you? ftp://{{user}}@{{server}}?password={{password}}"/> -- Kind regards, Ronny Aerts - Intris nv - Wapenstilstandlaan 47, 2600 Berchem, Belgium R&D Integration Architect Prince II certified Tel: +32-3-326.50.75 -Original Message- From: Tom Fornoville

Re: Quartz in cluster

2014-02-03 Thread Claus Ibsen
>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 wrote: > Hi Claus, > > Thanks for your answer. > I read that topic earlier but it's not the configuration of Quartz I'm > h

can I set a message header or exchange property inside an xslt?

2014-02-03 Thread Ronny Aerts
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,

Re: Quartz in cluster

2014-02-03 Thread Tom Fornoville
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: ftp://{{user}}@ {{server}}?password={{pas

Re: Apache Camel Training

2014-02-03 Thread Claus Ibsen
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 wrote: > Hi, > > Is there any on-site or over-the-web Apache Camel training available apart > from the one offered by F

Re: Quartz in cluster

2014-02-03 Thread Claus Ibsen
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 wrote: > Hello Camel users, > > In our project we have several routes that start from a file (local > filesystem or FT

Apache Camel Training

2014-02-03 Thread Rosen Spasov
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 mess

Quartz in cluster

2014-02-03 Thread Tom Fornoville
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

Re: disabeling loadStatistics

2014-02-03 Thread Claus Ibsen
Hi Do you have other apps in the same JVM where you have set . As it sounds like a 2nd connector is being attempted created. On Mon, Feb 3, 2014 at 12:41 PM, Preben.Asmussen wrote: > In order to disable loadStatistics (to get rid of the ManagementLoadTask > thread) I have set the -> > > http://c

disabeling loadStatistics

2014-02-03 Thread Preben.Asmussen
In order to disable loadStatistics (to get rid of the ManagementLoadTask thread) I have set the -> http://camel.apache.org/schema/spring";> ... 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

Re: Camel One Conference

2014-02-03 Thread Rosen Spasov
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.

Re: Problem with tracing streams (and stream caching)

2014-02-03 Thread Joni Nousiainen
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 C

Re: Camel One Conference

2014-02-03 Thread Charles Moulliard
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 app

Re: Camel One Conference

2014-02-03 Thread Claus Ibsen
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 happe

Camel One Conference

2014-02-03 Thread Rosen Spasov
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, Ro