camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wayne Keenan <>
Subject passing the HTTPServletRequest from Jetty to a SEDA consumer in Spring DSL
Date Wed, 20 Jan 2010 09:02:16 GMT

I have a Jetty endpoint that when recieving a message will perform the
processing asynchronously and syncronously return a correlationId so the
client can come back later to another endpoint to see how processsing is

I found an example on the mailing list of how to pass the HttpSession object
using Java, but I can't seem to find out how
to reference or pass the HttpRequest using SpringDSL.  What I have at the
moment is:

            <from uri="jetty:"/>
            <inOnly uri="seda:sendASync"/>

            <from uri="seda:sendASync"/>
            <to uri="bean:myBean"/>

Is there a way to say 'pass the HTTP stuff through please Mr SEDA'?
Should I really be setting a header property to that of a HTTP Object?  How
do I obtain it?
Should I architect this differently?

All the best,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message