Request/Reply pattern without jms?

2012-12-07 Thread santhosh
0 down vote favorite My requirement is to have a web service which will receive the request from clients and then route through camel,enrich it and forward it to another webservice at other clients place ,get response and send it back to the original requestor. from(webserviceURI) .in

apache Camel cxf proxy doesnt work with http endpoint

2012-12-07 Thread santhosh
My requirement is to have a proxy web service which will receive the request from clients and then route through camel,enrich it and forward it to real webservice at other clients place ,get response and send it back to the original requestor. i basically looked at camel-cxf-proxy example (http:/

Re: Connecting to MS Exchanger Service using CXF

2012-12-07 Thread Willem jiang
It's used to create the WS client proxy for you in the CXF internal. I think I can do some enhancement on the camel-cxf to support you setup the properties which could be use to setup the authentication policy without using spring. Here is the JIRA[1] for it, you can setup your own configurer to

Re: Making Camel based middle layer available even when services are not

2012-12-07 Thread Aki Yoshida
yes in that case, you need to deploy the url-classpath handler one. Since you have already the url-mvn handler already deployed, you can just invoke install mvn:org.ops4j.pax.url/pax-url-classpath/1.3.5 (I used version 1.3.5 as an example, but you can use the same version as your other pax's ve

Camel QuartzComponent failed on recreating endpoint

2012-12-07 Thread Hude
We're using the camel quartz component (camel version 2.9.0 and quartz in version 1.8.5) to trigger some jobs once a day. The routes are looking similar to this: from("quartz://aendHistNaechtlicherLauf?cron=0+0+23+*+*+?+*") .routeId(aendHistNaechtlicherLauf) .to("be

Re: Problem with getting messages via POP3

2012-12-07 Thread Caa_man
Does anybody use MailComponent for obtaining messages via POP3? Or... Does anybody test Camel-POP3 interaction with more than one message simultaneously? -- View this message in context: http://camel.465427.n5.nabble.com/Problem-with-getting-messages-via-POP3-tp5716652p5723761.html Sent from th

Re: Problem w. FTP producer and charset

2012-12-07 Thread Preben.Asmussen
I added a bit more to the testcase in the attached zip When running it now completes ok on 2.9.2. When I change the camel version in the pom to something newer like 2.9.3 . and upwards it will fail since the CamelCharsetName is not present. ftp-producer-bug.zip

Re: Request/Reply pattern without jms?

2012-12-07 Thread Claus Ibsen
Hi This questions has been posed first at StackOverFlow http://stackoverflow.com/questions/13758380/apache-camel-request-reply-without-activemq-jms On Fri, Dec 7, 2012 at 9:20 AM, santhosh wrote: > 0 down vote favorite > > > My requirement is to have a web service which will receive the reque

camel-quickfix RequestReplyExample java.io.IOException

2012-12-07 Thread lawkai
Hi, I am completely new to Camel, and while I am going through the example, I got this exception while running org.apache.camel.component.quickfixj.examples.RequestReplyExample Exception in thread "main" java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:9123/

JMS Request Reply not working with temporary queues in 2.8 ?

2012-12-07 Thread brking
I've been trying to get request reply working in 2.8 over JMS. I am confused as to the following behavior: - If I dont set a replyTo queue, requestBody() times out and I never get a response - If I set a replyTo queue, I get messages once per second. (I thought this was fixed in 2.8 ?), I can imp

Patch for CAMEL-4963

2012-12-07 Thread Matthew Aynalem
I've created a patch for CAMEL-4963 and attached to the JIRA ( https://issues.apache.org/jira/browse/CAMEL-4963) please review it at your convenience. Thanks. Matthew

Re: apache Camel cxf proxy doesnt work with http endpoint

2012-12-07 Thread Aki Yoshida
I suppose the call is failing because you are not setting some required properties (e.g., the http method) to fake the soap call. POST text/xml;charset="utf-8" regards, aki 2012/12/7 santhosh : > > My requirement is to have a proxy web service which wi

Re: Making Camel based middle layer available even when services are not

2012-12-07 Thread Christian Müller
In this case, option 2. And make sure Bundle A export this package. Best, Christian Sent from a mobile device Am 07.12.2012 07:49 schrieb "ucrkarthik" : > Yes that is correct. > > I am looking at the contents of the "Bundle A" jar file and it has the > following structure: > > BundleA.jar: > /ex

Re: apache Camel cxf proxy doesnt work with http endpoint

2012-12-07 Thread Willem jiang
You need to use the Stream cache [1] when you route the input stream across the route before you route the message to log endpoint. [1]http://camel.apache.org/stream-caching.html -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat

Re: Simple Expression With And Condition doesnt work in Camel 2.8

2012-12-07 Thread mail2bansi
Thanks Christian for quick response. I greatly appreciate it. The ${noun} or ${verb} are String variables and are set into Exchange as follows: MessageDispatchHeader messageDispatchHeader = xxxMessageEnvelope.getMessageDispatchHeader(); final String noun = messageDispatchHeader.getNoun();

Re: apache Camel cxf proxy doesnt work with http endpoint

2012-12-07 Thread santhosh
My mistake.I figured what the problem was.I was sending the message to wrong operation.I didnt notice the soap:action.So wrong data resulted in 500 error from the server.But thanks guys ,aki and williem for taking time to read such a long post.Much appreciated.I am starting to love the camel forum.

Re: I created a basic file-unzip camel component...

2012-12-07 Thread Hadrian Zbarcea
It does work with files, i.e. messages are the file content. There is also a camel-exec that is easy to use. Unfortunately I don't think your contribution would be a good addition to the camel distro. Thanks for using Camel though and we appreciate your contribution. Hadrian On 12/07/2012 01:4