From users-return-51398-archive-asf-public=cust-asf.ponee.io@activemq.apache.org Wed May 22 16:25:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 0D424180651 for ; Wed, 22 May 2019 18:25:02 +0200 (CEST) Received: (qmail 58412 invoked by uid 500); 22 May 2019 16:24:59 -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 45954 invoked by uid 99); 22 May 2019 15:03:34 -0000 X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.595 X-Spam-Level: ** X-Spam-Status: No, score=2.595 tagged_above=-999 required=6.31 tests=[JMQ_SPF_NEUTRAL=0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001, URI_HEX=1.313, URI_TRY_3LD=0.13] autolearn=disabled Date: Wed, 22 May 2019 10:03:22 -0500 (CDT) From: "leejackson7@cox.net" To: users@activemq.apache.org Message-ID: <1558537402792-0.post@n4.nabble.com> Subject: Needing header to trace lost messages MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit We have a consumer to pull messages off broker. The messages are sent to a JMS Gateway and then a broker. We have messages being lost. We have been asked by the JMS Gateway team to add a header in our consumer log in addition to the message. I have looked over the consumer code give by Apache CMS (https://github.com/fusesource/fusemq-c/blob/master/fusemqc-client/src/main/cpp/CMS_QueueBrowser.cpp), but I don't see any method to obtain the header. Can someone provide an example of how to get the header for a message in C programming code? -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html