I found the problem ... In the HornetQ request is the Host header field missing, and so the request will be rejected by the web server.
Is there a way to add this header field to the request with the core API?
sorry for the late reply. No there is no way of adding this at present, however you can raise a jira if you like. However i will say that the http protocol only sends http packets to a standalone server and is does not follow the http protocol. If you want to use it over a proxy or thru strict firewalls etc i would recommend using the netty servlet transport.
Thanks for your reply. I think it would be a nice feature when we could use proxies with as little effort. I have created a issue: https://issues.jboss.org/browse/HORNETQ-1158
I hope its that is okay for you.