Re: Mail component with starttls

2011-03-08 Thread Claus Ibsen
On Tue, Mar 8, 2011 at 6:05 PM, Alfred Hiebl wrote: > Hi, > > created a ticket (CAMEL-3769) and attached a suggestion for a bug fix. I > also made a second change to fix the debugMode setting, which did not work > either (see ticket) > Thanks for reporting and the suggested fix. Just to confirm.

Re: Basic HTTP Authentication headers missing using HTTP component

2011-03-08 Thread Claus Ibsen
Hi Check unit tests in camel-jetty, such as https://svn.apache.org/repos/asf/camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpBasicAuthTest.java On Wed, Mar 9, 2011 at 7:24 AM, nw31304 wrote: > Yep, thanks.  That's what I'm having to resort to (hopefully temp

Re: Basic HTTP Authentication headers missing using HTTP component

2011-03-08 Thread nw31304
Yep, thanks. That's what I'm having to resort to (hopefully temporarily). Still It seems as though I ought to be able to specify the auth stuff on the URI, as the doc states is possible. That would be absolutely necessary if for example, a route feeds the HTTP component directly (without a Java

Re: how can I hand the webservice error when starting the camel

2011-03-08 Thread Bill
Hi, It does not matter with the error hander. It is a Context initialization failed error: org.apache.camel.FailedToCreateProducerException: Failed to create Producer for endpoint: Endpoint[cxf://bean:serverEndpoint?dataFormat=MESSAGE]. Reason: org.apache.cxf.service.factory.ServiceConstructionEx

IdempotentConsumer filtered messages

2011-03-08 Thread M.Ismail
Hi, I am using camel 2.5.0 and I want to handle/process the messages that were filtered due to the idempotent consumer. An empty response is returned to the caller and I want to customize the response. Here is my route: from("cxf:bean:secureCxfEndPoint") .idempotentConsumer(simple("${body

Using protobufs within Camel

2011-03-08 Thread lone squirrely
Hey, I am aware that there some peculiarity in dealing with protobufs and camel, I was wondering if you could help me figure out how I can interface with an already working system? They define a route that goes like this:

Basic HTTP Authentication headers missing using HTTP component

2011-03-08 Thread nw31304
I am having an incredibly difficult time convincing the HTTP endpoint (Camel version 2.6) to add basic authentication headers to a simple POST request. Here's a very simple route: from("direct:routes"). to("http://localhost/whatever?authMethod=Basic&authUsername=me&authPasswor

Re: catch Exception thrown by ScheduledPollConsumer

2011-03-08 Thread Martin Samuelsson
Hi again, I overlooked your additional reply. Thank you for the pointer, we will look into it! We are still in the learning stages when it comes to working with Camel "the right way". Great news about the upcoming feature as well... Regards, Martin On Fri, Mar 4, 2011 at 5:26 PM, Claus Ibsen

Re: Generic file -> CXF Payload type converter issues

2011-03-08 Thread Aki Yoshida
Hi Willem, I just saw you already patched the current 2.7-SNAPSHOT to fix this problem. I just tried it and now it's working fine. I hope Scott's scenario is also working fine with this version. Thanks. regards, aki

Re: Mail component with starttls

2011-03-08 Thread Alfred Hiebl
Hi, created a ticket (CAMEL-3769) and attached a suggestion for a bug fix. I also made a second change to fix the debugMode setting, which did not work either (see ticket) Thanks, Alfred -- View this message in context: http://camel.465427.n5.nabble.com/Mail-component-with-starttls-tp3409505p3

Re: [EIP] Can you please help me choose a correct design pattern ?

2011-03-08 Thread Maxence Button
Hi James ! Thanks for spending time in helping me out ! Okay, about the completion predicate, is that a custom Predicate I have to code or is it a built-in function ? Anyway, I guess that solves one of my problem When you say there's no concurrency in my system, that's not exactly true. I may ha

Re: how can I hand the webservice error when starting the camel

2011-03-08 Thread Tarun Ramakrishna
Hi, Wouldn't setting and customizing an error handler on the route that delivers to the CXF endpoint do this for you ? Best Regards, Tarun On Tue, Mar 8, 2011 at 3:08 PM, Bill wrote: > Hi, > My camel contains some routes, and one route to a cxf endpoint. > If the cxf endpoint is not start whe

Re: File Zip compression route

2011-03-08 Thread davsclaus
Hi I dont think that's possible like that. You would need to use the Zip API in Java http://www.java-tips.org/java-se-tips/java.util.zip/how-to-write-zip-file.html However maybe we can add support for that in the file component. Fell free to create a JIRA ticket. Link from here: http://camel.apa

Re: [EIP] Can you please help me choose a correct design pattern ?

2011-03-08 Thread James Strachan
On 8 March 2011 09:59, Maxence Button wrote: > Hi Claus ! > > Thank you for welcoming me in the Camel community. I'm honored that you > replied to my question . > > Yet, I'm afraid it's not that simple : as I wrote it earlier, I played with > the Aggregator and I guess it's almost what I'm looking

Re: [EIP] Can you please help me choose a correct design pattern ?

2011-03-08 Thread Maxence Button
Hi Claus ! Thank you for welcoming me in the Camel community. I'm honored that you replied to my question . Yet, I'm afraid it's not that simple : as I wrote it earlier, I played with the Aggregator and I guess it's almost what I'm looking for. I came to that pattern thanks to your book and the o

Re: InOut exchanges require synchronized clocks?

2011-03-08 Thread Claus Ibsen
On Mon, Mar 7, 2011 at 7:30 PM, bryan wrote: > Thanks Claus, that link proved very useful. The only part of this that is > Camel specific is that Camel sets the message expiration for InOut exchanges > based on the request timeout. It would be nice if these two were not tied > together. For instan

how can I hand the webservice error when starting the camel

2011-03-08 Thread Bill
Hi, My camel contains some routes, and one route to a cxf endpoint. If the cxf endpoint is not start when the camel begin starting , the server throws error and the camelcontext do not work at all. what I want it's to start this camelcontext and just log the error message. How to hand it? Thanks.

Re: some confused with In and Out Message

2011-03-08 Thread Bill
Oh,Thank you. I got it, should copy headers and attachment as well. -- View this message in context: http://camel.465427.n5.nabble.com/some-confused-with-In-and-Out-Message-tp3413474p3413709.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JPA 2 Support

2011-03-08 Thread paulf
Many Thanks for your help Paul F -- View this message in context: http://camel.465427.n5.nabble.com/JPA-2-Support-tp3404931p3413703.html Sent from the Camel - Users mailing list archive at Nabble.com.