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 DA0DB17D0A for ; Sat, 4 Apr 2015 23:10:42 +0000 (UTC) Received: (qmail 25892 invoked by uid 500); 4 Apr 2015 23:10:42 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 25853 invoked by uid 500); 4 Apr 2015 23:10:42 -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 Received: (qmail 25841 invoked by uid 99); 4 Apr 2015 23:10:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Apr 2015 23:10:42 +0000 X-ASF-Spam-Status: No, hits=3.1 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_IMAGE_ONLY_16,HTML_MESSAGE,HTML_SHORT_LINK_IMG_3,RCVD_IN_DNSWL_LOW,SPF_PASS,T_REMOTE_IMAGE X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of burtonator2011@gmail.com designates 209.85.214.174 as permitted sender) Received: from [209.85.214.174] (HELO mail-ob0-f174.google.com) (209.85.214.174) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Apr 2015 23:10:17 +0000 Received: by obbec2 with SMTP id ec2so1620408obb.3 for ; Sat, 04 Apr 2015 16:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=AET9mxeo/h7mGVBv3LRuz/ug6fFDTuj314dQB9I9D3s=; b=mqKUkR4RRQwuM5Sxf/21IYstVPWPz8vwqnkL4cgFwrU/avhCQ2CtJz/Dz1c3igct0k a6yi85468mpK+odT28oeNe1ntqt0MvztXsHm3yxGYz/b1L4TDlfB7chtiY9fgDvrm2Yf QB0IRfxgDvXSBrkoPdXB7IIPJthuI/XVtThCgppC5L4NCAgoEAWtJDph2W1CgkNqc8/G znsSGTEA6YJpLjHFHuLU+KcH1q+PPU5RWcnMGQvieSjQYEF1vfiVUonHH7GswC3n9Er1 9mn4irog0XRPk9J8zYWDJN/TwCfuHDBANnbeIbgcQl3TXPz0xO28a4nX2P9dfovyPJVE bq9g== X-Received: by 10.60.65.101 with SMTP id w5mr10357990oes.38.1428189015458; Sat, 04 Apr 2015 16:10:15 -0700 (PDT) MIME-Version: 1.0 Sender: burtonator2011@gmail.com Received: by 10.183.6.227 with HTTP; Sat, 4 Apr 2015 16:09:55 -0700 (PDT) From: Kevin Burton Date: Sat, 4 Apr 2015 16:09:55 -0700 X-Google-Sender-Auth: asb-cNqJ9LHmosZ0cHnCAE3XMeg Message-ID: Subject: JMS message ID set based on sequence and overwrites the client specified JMS message id? To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=001a11c1d19cf048950512ee2aec X-Virus-Checked: Checked by ClamAV on apache.org --001a11c1d19cf048950512ee2aec Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I=E2=80=99m trying to generate unique message IDs so that I can idempotentl= y produce messages from our =E2=80=98loader=E2=80=99 so that items don=E2=80= =99t get processed more than once. The JMS Message ID should do that .. but it looks like when I call producer.send() it=E2=80=99s ALWAYs overwritten by a custom message ID: In ActiveMQSession.send it just overwrites it: msg.setMessageId(new MessageId(producer.getProducerInfo().getProducerId(), sequenceNumber)); =E2=80=A6 so no matter WHAT I want to send , it=E2=80=99s just overwritten. I=E2=80=99m really hoping I=E2=80=99m doing something or that this is just = a bug because it would be a shame to lose this feature. --=20 Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com =E2=80=A6 or check out my Google+ profile --001a11c1d19cf048950512ee2aec--