On Sep 9, 2009, at 5:36 PM, Christian Schneider wrote:

I think you could take a look at Apache Camel. If you simply want to send the soap message to jms you would set up a camel route like this:

from("http://localhost:9000/MyServicePort";).to("jms://myQeueName")

Between the two you could insert some processing.

In this case, it's more like:

POST /api/sendfooRequest (JSON body) -> CXF (which validates, and turns it into a POJO) -> ActiveMQ -> some other bean to process

I'd rather not have Camel manage the actual front-end response; I'd rather have Camel process that after it's passed into the next phase.

If you only need a transparent bridge from http to jms you could take a look at a project I did:
http://www.liquid-reality.de:8080/display/liquid/HTTP2JMSBridge

Good idea, but I still want CXF to do the processing before it gets to JMS.

--sgp

Reply via email to