This content has been marked as final.
Show 2 replies
-
1. Re: Sending a JMS Message via Stomp to JSON client
gseben Aug 27, 2010 11:01 AM (in response to jandouwevonk)To me this seems to be more of a marshaling problem than something with AMQ. I have not used Json with OpenEdge but it works just fine with Camel:
http://camel.apache.org/json.html
Also if you post the json message we could take a look to see what is wrong with it.
-Gio
-
2. Re: Sending a JMS Message via Stomp to JSON client
jandouwevonk Aug 30, 2010 1:30 AM (in response to gseben)Hi,
I have found the problem in web/MessageServlet.java. When I receive the return response the Content-Type is fixed set to "text/xml".
Regardless if I put my own Context-Type as message property to "application/json" this is overruled by MessageServlet.java.
- Jan Douwe