Re: REST Content-Type

2012-03-30 Thread unficyp
anyone ? thx -- View this message in context: http://activemq.2283324.n4.nabble.com/REST-Content-Type-tp4506805p4518956.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

REST Content-Type

2012-03-26 Thread unficyp
Hi, i've a java process with an embedded jetty server / activemq broker using the messageservlet (REST). is it possbile to set the content-type of the rest response to something other than xml, eg. text/plain or application/json ? thx gw -- View this message in context: http://activemq.2283324.n

Logging in embedded broker

2012-03-20 Thread unficyp
Hi, how can i set the logging level to debug in an embedded broker without any XML files ? thx gw -- View this message in context: http://activemq.2283324.n4.nabble.com/Logging-in-embedded-broker-tp4490456p4490456.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Embedded Broker / AJAXServlet / Jetty

2012-03-20 Thread unficyp
Hi, so i changed a few things. - my java code sends to the standalone broker. i can see the messages in the /admin page and in my java test code. - i copied my js test html to the /demo dir so that i can access it using the jetty in standalone broker. - i see the messages arricing in the ajax code

Re: Embedded Broker / AJAXServlet / Jetty

2012-03-20 Thread unficyp
I'm currently not at home so i can't try my code. I tried the portfolio example coming with the websamples. portfolio.html first connects to the url http://127.0.0.1:8161/demo/amq if i point the browser to the same url and start the portfolio publisher, i get a response back, not only the empty S

Re: Embedded Broker / AJAXServlet / Jetty

2012-03-20 Thread unficyp
Hi, thanks for the answer, just for my understanding: It's not possible to connect with a browser to the servlet on http://127.0.0.1:8080/amq and get a response when a message enters the topic ? regards, gw -- View this message in context: http://activemq.2283324.n4.nabble.com/Embedded-Broker-

Embedded Broker / AJAXServlet / Jetty

2012-03-19 Thread unficyp
Hi all, i'm using activemq 5.4.3 together with Jetty 8.1.2. I built a java program using an embedded broker in a thread. The thread creates a topic, reads messages from ZeroMQ and sends them to the topic. In the program, i enabled a jetty embedded server using the AJAXServlet in a ServletContextHa