Re: temporarily suspend retry processing ?

2012-02-09 Thread Claus Ibsen
Hi There is a retryWhile you can use and implement logic to say true|false if a retry should be executed or not. http://camel.apache.org/exception-clause.html On Thu, Feb 9, 2012 at 1:51 AM, liteoid arunm...@yahoo.com wrote: I am using camel with JMS and using the Dead Letter Channel

Can not get a simple example to run

2012-02-09 Thread David Delbecq
Hello, i am trying to run a simple example where i generate a text message and try to store it in a file. Here is my spring config file (i tried both with this logger and with file:///D:/blabla ) camel:camelContext id=mycamel autoStartup=true camel:endpoint id=test

Re: Can not get a simple example to run

2012-02-09 Thread Claus Ibsen
Hi You dont need the pattern attribute at all. Camel will figure it out for you as its a logger so it only logs the message. On Thu, Feb 9, 2012 at 12:38 PM, David Delbecq de...@meteo.be wrote: Hello, i am trying to run a simple example where i generate a text message and try to store it in

Re: Can not get a simple example to run

2012-02-09 Thread David Delbecq
Hello again, yes, but springsource was autocompleting it with inonly so i guessed this was default value. I made a test with email endpoint and it worked. Seems my file location was incorrect and file was written in some unknown place i still have to find. And the logger never displayed

How to implement requestTimeout in the spring-ws component

2012-02-09 Thread atg roxx
Hi Team, I have a situation, I have to send a request to a soap based client using spring-ws component using InOut pattern. I have to wait for say 2 second and if I don't get any reply in that time frame. I should do some action. In JMS component of camel we have requestTimeout which I can

Re: Choich() with multiple Routing EIP

2012-02-09 Thread Hadrian Zbarcea
Christos, I replied to you on irc yesterday, but it looks like you didn't get it. It's a camel bug [1]. I have a fix I will commit today which will require you to use end() and it will work (right now it doesn't). See the explanation in CAMEL-4995 [1]. Hadrian [1]

Re: Choich() with multiple Routing EIP

2012-02-09 Thread Christos Vasilakis
Hi there, Hadrian I replied to you on irc yesterday, but it looks like you didn't get it. It's a camel bug [1] Yes it was late at night and decided to leave work... ;) Nice to hear that will be fixed. Thanks! Claus There is a a .endChoice() which may do the trick. yeap endChoice() did

Re: Problem with multiple CXF services using the same https port

2012-02-09 Thread snatera
Hello Dan! Thanks for taking your time to reply to me. In this link Fuse Source explains the way that I implemented: http://fusesource.com/docs/esb/4.3/cxf_security/HTTPCompatible.html#i488847 I was trying to use import resource=classpath:META-INF/cxf/cxf.xml / before, but I had this Exception:

Re: How to implement requestTimeout in the spring-ws component

2012-02-09 Thread Babak Vahdat
Hi, I haven't tried it by myself but I think the following should do the trick: Define your own dedicated WebServiceTemplate inside your spring Configuration which makes use of commons HttpClient [1] which on it's turn provides the possibility to specify a timeout (see [2] [3]) and then

Re: Problem with multiple CXF services using the same https port

2012-02-09 Thread Daniel Kulp
On Thursday, February 09, 2012 5:47:09 AM snatera wrote: Hello Dan! Thanks for taking your time to reply to me. In this link Fuse Source explains the way that I implemented: http://fusesource.com/docs/esb/4.3/cxf_security/HTTPCompatible.html#i488847 Nice of them to promote the use of

Problem with printing In.message.body

2012-02-09 Thread MichaelAtSAG
I create a new class that simply prints out the contents of the message. I am finding the println command is changing the contents of the body. As this code demonstrates, 1 STEP1 prints out the body as string. 2 STEP2 contains no output, the body is gone. Why is the body empty in STEP2? Is

camel and spring in a webapp

2012-02-09 Thread David Delbecq
Hello, i have a strange error when i start camel with spring in a webapp. Camel complains on startup that it doesn't find the converters :/ According to this issue https://issues.apache.org/jira/browse/CAMEL-4322 It's supposed to be resolve in camel 2.8 However i am using camel 2.9.0 and

Re: How to implement requestTimeout in the spring-ws component

2012-02-09 Thread Claus Ibsen
Hi If possible it would be nice to setup timeout options on the camel-spring-ws out of the box. Without having to resort to custom WS templates. We do this for camel-http, camel-http4 and other components. On Thu, Feb 9, 2012 at 3:38 PM, Babak Vahdat babak.vah...@swissonline.ch wrote: Hi, I

Re: How to implement requestTimeout in the spring-ws component

2012-02-09 Thread Babak Vahdat
Hi I already logged a ticket [1]. The only odd thing is that the Spring folks did only provide this option [1] in case of commons-httpclient but forgot to do the same as the same API was given by JDK 1.5 afterwards [3] so that we have to take care of it inside Camel itself

Re: Oracle AQ Topic dequeue options and Apache Camel

2012-02-09 Thread amique
Hi Was you able to solve this problem? I am experiencing same issue with Spring. Can you please help me to find out where I can specify the subscriber name. -- View this message in context: http://camel.465427.n5.nabble.com/Oracle-AQ-Topic-dequeue-options-and-Apache-Camel-tp1046084p5471004.html

Re: sending oracle XMLType message to activeMQ

2012-02-09 Thread tops
Here's the stacktrace: 2012-02-09 13:57:05,031 [DefaultMessageListenerContainer-1] WARN org.apache.camel.processor.UnitOfWorkProcessor - Caught unhandled exception while processing ExchangeId: ID-SA21-59175-1328813810722-0-1 java.lang.RuntimeException: oracle.jdbc.driver.T2CConnection

Re: camel and spring in a webapp

2012-02-09 Thread Willem.Jiang
Hi, Camel does not try to load the annotated Converter from package of 'org.apache.camel.converter' since Camel 2.8.0. Can you check if you wrap the other version of camel into your war ? -- View this message in context:

Re: Passing input stream to the route

2012-02-09 Thread Willem Jiang
I guess you just need to pass the lines into camel, you don't need to put the result into other stream. In this case you may consider to extends the StreamComponent and pass the csvDataStream into it. Then you don't need to use the producer template any more. On Thu Feb 9 20:41:49 2012,

Re: sending oracle XMLType message to activeMQ

2012-02-09 Thread Matt Pavlovich
The cause is showing that something isn't serializable. The XMLType object has a toString(), and a constructor that accepts a String to re-create the oracle.xdb.XMLType if you need it on the other end. Its also possible, that you have a header or other object in the exchange that is not

Re: Spring destroys camelTemplate before CamelContext

2012-02-09 Thread Claus Ibsen
On Thu, Feb 9, 2012 at 12:35 AM, muhammad siddique abubakar.saddi...@gmail.com wrote: I tried removing camelTemplate from spring configuration and creating camel Producer template from camel context in my POJO. Here is what i got 2012-02-08 17:26:01,144 DEBUG