Re: Fetching webpages with CXF on the producer endpoint side

2013-01-06 Thread Willem jiang
Hi, Because when the camel-cxfrs endpoint get the request it will try to turn the request invocation into to method call, so you can get the operation name from the message header and parameters array from the the message body. If you just want to access the google with a http get request, yo

Re: twitter component & sinceid parameter

2013-01-06 Thread Willem jiang
Hi, camel-twitter store the sinceId in memory, so if you restart the camel context, the id will be reset. I think we could add a new parameter on the sinceId to the twitter endpoint to resolve the issue. So I just fill a JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-5937 Will

Re: WebSphere MQ Reply

2013-01-06 Thread prueegg
Hi Claus I'm using 2.10.1. Since I saw, that there was a fix [ CAMEL-5464 ] in 2.10.3 dealing with jms replies I tried also with 2.10.3 with the same result. Today I will enable the debug log, to get more information about it. I'll post as soon

Camel route from testting

2013-01-06 Thread dhruv.sachdeva
Hi I need to write unit test cases for some camel routes using (Version 1.6) Can anyone please suggest if it is possible to mock components(processor and idempotentConsumer) inside the route? If yes, please suggest the approach. Below is the route snippet from("direct:someuri").proces

Re: Producing/consuming SOAP messages to/from POJOs using camel-cxf

2013-01-06 Thread helander
Willem, thanks for the clarification. Lars -- View this message in context: http://camel.465427.n5.nabble.com/Producing-consuming-SOAP-messages-to-from-POJOs-using-camel-cxf-tp5724949p5725028.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Producing/consuming SOAP messages to/from POJOs using camel-cxf

2013-01-06 Thread Willem jiang
If you want to send the message smartly, you can do the work like this form("direct:logical").to("cxf:bean:clientEndpoint"); from("direct:physical").to("……") You can specify the clientEndpoint Address to be "camel://direct:physical", then the second camel route can route the request dynamically

Re: Producing/consuming SOAP messages to/from POJOs using camel-cxf

2013-01-06 Thread helander
Do you mean something like this: from("cxf:bean:nameofendpointbean").to(.. What address do I put on the endpoint bean ? What adress do I specify in the cxf client ? Thanks Lars -- View this message in context: http://camel.465427.n5.nabble.com/Producing-consuming-SOAP-messages-to-f

Re: Issue with use of SSLFilter with a custom codec

2013-01-06 Thread James Gough
Thanks, Claus. I'll try to get something later this week. On 1/6/13 2:22 AM, Claus Ibsen wrote: Hi James Thanks for sharing your solution. Do you mind help us with updating the camel-mina docs with your use-case and solution? http://camel.apache.org/mina If so feel free to log a JIRA ticket

Re: Fetching webpages with CXF on the producer endpoint side

2013-01-06 Thread Sergey Beryozkin
Hi On 06/01/13 03:05, Martin Stiborský wrote: Hi again :) One more (last one hopefully) problem I've had is related to this: http://camel.465427.n5.nabble.com/Bridging-between-HTTP-endpoints-td476103.html Any plans/news to this? At least I can clean the headers, so it works…I'm just curious abou

Re: Producing/consuming SOAP messages to/from POJOs using camel-cxf

2013-01-06 Thread Willem jiang
CXF transport just handle the message as Stream, if you want to use POJO data format s the camel-cxf does. You can configure the cxfEndpoint to use the camel transport. Then you may need to define two camel route , one is for the logical view(marshaling and unmarshaling the SOAP message), the o

Re: Referencing constants in a (spring) route definition

2013-01-06 Thread Claus Ibsen
On Sun, Jan 6, 2013 at 4:04 PM, fab wrote: > Hi Clause, > > Thanks, that makes sense indeed. I was hoping there was another solution. > You could possible use a dynamic to as here http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html And then use SpEL as the expression language to refer to

Re: Referencing constants in a (spring) route definition

2013-01-06 Thread fab
Hi Clause, Thanks, that makes sense indeed. I was hoping there was another solution. Cheers, Fabio -- View this message in context: http://camel.465427.n5.nabble.com/Referencing-constants-in-a-spring-route-definition-tp5724830p5725008.html Sent from the Camel - Users mailing list archive a

Re: Producing/consuming SOAP messages to/from POJOs using camel-cxf

2013-01-06 Thread helander
Hi Willem, that helped a lot. I am now getting the request message to the route that receives the request from the cxf client. It is of type java.IO.InputStream, how do I make it into a structure where I can read the xml elements, i.e. similar to PAYLOAD format? Can I convert it back to POJO (not

Re: unmarshall csv problem with bindy

2013-01-06 Thread Claus Ibsen
Hi Yeah I think bindy has some issues with parsing data that has optional quotes. We recently fixed an issue and improved the quote parsing. But there was an incompatible change so it was only applied on trunk, eg Camel 2.11. I suggest if you got a bit of time, to try your code against Camel tru

Re: MailConverters fails with uppercase content type TEXT/PLAIN?

2013-01-06 Thread Claus Ibsen
Hi On Sat, Jan 5, 2013 at 8:24 AM, axelr wrote: > Hi, > > I am wondering why the MailComponent fails to extract the text body of a > simple (multipart) mail: > > TRACE [Camel - imaps://...] org.apache.camel.component.mail.MailBinding: > Part #0: ContentType: TEXT/PLAIN; charset=utf-8 > > INFO

Re: MailComponent's claim to handle special mail multipart formats and attachments?!

2013-01-06 Thread Claus Ibsen
Hi Yeah I think camel-mail should be fixed to deal with this scenario. There is a ton of weird edge cases with emails. Feel free to log a JIRA ticket. And as always we love contributions, so patches is welcome http://camel.apache.org/contributing.html On Thu, Jan 3, 2013 at 8:49 PM, axelr wrot

Re: Issue with use of SSLFilter with a custom codec

2013-01-06 Thread Claus Ibsen
Hi James Thanks for sharing your solution. Do you mind help us with updating the camel-mina docs with your use-case and solution? http://camel.apache.org/mina If so feel free to log a JIRA ticket and attach a .txt file with a little description of the use-case and the Camel route snippet. Then w