Hi I'm trying to upload file to activemq queue, but it always failed
-- Send.php -- <?php require_once('Lib/stomp/stomp.php'); require_once('Lib/stomp/JSON.php'); $con = new StompConnection("tcp://localhost:61613"); $con->connect(); $data = file_get_contents($_FILES['file_to_upload']['tmp_name'],false,NULL,0,fileSize($_FILES['file_to_upload']['tmp_name'])); $msgHeader = array (); echo "SENDING Message : MD5 ".md5($data); $con->send("/queue/Q1", $data, $msgHeader); $con->disconnect(); ?> did i do something wrong ?? the message is success when i'm trying to send it, but the body is not filled with the blob type, sometime only the metadata that show up. -- -- Best Regards Suprie ID : http://suprie1983.wordpress.com EN : http://suprie.in.ruangkopi.com "Great deed of great man is to forgive and forget"