RE: Camel: How to stop a route temporarily?

2014-03-26 Thread doug5791
I am using this link: (http://camel.465427.n5.nabble.com/ProducerTemplate-for-sending-mails-with-attachements-td5605511.html) as a reference to create a new exchange in my processor and send that exchange to an endpoint. However, the Exchange stops at that endpoint and does not continue -even to

Re: Came DSL ( Spring Routes ) on Tomcat (insted of Servicemix )

2014-03-26 Thread N.S.KARTHIK
Hi >>No its just standard WAR deployment for Tomcat or any other JEE web container. I need to hide all my "Camel DSL Spring XML/Java" Routes in a Jar file. This jar file would be part of the /WEB-INF/lib/Route-X.jar as standards of Web contaner specifications. Question : How different is th

File Consumer getting blocked

2014-03-26 Thread paulc8712
Hi. I have a file consumer that intermittently gets 'blocked'. There is a file in the directory, and the route has 1 'inflight' message but it never clears. I typically also see a .lock file who's time-stamp does increase. It seems to me that it is waiting for the file write to be completed. My

WSS4JInInterceptor: The signature or decryption was invalid

2014-03-26 Thread chaij
I got this exception on the Camel CXF endpoint SOAP service side when try to add action "Signature" to the WSS4J interceptor. A search on the web gives me this link: http://stackoverflow.com/questions/21492255/cxf-client-ws-security-mtom-trouble By disabling MTOM, it did resolve the problem. Is th

Re: Karaf 3 camel : waiting for namespace handlers

2014-03-26 Thread Lydie
So I was able to run this simple cmale context by adding: but I still have an issue with this more complicated camel-context: http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://camel.apache.org

Karaf 3 camel : waiting for namespace handlers

2014-03-26 Thread Lydie
Hello, I am trying to run a simple camel example in Karaf 3 Here is my camel-context that I deployed in Karaf 3 : http://www.osgi.org/xmlns/blueprint/v1.0.0";> http://camel.apache.org/schema/blueprint"; id="simple"> Hello World

Re: HOW TO convert SOAPMessage to POJO

2014-03-26 Thread Daniel Kulp
You would need to capture the SOAP message (wireshark or use the logging interceptors) and double check that the SOAP message matches what you have configured for the WSS4JInInterceptor. Another suggestion is to subclass the WSS4JInInterceptor and override the method: protected boolean checkR

Re: HOW TO convert SOAPMessage to POJO

2014-03-26 Thread chaij
Dan - Your response has been very helpful and concrete enough for me to follow through. Really appreciate. I am relatively new to Camel.. has a lot to learn. I am facing the following issues when use CXF Endpoint POJO mode with WSS4J interceptors for security related processing. Please see this

Re: camel route enable/disable based on configuration

2014-03-26 Thread chaij
Thanks! I also found another solution that may benefit other people. Use the route autoStartup attribute to control whether or not to start a route. The attribute value can use a property that will be configured at startup time. -- View this message in context: http://camel.465427.n5.nabble.c

Re: HOW TO convert SOAPMessage to POJO

2014-03-26 Thread Daniel Kulp
On Mar 26, 2014, at 8:00 AM, chaij wrote: > I use CXF endpoint in CXF_MESSAGE format. The incoming message body is type > of SOAPMessage. > > This request is wsdl first approach and I have access to all the wsdl2java > generated classes. I wonder if there is an easy way to convert this message

HOW TO convert SOAPMessage to POJO

2014-03-26 Thread chaij
I use CXF endpoint in CXF_MESSAGE format. The incoming message body is type of SOAPMessage. This request is wsdl first approach and I have access to all the wsdl2java generated classes. I wonder if there is an easy way to convert this message to POJO? Camel must be doing it since that is behavior

Re: Gemini-blueprint feature in Karaf 3

2014-03-26 Thread Charlie Mordant
Hi, I'm also on karaf UL... You've to add Spring EBR (Enterprise Bundle Repository) on your Karaf repo list. Have a nice day! 2014-03-26 11:19 GMT+01:00 Matthieu Vincent : > Oups sorry. Both list in contacts, mischosen. > Hi > > I suggest to post this on the Apache Karaf user mailing list. > >

Re: http4 component to convert ANY page encoding into UTF-8

2014-03-26 Thread gutsal.arsen
It does not work for me. I've already explained on SO: http://stackoverflow.com/questions/21572806/camel-how-to-predict-http-charchester-encoding-when-doing-conversion Could you please reply there or here (don't use camel mailing list often, using nabble). -- View this message in context: http

