Re: Connection Error to Apache

2012-09-23 Thread maximus
Hi, I'm able to create a connection now but im unable to create the consumer. I get a ConnectionClosedException in "IMessageConsumer consumer = session.CreateConsumer(destination)" Attaching the stack trace for reference Apache.NMS.Stomp.dll!Apache.NMS.Stomp.Session.Close() Line 278 C

Re: No correlation ID in HTTP header when using RESTful interface

2012-09-23 Thread Steve.V.
Maybe I am missing something, but the test mentioned seems to get and compare the body of the message with the correlation ID string that was also sent as the body/content of the message. In other words, I believe that test receives the correlation ID by way of the body because that is the content

NullPointerException in rest MessageServlet when new message arrives

2012-09-23 Thread JacobS
I am trying to add rest support to my activemq-5.6 based server. I added the MessageServlet and started a http get request to a topic, but when the message is sent I receive this exception: java.lang.NullPointerException: null at org.apache.catalina.connector.Request.setAttribute(Request.