Re: how to deploy a project with a CAMEL-XSTREAM in fuse fabric container

2014-07-11 Thread Charles Moulliard
Apparently some of the bundles defined in the feature of camel-xstream have not been installed when the profile has been pushed. I suggest that you add them manually till we figure out why we have this problem mvn:org.codehaus.jettison/jettison/1.3.5 camel-core mvn:org.apache.servicem

Re: how to deploy a project with a CAMEL-XSTREAM in fuse fabric container

2014-07-11 Thread aioria3077
Thanks so much. effectively that was the bundle that I need to, this is a world of camel and fuse or say -- View this message in context: http://camel.465427.n5.nabble.com/how-to-deploy-a-project-with-a-CAMEL-XSTREAM-in-fuse-fabric-container-tp5753655p5753734.html Sent from the Camel - Users m

Re: How to check if the file waiting in enricher arrived after timeout

2014-07-11 Thread yxzhao
Yes, it works now. I thought if the file is empty, the body will be null. Apparently, there is difference between no file and empty file. Thanks for your help. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-check-if-the-file-waiting-in-enricher-arrived-after-timeout-

Re: how to deploy a project with a CAMEL-XSTREAM in fuse fabric container

2014-07-11 Thread aioria3077
I use spring-context'll get it but it is better to use blueprint I'll check the bundle mentioned by Charles Moulliard and be back to post the results, thanks -- View this message in context: http://camel.465427.n5.nabble.com/how-to-deploy-a-project-with-a-CAMEL-XSTREAM-in-fuse-fabric-containe

Camel component for integration with N4 Sparks

2014-07-11 Thread Chubutin
Hi everyone! In the past two years I integrated Jboss Fuse with Navis Sparks N4 [1]. All my services were full camel-cxf. In many opoertunities I used the Camel documentation and the opinions of all the people in this forum. I used the HTTP , XSLT, JAXB and CXF components. Now I'm trying to gene

Re: Getting entire Soap Message with header and body in Payload mode

2014-07-11 Thread ychawla
Hi Guys, Thanks for the help. I found a CXF interceptor online based off of the logging interceptor that gets the message: public SoapMessageInterceptor () { super(Phase.RECEIVE); } @Override public void handleMessage ( SoapMessage message ) throws Fault {

RE: Problem encrypting the password using Camel Jasypt component

2014-07-11 Thread Ravindra.Godbole
Hi You can check my example at the following URL. Refer route xml and mail.properties on how encrypted passwords are used. That might help. https://github.com/godbolerr/camel-example-mail/tree/master/src/main/resources -Ravi From: arvind [arvindpradha...

Re: camel-cxf proxy failed wsdl reading with local schemaLocations

2014-07-11 Thread Michael Täschner
Hi CXF Users, Camel Riders, concerning this reply: >>Hi, >>I think you need use something like catalog.xml to redirect the remove schema >>url to the local one you cached. >>- >>Freeman(Yue) Fang I have created a jax-ws-catalog.xml in /META-INF but it is not being used. As we do not

Re: Getting entire Soap Message with header and body in Payload mode

2014-07-11 Thread Matt Sicker
For situations like this, I developed a simple Camel component that uses the old SAAJ classes instead of JAX-WS. That way, you get full access to the whole XML document. Combined with XSLTs to form the request documents and working with overly complicated or non-standard SOAP services became far ea

Re: onException is not working as expected.

2014-07-11 Thread atg roxx
Hi Jiang, The mock has been defined as : -Regards, Atg roxx On Fri, Jul 11, 2014 at 1:03 PM, Willem Jiang wrote: > Hi, > > It looks like you are using some kind of MOCK API to throw the exception. > Can you show me the code how did you setup the mocked POJO bean? > -- > Wille

Re: Problem encrypting the password using Camel Jasypt component

2014-07-11 Thread Claus Ibsen
Hi See the bullets on this page what you can do yourself to help yourself http://camel.apache.org/support On Fri, Jul 11, 2014 at 1:20 PM, arvind wrote: > Any comments on this ? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Problem-encrypting-the-password-using-

Re: Problem encrypting the password using Camel Jasypt component

2014-07-11 Thread arvind
Any comments on this ? -- View this message in context: http://camel.465427.n5.nabble.com/Problem-encrypting-the-password-using-Camel-Jasypt-component-tp5753644p5753723.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: onException is not working as expected.

2014-07-11 Thread Willem Jiang
Hi, It looks like you are using some kind of MOCK API to throw the exception. Can you show me the code how did you setup the mocked POJO bean? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemj

Re: How to use a public endpoint outside of camecontext?

2014-07-11 Thread Willem Jiang
It looks like you don’t have any camel context definition inside of spring configuration file. It could cause some trouble as the endpoint need to have the reference of the camel context. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English)

Re: onException is not working as expected.

