John Wasmat [
https://community.jboss.org/people/johnwasmat] created the discussion
"Re: RESTEasy HttpProtocol Exception JBOSS AS 7."
To view the discussion, visit:
https://community.jboss.org/message/778398#778398
--------------------------------------------------------------
Hey Nicklas,
I followed the hornetq Rest configuration for Jboss AS 7. I have a blog that explained how
hornetq was now a part of JBoss AS 7. Here are the links
http://hornetq.blogspot.com/2011/06/hornetq-on-jboss-as7.html
http://hornetq.blogspot.com/2011/06/hornetq-on-jboss-as7.html
http://hornetq.blogspot.com/2009/10/understanding-connectors-acceptors.html
http://hornetq.blogspot.com/2009/10/understanding-connectors-acceptors.html
I also read the documentation on the JBoss website and understood that all I had to do was
copy the web.xml listed in the documentation and hornetq-rest.xml in deployments folder.
The Jboss documentation that I referred was
http://docs.jboss.org/resteasy/docs/3.0-beta-1/userguide/html/index.html
http://docs.jboss.org/resteasy/docs/3.0-beta-1/userguide/html/index.html
Also I`m trying to populate a message to teh hornetq queue listed in the standalone.xml
file. RestEasy is a jar that contains the Rest API needed to populate messages to hornetq
queue. I looked at the server output and that was the port all messages were redirected
to. If there is any other port I should be looking at please let me know. I dont think
JSON Object is a problem here because you can specify the content-type as application-xml
and have an xml string passed to the server.
I hope I answered all your questions. Thank you for helping me out here.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/778398#778398]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]