Re: Gemini-blueprint feature in Karaf 3

2014-03-26 Thread Matthieu Vincent
Oups sorry. Both list in contacts, mischosen. Hi I suggest to post this on the Apache Karaf user mailing list. On Wed, Mar 26, 2014 at 9:56 AM, Matthieu Vincent wrote: > Hi > > I'm currently trying to install the gemini-blueprint on my newly > installed Karaf 3 instance but I get the following

Re: Came DSL ( Spring Routes ) on Tomcat (insted of Servicemix )

2014-03-26 Thread Claus Ibsen
On Wed, Mar 26, 2014 at 8:39 AM, N.S.KARTHIK wrote: > Hi > > On Tomcat the "Camel DSL-Spring / java Routes" will be part of the war as > "WEB-INF/lib" as jar file and > > within the war in "/WEB-INF/applicationContext.xml" file declaring a > > > to scan all of the Jars from local context to

Re: Gemini-blueprint feature in Karaf 3

2014-03-26 Thread Claus Ibsen
Hi I suggest to post this on the Apache Karaf user mailing list. On Wed, Mar 26, 2014 at 9:56 AM, Matthieu Vincent wrote: > Hi > > I'm currently trying to install the gemini-blueprint on my newly > installed Karaf 3 instance but I get the following error : > > Error executing command: Error re

Gemini-blueprint feature in Karaf 3

2014-03-26 Thread Matthieu Vincent
Hi I'm currently trying to install the gemini-blueprint on my newly installed Karaf 3 instance but I get the following error : Error executing command: Error resolving artifact org.springframework:org.spring framework.core:jar:3.2.4.RELEASE: Could not find artifact org.springframework:or g.spri

Odette FTP Camel component

2014-03-26 Thread Laurentiu Trica
Hello, Did anyone use the Odette FTP Camel component? http://accord.ow2.org/odetteftp/camel.html It's official new source repository seems to be on Github: https://github.com/rmarins/accord I'm trying to get it to work with Camel 9 here: https://github.com/tricasoft/accord I have issues sending

Re: Apache Karaf and camel-fop

2014-03-26 Thread Laurentiu Trica
Hi Richard, I did install Camel Fop using the Camel features command in Service Mix: features:install camel-fop And then I manually installed the Apache XMLGraphics bundle and Commons.io because otherwise the route would complain about the missing dependencies. I don't get this: installing using

Re: Came DSL ( Spring Routes ) on Tomcat (insted of Servicemix )

2014-03-26 Thread N.S.KARTHIK
Hi On Tomcat the "Camel DSL-Spring / java Routes" will be part of the war as "WEB-INF/lib" as jar file and within the war in "/WEB-INF/applicationContext.xml" file declaring a to scan all of the Jars from local context to process. Finally For Tomcat deployment 1) Would the OSGI with

Re: Came DSL ( Spring Routes ) on Tomcat (insted of Servicemix )

2014-03-26 Thread Claus Ibsen
On Wed, Mar 26, 2014 at 8:13 AM, N.S.KARTHIK wrote: > Hi > > Thx for the qk reply. > > *>>Could a bunch of "Camel Routes" be part of WEB-INF/lib/jar"* > > I would prefer to use "DSL Spring & java " based routes. > > Are there any Specific packaging structure changes for deployment in TOMCAT > ,

Re: Came DSL ( Spring Routes ) on Tomcat (insted of Servicemix )

2014-03-26 Thread N.S.KARTHIK
Hi Thx for the qk reply. *>>Could a bunch of "Camel Routes" be part of WEB-INF/lib/jar"* I would prefer to use "DSL Spring & java " based routes. Are there any Specific packaging structure changes for deployment in TOMCAT , Compared to packaging for servicemix techniques. with regards Kar