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

2012-09-25 Thread Steve.V.
I realized that not only did my test pgm have an extra post increment of a loop variable, but it was setting a string property named correlationId as well as setting the correlation ID header field. Specifically: message.setStringProperty( "correlationId", correlId ); message.setJMSCorrelati

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

2012-09-24 Thread Steve.V.
I believe the JMSCorrelationID is a message header field, not a message property. While I see the following code excerpt from MessageServlet.java spins through the message properties and adds HTTP response headers, I don't believe that includes the JMSCorrelationID. - protected void setResp

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

2012-09-24 Thread Steve.V.
I downloaded the apache-activemq-5.7-20120922.031357-5-bin.zip file, extracted it, invoked bin\activmq, but I still don't see that it is fixed. Maybe I am doing something wrong. Did you try the java test pgm I attacted to the jira? Does it work for you? I still do not see a correlation header i

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

2012-09-24 Thread Steve.V.
I created "https://issues.apache.org/jira/browse/AMQ-4072";. It would be great if a fix can make it in 5.7. If there is a circumvention, please let me know. Thanks in advance. - Stephen Vincent -- View this message in context: http://activemq.2283324.n4.nabble.com/No-correlation-ID-in-HT

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

2012-09-24 Thread Steve.V.
I modified the test program I included in my last post, so that it prints the headers. I believe this test illustrates that the correlation ID is not coming back in an HTTP header. When I run the test below, here is an example of what it prints: Set-Cookie: JSESSIONID=b27ojdk

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

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

2012-09-13 Thread Dejan Bosanac
Hi, it'd be the best if you could create a test case that reproduces what you see https://fisheye6.atlassian.com/browse/activemq/trunk/activemq-web-demo/src/test/java/org/apache/activemq/web/RestTest.java?hb=true and raise a Jira. Regards -- Dejan Bosanac Senior Software Engineer | FuseSource

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

2012-09-12 Thread Steve.V.
I have also tried it with a snap-shot of 5.7, but I still do not see a correlation ID header. Is there some configuration I need? Thanks, sv - Stephen Vincent -- View this message in context: http://activemq.2283324.n4.nabble.com/No-correlation-ID-in-HTTP-header-when-using-RESTful-interfa

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

2012-09-11 Thread Stephen Vincent
I am using version 5.6.0. Here is an excerpt from the debug messages my HTTP client code reports regarding the GET request: DEBUG >>> GET /demo/message/myqueue?type=queue&consumer.prefetchSize=1&clientId=0F371438-8939-4D0D-A 279-35CB9EE77FE0&readTimeout=1000 HTTP/1.1 DEBUG >>> Host: d22

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

2012-09-11 Thread Dejan Bosanac
Hi, JMSCorrelationID should be set as a response header. What version are you using? Regards -- Dejan Bosanac Senior Software Engineer | FuseSource Corp. dej...@fusesource.com | fusesource.com skype: dejan.bosanac | twitter: @dejanb blog: http://www.nighttale.net ActiveMQ in Action: http://www.m