Environment
-----------------------
VM version > 1.5.0_08-b03
ActiveMQ version > 4.1.0
Stomp.Php > Revision 66
Stomp Message
---------------------------
$c = new StompConnection("localhost", "63210");
$result = $c->connect();
// send message
$msg = "Hello World";
$p29Headers = array();
$p29Headers["correlation-id"] = "foo-1-test-235";
$p29Headers["persistent"] = "true";
$p29Headers["expires"] = "600000";
$c->send("/queue/FOO.TEST", $msg);
$c->disconnect();
Message Header in Queue
---------------------------------------
JMSCorrelationID = null
JMSDeliveryMode = NON-PERSISTENT
JMSExpiration = 0
The broker is completely ignoring all the header values in the stomp
messsage. Although persistence by default is meant to be true and also
set to true for good measure in the stomp header, the broker assigns a
non-persistent value for the message.
Expiration is set to 600,000 milliseconds in the stomp header and the broker
assigns a zero value to message.
Any ideas what we are doing wrong?
--
View this message in context:
http://www.nabble.com/BROKER-ASSIGNS-INCORRECT-VALUES-TO-MESSAGE-tf3527279s2354.html#a9842168
Sent from the ActiveMQ - User mailing list archive at Nabble.com.