2014-07-11 Thread atg roxx
could one one please have a look and reply to it. On Tue, Jul 8, 2014 at 4:36 PM, atg roxx wrote: > Hi Team, > > I am using multicast with AggreationStrategy an also using onException on > my route. > > Happy case is working fine, > > But when there is any exception, my exception processor hand

Re: How to use a public endpoint outside of camecontext?

2014-07-11 Thread simafengyun
Hi Willem, My code like that(not the real code) *in xml: * http://camel.apache.org/schema/spring"/> http://camel.apache.org/schema/spring";> *in java: * //load spring xml final AbstractXmlApplicationContext springAppContext= new

Re: I'm having problems with the jdbc component header CamelJdbcUpdateCount

2014-07-11 Thread Claus Ibsen
Hi Thanks for reporting. I logged a ticket and fixed it https://issues.apache.org/jira/browse/CAMEL-7595 You can work around this issue be removing the CamelJdbcUpdateCount header before calling the jdbc again. On Wed, Jul 9, 2014 at 3:09 PM, brunoalcau wrote: > excuse me: > the version 2.13.2

Re: onException for multiple camelContexts

2014-07-11 Thread Claus Ibsen
Hi Yes if you use java code, then you can have a abstract base class where you setup the onException etc. And then extend this class, and call its super.configure() method. On Tue, Jul 8, 2014 at 7:15 PM, Venkatesh wrote: > Hi, > I have multiple camelContexts - each has multiple routes - we ki

Re: Camel ftp consumer ignores idempotent file repository on start

2014-07-11 Thread Claus Ibsen
Hi You maybe need to start the file idempotent repo using .start(). It should log a debug level that it loaded from the store LOG.debug("Loaded {} to the 1st level cache from idempotent filestore: {}", cache.size(), fileStore); Do you not see that debug logging ? On Wed, Jul 9, 2014 at

Re: how to deploy a project with a CAMEL-XSTREAM in fuse fabric container

2014-07-11 Thread Charles Moulliard
You will solve your issue if you add this bundle to your profile mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xpp3/1.1.4c_7 BTW, I will check if this bundle is part of the camel xstream feature definition. If this is not the case, we will add it to avoid this issue On Fri, Jul

Re: Camel-restlet : multithreading issues + can't trigger answer

2014-07-11 Thread Claus Ibsen
Hi There is the wire tap eip to fork off an independent exchange For restlet, there is maybe some way to configure it to use more threads in its pool. On Fri, Jul 11, 2014 at 10:28 AM, A577127 wrote: > Hi everyone, > > I'm using the camel-restlet component and get issues when there are too man

Camel-restlet : multithreading issues + can't trigger answer

2014-07-11 Thread A577127
Hi everyone, I'm using the camel-restlet component and get issues when there are too many connections. I have an HTTP client that creates multiple threads to send HTTP requests. However, I can't put more than 7 threads without getting problems. If I try with more than 7 threads, my camel app logs

Re: how to deploy a project with a CAMEL-XSTREAM in fuse fabric container

2014-07-11 Thread Charles Moulliard
Your problem is related to the fact that this bundle - org.apache.servicemix.bundles.xstream [131] ) is not able to find/load this class --> org.xmlpull.v1.XmlPullParserException On Fri, Jul 11, 2014 at 8:40 AM, Claus Ibsen wrote: > The xml file is that spring or blueprint? > > Favor blueprint

Problem injecting CamelContext within RouteBuilder - using guice

2014-07-11 Thread dermoritz
I created an camel standalone app that is using google guice. i am not using camel-guice (found it to late) so this is how i use it: I extended org.apache.camel.main.Main: public final class OurMain extends Main { /** * Context to be injected - contains complete setup. */ @Injec

Re: Getting entire Soap Message with header and body in Payload mode

2014-07-11 Thread Aki Yoshida
That would be one possibility but you would be losing the exact form (the serialised wire message isn't the same as the original wire message). If you really need to get a cloned wire message at your camel route, one option would be to write a CXF interceptor to capture the original message and pa

Re: How to

2014-07-11 Thread akoufoudakis
Try this route: It runs twice per day (1PM, 4PM) each day of the week. But, as Claus pointed out, just check a cron expression tutorial online. There should be plenty of them. Sure, there should be also "expression builders", which allow you to check if your expression is valid. The only diffe

Re: How to

2014-07-11 Thread Claus Ibsen
Hi Its using a cron syntax to define the times to run. Search the web for cron tutorials, as you can specfify that also, eg run at 1pm and 4pm etc. On Fri, Jul 11, 2014 at 8:50 AM, andreas.h...@de.opel.com wrote: > This route runs only once a day @ 1pm. > I want this route to to run several tim

How to

2014-07-11 Thread andreas.h...@de.opel.com
This route runs only once a day @ 1pm. I want this route to to run several times a day at specified times (1pm, 4pm,...) Since I cannot just duplicate the line to add a 4pm-execution, I am stuck. I am hoping I do not need to duplicate the RESP and the REQ routes to accomplish the interface to run