Re: New to Camel, adding smtp completion notification using XML DSL

2014-11-14 Thread Pontus Ullgren
Hi, Simply set the body to the content you want in the email. Something like this (pseudo code that is not tested) should do it setBody simpleFile ${in.header.CamelFileName} has been processed/simple /setBody // Pontus On Thu, Nov 13, 2014 at 4:29 PM, fidoedidoe

Camel-swagger does not support query parameters?

2014-11-14 Thread Liliana.Neagul
Hi, I'm trying to use Rest DSL for generating documentation for swagger. Do you know how to add a description for every parameter from URI, or how can I use query parameters? like: http://host/resource?*limit*=100 (where limit, is considered query parameter). I found a Jira issue that

Re: Problem with REST DSL (2.14.0) and String bean

2014-11-14 Thread Vaïsse-Lesteven Arthur
Thanks to a teammate, I finally understood the error. Problem really come from the definition of a java.lang.String bean in the camel context. When putting bean id=source class=java.lang.Stringconstructor-arg type=java.lang.String value=file:/opt/a/directory/data/audio //bean in the camel context

Re: XmlSecurity Endpoint: Adding KeyValue as KeyInfo child in signature

2014-11-14 Thread Franz Paul Forsthofer
Hello Gonzalo Vàsquez, KeyValue: PublicKey key = cert.getPublicKey(); KeyValue keyInfoFactory.newKeyValue(key); ListObject keyInfoContent = new ArrayListObject(1)); if (keyValue != null) { keyInfoContent.add(keyValue); } KeyInfo

Re: Error while deploying camel proxy in tomcat

2014-11-14 Thread Royamit
Thnaks for the help Willem Is there any way to close the spring application before redeploying the camel proxy service? And how can i do the aforesaid. -- View this message in context: http://camel.465427.n5.nabble.com/Error-while-deploying-camel-proxy-in-tomcat-tp5758987p5759103.html

Re: Support for CXF dispatch api in the latest release of camel

2014-11-14 Thread Aki Yoshida
I am not still sure what you mean by using the dispatch API in camel. Willem already answered to your question and I am adding a few info. The actual dispatching part (i.e., sending out a generic message) is there in Camel. The message constructing part isn't there because in camel, you

Re: New to Camel, adding smtp completion notification using XML DSL

2014-11-14 Thread fidoedidoe
Many thanks for the reply Pontus! Your advice has got me over the hurdle - most appreciated. -- View this message in context: http://camel.465427.n5.nabble.com/New-to-Camel-adding-smtp-completion-notification-using-XML-DSL-tp5759060p5759113.html Sent from the Camel - Users mailing list

How to remove Sequential processing failed for number ... from soap fault.

2014-11-14 Thread Frankiboy
I want to give this back in my soap fault: Endpoint don't exist in property files Unique log number: 1c291263-a2a1-4505-bcc3-efbc260b29a5 I get this: Sequential processing failed for number 1. Exchange[Message: [Body is null]]. Caused by:

log exceptions in DeadLetterChannel error handler

2014-11-14 Thread Marco Westermann
Hi all, if I have a route like this: from(timer..) .bean(MyBean.class, test) If I deploy that to servicemix and there is an exception in the MyBean class, I get an exception stack trace in servicemix.log. But if I add a global error handler like this:

CXF - Error starting route with CXF endpoint

2014-11-14 Thread contactreji
Hey I get following exception while starting my route with CXF. I guess my project was executing fine till 2 days back. But today I have this issue. *Error occurred while running main from: org.apache.camel.spring.Main java.lang.reflect.InvocationTargetException at

MongoDB: Persistent tail tracking with concurrent tailable consumers

2014-11-14 Thread jpeschke
Hello, I observe a very strange behaviour with concurrent tailable consumers and persistent tail tracking. Perhaps you have an idea: Scenario: - A MongoDB Replicaset of 3 servers, running MongoDB 2.4.11 - 2 camel servers (tomcat7 with Sun JDK, Camel 2.13.1) - On each server, 5 tailable cursor

RoutingSlip ControlBus creates new Threads

2014-11-14 Thread Robin.Lutter
Hello, in our application we stop routes after execution and start them again with controlbus. During runtime, the thread count increases continuously with each invocation. We have some consumer routes (ftp, jcifs, file) which should be event based activated and deactivated after batch

Re: Using custom MDC values with Camel

