Is there any example out there which shows how to use a HTTP connector?

I tried to start from the loan-broker example, and replace its JMS Connector with HTTP

It works (server gets message, sends reply), but the client doesn't see the reply (instead it gets an empty message). Could that be due to the abscence of xml payload?

Is there a way to convince the HTTP connector to put the properties into the reply document?

And, what is the expected format of the request?

(N.B. There is an example included which just forwards the contents of the HTTP document to another web server, making ServiceMix act as some kind of elaborate proxy. However, that's not really what I'm looking for: I'd like to see how to interface HTTP with components running within ServiceMix)

Thanks,

Alain

Reply via email to