Reading queunames from database to camelcontext.xml

2014-09-19 Thread trilochan237
Hi All, Is it possible to pass queuenames to camelcontext.xml file at runtime by fetching from database? -- View this message in context: http://camel.465427.n5.nabble.com/Reading-queunames-from-database-to-camelcontext-xml-tp5756730.html Sent from the Camel - Users mailing list archive at

Re: Reading queunames from database to camelcontext.xml

2014-09-19 Thread Pontus Ullgren
You can use a custom processor or the content enrich[1] EIP to fetch the queuename from the database and set the CamelJmsDestinationName header. There is a small example in the JMS component[2] documentation. As an alternative you can populate a header (as above) and then use the recipient

Re: please help with transformation of a response by xslt

2014-09-19 Thread Henrique Viecili
After the xsl transformation, try to convert the body again to String. Henrique Viecili On 19 September 2014 10:16, aioria3077 aioria3...@gmail.com wrote: *have a original Web Services, a proxy which has a transformation because you need to add data authentication, the request works fine,

Re: Jetty continuation timeout ignored in Karaf

2014-09-19 Thread Claus Ibsen
Hi Have you tried outside Karaf first, eg just a plain java standalone. On Thu, Sep 18, 2014 at 3:02 PM, rsteppac2 r...@steppacher.name wrote: Hello all, I am experimenting with Camel (2.13.2) routes using Karaf (2.3.7) as the runtime. I encountered a problem with Jetty continuation

Re: Jetty continuation timeout ignored in Karaf

2014-09-19 Thread rsteppac2
Claus, Claus Ibsen-2 wrote Have you tried outside Karaf first, eg just a plain java standalone. thank you for asking the obvious question. It did not work outside Karaf either. For the simple fact that I forgot to make it an async route by means of the threads-DSL. Sorry for the noise! Ralf

No EJB receiver available for handling

2014-09-19 Thread Arthanarisamy Annamalai
Hi, I am invoking an EJB which is deployed in Jboss jboss-as-7.1.1.Final. Below is piece of code i am using to invoke and EJB. private void sendRequest() { String camelID = jbossejb; Exchange furExchange = null; Message msg = null;

Re: Handling ProducerTemplate Timeout + EJB

2014-09-19 Thread Arthanarisamy Annamalai
Hi Willem Jiang, First of all thanks a lot for your reply and which gave me some insight on ProducerTemplate threads in waiting state. I have one more issue. I am invoking an EJB which is deployed in Jboss jboss-as-7.1.1.Final. Below is piece of code i am using to invoke and EJB. private

Problems prettyPrinting JSON after camel 2.14.0 upgrade

2014-09-19 Thread David Karlsen
With the config: camel:unmarshal camel:json prettyPrint=true library=Jackson / /camel:unmarshal I get: .. because of Failed to set property: prettyPrint on: org.apache.camel.component.jackson.JacksonDataFormat@77ab22be. Reason: java.lang.IllegalArgumentException:

Re: Camel split tokenizer does not identify malformed xml

2014-09-19 Thread Aki Yoshida
Hi, For 2.12,x, you would need to insert some filter processor in your route. For example, you can insert an identity StAX transformer (i.e., just read each event and forward it to the user without any transformation) in your route so that the wellformedness is checked while the data is read by

Reuse onException handler

2014-09-19 Thread Andrei Stoica
Hello, I have the following route: onException(ConnectException.class) .handled(true) .process(new GlobalExceptionProcessor()) .to(jms:topic:responseTopic);

Re: please help with transformation of a response by xslt

2014-09-19 Thread aioria3077
*thanks for replying, really like right before calling xsl transformer, I have this line* * convertBodyTo type=java.lang.String /* to uri=xslt:xslt/ClubPremier/response.xslt / will try to put it back then see what happens. any other suggestions? -- View this message in

RE: Reuse onException handler

2014-09-19 Thread Elvio Caruana (ecaruana)
Create an abstract RouteBuilder implementation, put your onException there and have all your RouteBuilder classes extend from this one. Elvio -Original Message- From: Andrei Stoica [mailto:andrei.ionut.sto...@gmail.com] Sent: 19 September 2014 14:25 To: users@camel.apache.org Subject: