Re: Verification (crypto:verify) does not remove CamelDigitalSignature header

2012-02-08 Thread dms79
Hi Hadrian, Perfect, thanks a lot for your fast answer and the fix! Looking forward to the new release. Regards, Dominik Original-Nachricht > Datum: Wed, 08 Feb 2012 22:50:41 -0500 > Von: Hadrian Zbarcea > An: users@camel.apache.org > Betreff: Re: Verification (crypto:verify)

Re: sending oracle XMLType message to activeMQ

2012-02-08 Thread Claus Ibsen
Well you reported a not serialized exception, so the Oracle XMLType is maybe not really serializable. And post the full stacktrace in the mail, that helps. On Wed, Feb 8, 2012 at 10:49 PM, tops wrote: > Hi Claus! > > Do you need to get String value of XMLType even regardless the fact that > XML

temporarily suspend retry processing ?

2012-02-08 Thread liteoid
I am using camel with JMS and using the Dead Letter Channel mechanism to handle retries Wondering if there is a way to temporarily suspend retries - use case is scheduled outages Was thinking of a timer based file poller to check for a flag that determines if a scheduled outage is in effect and

Re: Choich() with multiple Routing EIP

2012-02-08 Thread Claus Ibsen
There is a a .endChoice() which may do the trick. On Wed, Feb 8, 2012 at 6:33 PM, Christos Vasilakis wrote: > Hi there, > > first of all many thanks for your excellent work!. It really makes my life > easier! > > I am newcomer to camel so please bear with me ;) > > I have the following route: >

Re: Choich() with multiple Routing EIP

2012-02-08 Thread Willem Jiang
You can try to leverage the direct enpoint to break the big route into smaller ones. Here is an example from("xxx").choice() when(...).to("direct:simple").end(). when(...).to("direct:last").end(); from("direct:simple").to("xxx"); from("direct:last").to("xxx"); On Thu Feb 9 01:33:38 2012,

Re: Verification (crypto:verify) does not remove CamelDigitalSignature header

2012-02-08 Thread Hadrian Zbarcea
Actually the crypto endpoints do have a clearHeaders option that was not documents, but it didn't quite work either, both because the default value was 'false' and a bug in the code. I raised CAMEL-4996 [1] for that, fixed it and added a unit test. You will be able to use it after the next rel

Re: Dealing with a bean's return values

2012-02-08 Thread Bilgin Ibryam
yes, the result from the bean call is stored in the body of the exchange, UNLESS the method returns null. If the bean returns null the result is ignored (as in your case). May be it is better in your case, to return a value different than null to indicate error, or set a header on the exchange. B

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

2012-02-08 Thread Willem Jiang
As Dan suggested, CXF already does some hacking itself to setup a right class loader. You don't need to import lots of CXF related package in your bundle. On Thu Feb 9 03:25:38 2012, Daniel Kulp wrote: On Wednesday, February 08, 2012 11:10:35 AM snatera wrote: I could solve the last post, w

Re: Spring destroys camelTemplate before CamelContext

2012-02-08 Thread muhammad siddique
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 [org.apache.camel.processor.DefaultErrorHandler.debug(72)] - It looks like spring has no way to find that camel Context

Re: sending oracle XMLType message to activeMQ

2012-02-08 Thread tops
Hi Claus! Do you need to get String value of XMLType even regardless the fact that XMLType is serializable class? http://docs.oracle.com/cd/B28359_01/appdev.111/b28391/oracle/xdb/XMLType.html Or the reason is the camel implementation issue or so? -- View this message in context: http://camel

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

2012-02-08 Thread Daniel Kulp
On Wednesday, February 08, 2012 11:10:35 AM snatera wrote: > I could solve the last post, where I mention the Exception about 'cxf' > bean. > > In your beans.xml or camel-config.xml you have to put this source: > > Please do not do that. That's a surefire way to make sure you'll have

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

2012-02-08 Thread snatera
I could solve the last post, where I mention the Exception about 'cxf' bean. In your beans.xml or camel-config.xml you have to put this source: Then, go to pom.xml and put this dependendy and this import: Dependency: org.apache.camel camel-cxf

Verification (crypto:verify) does not remove CamelDigitalSignature header

2012-02-08 Thread dms79
Hello,   I'm using Camel 2.9.0 (Spring 3.0.6) with Java 1.6 on Tomcat 7. The following route successfully signs and verifies a message:     However, the CamelDigitalSignature header is not removed after successful verification. Header after signature and after verification are c

need help in invoking remote web service using camel

2012-02-08 Thread aggarwal
Hi, I am new to apache - camel framework. Is there a way to set up Camel to do something like this: invoking a remote web service (running on different server), for which i have only WSDL, corresponding XSDs, and endpoint (webservice is not running on my local machine). how can i hit a webservi

Re: ExceptionHandler in a ftp Route

2012-02-08 Thread Raul
Hi again babak, I have made my own Synchronization and I have added it at the begin of my Process. During the debug I could observe there were both Synchronizations: - MySynchronization - The Synchronization of GenericFileOnCompletion I am using in my ftp route the option "move=.done", but to

Choich() with multiple Routing EIP

2012-02-08 Thread Christos Vasilakis
Hi there, first of all many thanks for your excellent work!. It really makes my life easier! I am newcomer to camel so please bear with me ;) I have the following route: from("switchyard://ServiceRRDRoute").routeId("ServiceRRDRoute") .wireTap("jms:svc_rrd_audit?

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

2012-02-08 Thread snatera
Thank you for share this link. I have a Exception with this example, it's about Bus attribute in httpj:engine-factory element, the example defined it this way httpj:engine-factory bus="cxf", but when I install this bundle in fuse-esb-servicemix I have this exception: -- Error creating bean with

Re: Bindy CSV parser uses default encoding

2012-02-08 Thread Thomas Letsch
Hi Willem, that was fast! Thanks! R., Thomas -- View this message in context: http://camel.465427.n5.nabble.com/Bindy-CSV-parser-uses-default-encoding-tp5456136p5466948.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Spring destroys camelTemplate before CamelContext

2012-02-08 Thread muhammad siddique
Thanks for reply I already tried depends-on, it didn't work. Spring is closing camelContext before the destruction of any other bean..but after destroying camelTemplate. I probably need a need a way to tell spring that camelTemplate depends on camelContet. And yes i am explicitly defining camelTem

RE: Dealing with a bean's return values

2012-02-08 Thread Gershaw, Geoffrey
Hi Bilgin, Thanks very much. That is exactly what I am looking for. I couldn't figure out where the result of the method call was located. Is the return value of this bean set as the body on the input msg of the Exhange? I am assuming yes from your solution. Thanks again, Geoff

Re: Atom component logs warn message

2012-02-08 Thread Babak Vahdat
Hi, you appear to have defined a String ==> Date Converter using the @Converter annotation: com.emc.srm.thirdparty.camel.component.atom.AtomConverter.toDate(java.lang.String) On the other hand as you make use of the camel-atom component (it's on the classpath) Camel detects an equivalent one by:

Atom component logs warn message

2012-02-08 Thread janz
I'm using the camel atom component. During the initial startup of my application I always see this WARN message in logs DefaultTypeConverter WARN Thread-0 Overriding type converter from: StaticMethodTypeConverter: public static java.util.Date com.emc.srm.thirdparty.camel.component.atom.AtomConve

Re: sending oracle XMLType message to activeMQ

2012-02-08 Thread Claus Ibsen
Hi You need to convert the oracle XMLType into a neutral type, such as java.lang.String etc. To be abel to send it to a non Oracle broker such as AMQ. On Wed, Feb 8, 2012 at 11:24 AM, anshuman.mishra wrote: > Hi, > > I am trying to send oracle XMLType message after dequeueing from oracle to >

invoking External WSDL

2012-02-08 Thread aggarwal
Hi, I am new to integration/camel framework. can anyone tell me the steps to invoke external 3rd party WSDl using camel. a small example will be of great help. Thanks Rishi -- View this message in context: http://camel.465427.n5.nabble.com/invoking-External-WSDL-tp5466142p5466142.html Sent fro

sending oracle XMLType message to activeMQ

2012-02-08 Thread anshuman.mishra
Hi, I am trying to send oracle XMLType message after dequeueing from oracle to activeMQ queue but getting java.io.NotSerilizable exception. I am using ProducerTemplate.getBodyAndHeader method to send the message. Anyone knows a way to achieve this. thanks, Anshuman -- View this message in

Re: Spring destroys camelTemplate before CamelContext

2012-02-08 Thread Claus Ibsen
Hi You can possible use depends-on or something to declare the spring batch depends on And did you define a bean as camelTemplate or did you not declare the camel template explicit? On Tue, Feb 7, 2012 at 9:27 PM, muhammad siddique wrote: > I am running camel 2.9 inside spring batch. It worke

Re: Custom Jackson ObjectMapper

2012-02-08 Thread Claus Ibsen
Hi I have logged a ticket https://issues.apache.org/jira/browse/CAMEL-4992 On Wed, Feb 1, 2012 at 6:11 PM, Tim wrote: > I'm running into a similar situation when trying to enable Jackson > SmileFactory. > This requires you to create an ObjectMapper with a SmileFactory as the > argument to it's

Re: thread error with java.lang.Thread.State: TIMED_WAITING from jconsole

2012-02-08 Thread Babak Vahdat
Hi maybe the reported bugs below could be also of your interest: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539288 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523368 Babak -- View this message in context: http://camel.465427.n5.nabble.com/thread-error-with-java-lang-Thread-State-TIM