The plan was to use embedded Jetty as a file server. It did not support
all this, so I have contributed appropriate servlet filter to add needed
functionality. It will be in the next release of Jetty.
I wonder if the changes managed to get into 6.1.2rc2. Or at least make
it by 6.1.2rc3.
They are already in 6.1.2rc2.
The assembly module now embeds a Jetty server with /admin and /demo
web apps. So it'll be easy to write a little web app for file handling
(maybe /file ?) and add to the assembly.
I have done it, I'll post the webapp to JIRA AMQ-1075 after more
thorough testing.
So we should probably start a maven module like activemq-web-file
(can't think of a better name :) which can include the web.xml and any
filters/servlets required for the uploading etc. We could then in the
test case, boot up jetty hosting the web.xml and use that as the
server to test out the upload strategy?
Sounds like a plan. :)