Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 033C211126 for ; Tue, 6 May 2014 14:19:57 +0000 (UTC) Received: (qmail 22237 invoked by uid 500); 6 May 2014 14:08:14 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 22212 invoked by uid 500); 6 May 2014 14:08:14 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Delivered-To: moderator for users@activemq.apache.org Received: (qmail 76083 invoked by uid 99); 6 May 2014 12:48:58 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=FORGED_YAHOO_RCVD,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Date: Tue, 6 May 2014 05:48:31 -0700 (PDT) From: sampan To: users@activemq.apache.org Message-ID: <1399380511418-4680921.post@n4.nabble.com> Subject: Sending Headers in Active MQ Ajax request MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am trying to build ActiveMQ Ajax client and have been able to reach a point where I can connect to the apache servicemix running on my machine. The problem is now that the apache camel route I want to call through this ajax client expects certain headers, but I am not sure if we can send headers in the ajax request for activemq. I see that in amq.js there is a function called sendJMSMessage which actually sends headers and is actually called by sendMessage function of amq.js. But when I am trying to call that method from my js I am getting method does not exists error. Could you please help me and direct me what should I do to send the headers. Many Thanks, Sampan -- View this message in context: http://activemq.2283324.n4.nabble.com/Sending-Headers-in-Active-MQ-Ajax-request-tp4680921.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.