2014-11-14 Thread James Murphy
Joni Nousiainen joni.nousiainen@... writes: Thank you for your answer! I'll look into creating a custom UoW factory. Also, I will follow the JIRA issue (CAMEL-7444) for future updates. BR, Joni Hi Joni, How did you get on with this? I'm looking into something very similar

Re: Problem with REST DSL (2.14.0) and String bean

2014-11-14 Thread Taariq Levack
Thought it would be weird to be jaxb versions in camel components. Glad you found it, thanks for sharing your fix as well. On Fri, Nov 14, 2014 at 11:36 AM, Vaïsse-Lesteven Arthur arthurvai...@yahoo.fr wrote: Thanks to a teammate, I finally understood the error. Problem really come from the

Re: camel xmljson add @ signs to the json output. how to remove the @ signs

2014-11-14 Thread salemi
where can I find the source code for this? - Alireza Salemi -- View this message in context: http://camel.465427.n5.nabble.com/camel-xmljson-add-signs-to-the-json-output-how-to-remove-the-signs-tp5759013p5759147.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: log exceptions in DeadLetterChannel error handler

2014-11-14 Thread Claus Ibsen
There is plenty of options on deadLetterChannel to configure logging exhausted and whatnot. Try to thinker with those. On Fri, Nov 14, 2014 at 1:11 PM, Marco Westermann marwesterm...@gmx.de wrote: Hi all, if I have a route like this: from(timer..) .bean(MyBean.class, test) If I

Re: camel xmljson add @ signs to the json output. how to remove the @ signs

2014-11-14 Thread Claus Ibsen
Hi See http://camel.apache.org/source.html Though if you are familiar with github you can also find it there. Which IMHO is much easier https://github.com/apache/camel And the component is here https://github.com/apache/camel/tree/master/components/camel-xmljson On Fri, Nov 14, 2014 at 6:12

Route policy for clustered servicemix/camel based on hazelcast locks

2014-11-14 Thread bishap
Hello everyone, I’m new to camel and I’m trying to develop a route policy that insures a single instance execution of a route in a clustered servicemix /camel. The policy will be used for endpoints that don’t manage concurrent access such as IMAP. For the policy I opted for a lock mechanism

Re: XmlSecurity Endpoint: Adding KeyValue as KeyInfo child in signature

2014-11-14 Thread Colm O hEigeartaigh
Line breaks: Here I have no solution. The component uses Apache Santuario or the JSR105 implementation of the JRE. Mybe you can find more information in the Santuario spec. Line breaks are controlled by the System property org.apache.xml.security.ignoreLineBreaks. So if you want to add line

Re: XmlSecurity Endpoint: Adding KeyValue as KeyInfo child in signature

2014-11-14 Thread Gonzalo Vasquez
nice to know, thanks! Gonzalo Vásquez Sáez Gerente Investigación y Desarrollo (RD) Altiuz Soluciones Tecnológicas de Negocios Ltda. Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099 +56 2 335 2461 gvasq...@altiuz.cl http://www.altiuz.cl http://www.altiuzreports.com El 14-11-2014, a las

Re: CXF webservice deployment on glassfish

2014-11-14 Thread sab12in
Hi, I have both cxf-rt-transports-http,cxf-rt-transports-http-jetty jar and now i get the following exception. Exception while deploying the app [camel-example-reportincident-2.14.0] : The lifecycle method [finalizeConfig] must not throw a checked exception. Related annotation information:

Re: Wiretap adds exchanges to MockEndpoint used in NotifyBuilder expression.

2014-11-14 Thread wjmcdonald
OK. I guess I was thinking about it such that a wiretap is like a tee where the new exchange isn't part of the current route, so I didn't expect it to end up in the mock for the route. I worked around it by using a filter. Something like: NotifyBuilder notify = new NotifyBuilder(context)

Re: Best way to discard changes made to Exchange by invoked route

2014-11-14 Thread Camel Guy
Follow up... I discovered that enrich etc. hide property removal but not property modification. So after switching over to properties, which I think is better (with the exception that there is no removeProperties in Spring XML), only split does what I need. ~cg On Tuesday, November 11, 2014,

Re: CXF - Error starting route with CXF endpoint

2014-11-14 Thread Willem Jiang
Can you double check if you start the CXF endpoint twice? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 14, 2014 at 8:53:33 PM, contactreji