RE: Generic file -> CXF Payload type converter issues

2011-03-06 Thread Scott Came
Thanks, Willem. I thought I had tried setting the operation on the endpoint but still had a problem...I'll try it again to see if I can get it working. I looked at the test code you submitted, and see how to set the operation there (via a header). All of the examples at [1] set the header valu

Re: [PROBLEM] GenericFileOperationFailedException: Cannot rename file

2011-03-06 Thread Willem.Jiang
What kind of exception that you service throw? It looks like the File can't be renamed if camel is still using that file. Please subscribe the users@camel.apache.org before you start a new thread in nabble. Willem -- View this message in context: http://camel.465427.n5.nabble.com/PROBLEM-Generi

Re: Mail component parse mailbox file Spring example?

2011-03-06 Thread Willem.Jiang
Hi Bill, I'm not sure what's your mailbox files like. If you can turn the mailbox file into camel-mail URI, I think you will have no trouble to use camel to do the work. Willem -- View this message in context: http://camel.465427.n5.nabble.com/Mail-component-parse-mailbox-file-Spring-example-tp

Re: InOut exchanges require synchronized clocks?

2011-03-06 Thread Claus Ibsen
Hi Its not really Camel specific. Clocks should be synchronized between servers when using JMS messaging. See for example: http://activemq.apache.org/timestampplugin.html Also check out the AMQ mailing list for debates about syncing clocks. On Mon, Mar 7, 2011 at 2:34 AM, bryan wrote: > It s

Re: InOut exchanges require synchronized clocks?

2011-03-06 Thread Willem.Jiang
Hi Bryan, It looks more like a ActiveMQ issue than Camel. Can you send this mail to the us...@activemq.apache.org ? Willem -- View this message in context: http://camel.465427.n5.nabble.com/InOut-exchanges-require-synchronized-clocks-tp3411881p3411964.html Sent from the Camel - Users mailing l

Re: cxf with multiple methods in the interface

2011-03-06 Thread Willem.Jiang
Hi , You need to do the content base routing according to the operation name. Here is an example[1] for you. [1] https://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfConsumerTest.java Gabor Dolla wrote: > > sorry but half of my mes

Re: Generic file -> CXF Payload type converter issues

2011-03-06 Thread Willem Jiang
Hi Scott, I just create a simple test to reproduce the error and found you need to specify a right operation in you cxf endpoint to make sure the elements of the PayLoad Message can be set rightly into the CXF request message. So I create a JIRA[1] and commit a quick fix[2] for it. [1]https:/

Re: Generic file -> CXF Payload type converter issues

2011-03-06 Thread Willem Jiang
On 3/5/11 9:41 AM, Scott Came wrote: Oddly enough, I discovered that not only was the GenericFile -> CxfPayload converter called, but it is also wanting to convert from CxfPayload -> String. I can't imagine why this is the case. I do have another OSGi bundle, with a camel route, deployed in th

InOut exchanges require synchronized clocks?

2011-03-06 Thread bryan
It seems Camel, when creating JMS (ActiveMQ) InOut exchanges from a client, sets the expiration time on the message as local time + request timeout. The server then uses its own local time to determine if the message is expired. If the client and server do not have clocks that are in sync, the mess

Re: Mail component with starttls

2011-03-06 Thread Alfred Hiebl
Hi Claus, sorry, I did not realize that. It droped the part with the route definition. Maybe some special character. But the route definition itself is not so important. The problem occurs when I read from a pop3 endpoint and send to an smtp endpoint in the same camel context with the mail.pop3.

Re: Mail component with starttls

2011-03-06 Thread Claus Ibsen
Hi You are using Nabble right? If so it has problem sending the full content to the apache mailinglist. You should consider signing up for the mailinlist and post directly. That work flawless. On Fri, Mar 4, 2011 at 2:57 PM, Alfred Hiebl wrote: > Hi, > > I am using the following two routes to

Re: Netty for TCP communication

2011-03-06 Thread Claus Ibsen
Hi You need to develop a custom encoder and decoded to your custom codec. And then configure this on the Camel netty endpoint. For example And in Camel route And check JBoss Netty documentation for how to write custom codecs http://www.jboss.org/netty/documentation.html On Fri, Mar 4, 20